1 2019-08-15 Christian Biesinger <cbiesinger@google.com>
3 * gdb.python/python.exp: Expect a leading underscore on
6 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
8 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
11 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
13 * gdb.base/batch-preserve-term-settings.exp
14 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
16 2019-08-15 Christian Biesinger <cbiesinger@google.com>
18 * lib/gdb.exp: When running on a mingw target, replace
21 2019-08-14 Alan Hayward <alan.hayward@arm.com>
23 * gdb.arch/aarch64-prologue.c: New test.
24 * gdb.arch/aarch64-prologue.exp: New file.
26 2019-08-13 Tom de Vries <tdevries@suse.de>
28 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
31 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
33 * gdb.python/py-completion.exp: Download the .py file to the host
34 and use its host pathname. Conditionalize tests that use
35 tab completion and manipulate files on the build machine.
36 * gdb.python/py-events.exp: Download the .py file to the host
37 and use its host pathname.
38 * gdb.python/py-evsignal.exp: Likewise.
39 * gdb.python/py-evthreads.exp: Likewise.
40 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
42 * gdb.python/py-framefilter.exp: Download the .py file to the right
43 place on the host. Match Windows pathname syntax.
44 * gdb.python/py-mi-var-info-path-expression.exp: Download the
45 .py file to the host and use its host pathname.
46 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
47 * gdb.python/py-objfile.exp: Expect a host pathname, not a
48 build pathname. Skip symlink test on Windows host. Add missing
49 newline at end of file.
50 * gdb.python/py-pp-maint.exp: Download the .py file to the host
51 and use its host pathname.
52 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
53 * gdb.python/py-section-script.exp: Use host location of binfile
54 on safe-path. Use correct path separator on Windows host.
55 Reorder alternatives in gdb_test_multiple to prevent matching
56 the wrong alternative on success.
57 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
59 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
61 * gdb.gdb/selftest.exp (test_with_self): Update test to now
62 expect the GDB inferior to no longer immediately stop after
63 being resumed with "signal SIGINT".
65 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
67 * gdb.linespec/break-ask.exp: Generalize regexps to match
68 Windows pathnames too.
70 2019-08-08 Tom de Vries <tdevries@suse.de>
73 * lib/tuiterm.exp (_accept): Fix CSI regexp.
75 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
77 * gdb.base/style.exp: Update tests for help doc new invariants.
78 * gdb.base/help.exp: Likewise.
80 2019-08-06 Tom Tromey <tom@tromey.com>
82 * gdb.base/style.exp: Add disassemble test.
83 * gdb.base/style.c (some_called_function): New function.
86 2019-08-05 Christian Biesinger <cbiesinger@google.com>
88 * gdb.python/py-block.exp: Test dictionary access on blocks.
90 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
93 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
94 -list-thread-groups --available test when running under
97 2019-08-05 Tom de Vries <tdevries@suse.de>
100 * lib/gdb.exp (with_read1_timeout_factor): New proc.
101 * gdb.base/help.exp: Use with_read1_timeout_factor.
102 * gdb.base/info-macros.exp: Same.
103 * gdb.cp/nested-types.exp: Same.
105 2019-08-05 Tom de Vries <tdevries@suse.de>
107 * lib/gdb.exp (version_at_least): Factor out of ...
108 (tcl_version_at_least): ... here.
109 (gdb_compile): Fail if pie results in non-PIE executable.
110 (readelf_version, readelf_prints_pie): New proc.
111 (exec_is_pie): Return -1 if unknown.
113 2019-08-05 Tom de Vries <tdevries@suse.de>
115 * lib/gdb.exp (tcl_version_at_least): Fix typo.
117 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
119 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
121 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
123 * lib/completion-support.exp (test_gdb_complete_none): Skip
124 tab completion tests if no readline support.
125 (test_gdb_complete_unique_re): Likewise.
126 (test_gdb_complete_multiple): Likewise.
128 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
130 * gdb.base/info_sources.exp: New file.
131 * gdb.base/info_sources.c: New file.
132 * gdb.base/info_sources_base.c: New file.
134 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
136 * gdb.base/batch-exit-status.exp: Call test_exit_status with
138 (test_exit_status): Add prefix argument.
140 2019-08-01 Tom de Vries <tdevries@suse.de>
143 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
144 calling exp_continue for new thread and thread exited messages.
146 2019-08-01 Tom de Vries <tdevries@suse.de>
149 * gdb.base/structs.exp: Fix check-read1 timeout using
151 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
153 2019-08-01 Tom de Vries <tdevries@suse.de>
156 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
159 2019-08-01 Tom de Vries <tdevries@suse.de>
162 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
164 2019-07-30 Tom Tromey <tromey@adacore.com>
166 * gdb.ada/display_nested.exp: New file.
167 * gdb.ada/display_nested/foo.adb: New file.
168 * gdb.ada/display_nested/pack.adb: New file.
169 * gdb.ada/display_nested/pack.ads: New file.
171 2019-07-30 Christian Biesinger <cbiesinger@google.com>
173 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
175 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
177 2019-07-30 Tom de Vries <tdevries@suse.de>
179 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
182 2019-07-30 Tom de Vries <tdevries@suse.de>
185 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
186 (exec_is_pie): New proc.
188 2019-07-29 Christian Biesinger <cbiesinger@google.com>
190 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
192 2019-07-29 Christian Biesinger <cbiesinger@google.com>
194 * gdb.python/py-objfile.c: Add global and static vars.
195 * gdb.python/py-objfile.exp: Test new functions Objfile.
196 lookup_global_symbol and lookup_static_symbol.
198 2019-07-29 Tom Tromey <tom@tromey.com>
200 * lib/tuiterm.exp (Term::_csi_@): New proc.
201 (Term::_csi_X): Don't move cursor.
203 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
205 * gdb.base/options.exp: Update backtrace - completion to
206 new option -frame-info.
207 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
208 Test new 'set print frame-info'. Test backtrace -frame-info
209 overriding 'set print frame-info'.
210 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
211 Test new 'set print frame-info'.
212 Verify consistency of backtrace with and without filters, with and
214 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
217 2019-07-29 Tom de Vries <tdevries@suse.de>
219 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
222 2019-07-29 Tom de Vries <tdevries@suse.de>
224 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
225 is a substring of the first for "complete non-unique file name".
227 2019-07-29 Tom de Vries <tdevries@suse.de>
229 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
232 2019-07-29 Tom de Vries <tdevries@suse.de>
234 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
235 Pass prompt_regexp parameter to gdb_test_multiple calls.
237 2019-07-29 Tom de Vries <tdevries@suse.de>
239 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
240 print registers" regexps.
242 2019-07-29 Tom de Vries <tdevries@suse.de>
244 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
246 2019-07-29 Tom de Vries <tdevries@suse.de>
249 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
250 (skip_python_tests_prompt): Add prompt_regexp argument to
251 gdb_test_multiple calls.
253 2019-07-27 Tom Tromey <tom@tromey.com>
255 * gdb.tui/main.exp: New file.
257 2019-07-27 Tom Tromey <tom@tromey.com>
259 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
261 * gdb.tui/empty.exp: New file.
263 2019-07-27 Tom Tromey <tom@tromey.com>
265 * lib/tuiterm.exp (spawn): New proc.
266 (Term::resize): New proc.
267 * gdb.tui/resize.exp: New file.
269 2019-07-27 Tom Tromey <tom@tromey.com>
271 * gdb.tui/list.exp: New file.
273 2019-07-27 Tom Tromey <tom@tromey.com>
275 * gdb.tui/regs.exp: New file.
277 2019-07-27 Tom Tromey <tom@tromey.com>
279 * gdb.tui/basic.exp: Add "layout split" test.
281 2019-07-27 Tom Tromey <tom@tromey.com>
283 * gdb.tui/basic.exp: Add "layout asm" test.
285 2019-07-27 Tom Tromey <tom@tromey.com>
287 * lib/tuiterm.exp: New file.
288 * gdb.tui/basic.exp: New file.
290 2019-07-27 Kevin Buettner <kevinb@redhat.com>
292 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
293 Enable tests associated with this flag. Adjust regex
294 referencing "foo_low" to now refer to "foo_cold" instead.
296 2019-07-27 Kevin Buettner <kevinb@redhat.com>
298 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
299 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
300 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
301 foo_cold. Revise comments to match.
302 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
303 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
304 were wrapped into this proc; Call do_test in loop from outermost
306 (foo_low): Rename all occurrences to "foo_cold".
307 (backtrace from baz): New test.
308 (x2/i foo_cold): New test.
309 (info line *foo_cold): New test.
311 2019-07-26 Tom de Vries <tdevries@suse.de>
313 * gdb.arch/i386-pkru.exp: Fix unterminated string.
315 2019-07-25 Tom de Vries <tdevries@suse.de>
318 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
319 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
320 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
321 (skip_libstdcxx_probe_tests): ... here.
322 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
324 2019-07-24 Tom de Vries <tdevries@suse.de>
327 * gdb.objc/basicclass.m: Include stdio.h.
328 * gdb.objc/nondebug.m: Same.
329 * gdb.objc/objcdecode.m: Same.
331 2019-07-24 Tom de Vries <tdevries@suse.de>
334 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
337 2019-07-24 Tom de Vries <tdevries@suse.de>
340 * gdb.multi/tids.exp: Update error messages for info threads.
342 2019-07-24 Tom de Vries <tdevries@suse.de>
344 * gdb.base/info-types.exp: Allow info types to print info for more than
347 2019-07-23 Tom de Vries <tdevries@suse.de>
350 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
351 gdb_spawn_with_cmdline_opts.
353 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
355 * gdb.arch/arm-cmse-sgstubs.c: New test.
356 * gdb.arch/arm-cmse-sgstubs.exp: New file.
358 2019-07-23 Tom de Vries <tdevries@suse.de>
361 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
362 issuing next command.
364 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
366 * gdb.ada/info_auto_lang.exp: Update expected results.
367 * gdb.base/info-types.c: Add additional types to check.
368 * gdb.base/info-types.exp: Update expected results.
370 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
372 * gdb.base/info-types.c: New file.
373 * gdb.base/info-types.exp: New file.
375 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
377 * gdb.arch/riscv-bp-infcall.c: New file.
378 * gdb.arch/riscv-bp-infcall.exp: New file.
380 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
383 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
385 2019-07-14 Tom de Vries <tdevries@suse.de>
388 * gdb.objc/basicclass.exp: Fix unterminated string.
390 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
391 Andrew Burgess <andrew.burgess@embecosm.com>
393 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
394 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
396 * gdb.fortran/vla-value.exp: Print elements of an array with
398 * gdb.fortran/vla.f90: Setup an array with negative bounds for
401 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
403 * gdb.base/options.exp (expect_string): Dequote strings in
405 (test-string): Test strings with different quoting and reindent.
407 2019-07-10 Tom Tromey <tromey@adacore.com>
409 * gdb.ada/mi_ex_cond.exp: Update expected results.
410 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
411 * gdb.ada/mi_catch_ex.exp: Update expected results.
412 * gdb.ada/mi_catch_assert.exp: Update expected results.
413 * gdb.ada/catch_ex.exp (catch_exception_info)
414 (catch_exception_entry, catch_assert_entry)
415 (catch_unhandled_entry): Update.
416 * gdb.ada/catch_assert_if.exp: Update expected results.
418 2019-07-10 Richard Bunt <richard.bunt@arm.com>
419 Stephen Roberts <stephen.roberts@arm.com>
421 * gdb.base/define.exp: Restore original prompt.
423 2019-07-09 Pedro Alves <palves@redhat.com>
425 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
427 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
428 * gdb.python/py-breakpoint.exp: No longer expect that "catch
429 throw" creates breakpoint.
430 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
433 2019-07-09 Pedro Alves <palves@redhat.com>
436 * gdb.cp/except-multi-location-lib.cc: New.
437 * gdb.cp/except-multi-location-main.cc: New.
438 * gdb.cp/except-multi-location.exp: New.
440 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
442 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
443 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
444 argument and update callers.
446 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
448 * gdb.arch/amd64-break-on-asm-line.S: New file.
449 * gdb.arch/amd64-break-on-asm-line.exp: New file.
451 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
453 * gdb.base/printcmds.exp: Test printing C string and
454 C wide string convenience vars without transiting via the inferior.
455 Also make test names unique.
457 2019-07-08 Alan Hayward <alan.hayward@arm.com>
459 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
461 2019-07-04 Pedro Alves <palves@redhat.com>
463 * lib/gdb.exp (foreach_with_prefix): Don't return early if
464 body returned ok(0), break(3) or continue(4).
465 * gdb.testsuite/foreach_with_prefix.exp: New file.
467 2019-07-04 Alan Hayward <alan.hayward@arm.com>
469 * gdb.server/unittest.exp: Allow 0 unit tests to run.
471 2019-07-03 Pedro Alves <palves@redhat.com>
473 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
476 2019-07-03 Pedro Alves <palves@redhat.com>
479 * gdb.base/shell.exp: Load completion-support.exp.
480 Adjust expected error output. Add completion tests.
482 2019-07-03 Pedro Alves <palves@redhat.com>
484 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
487 2019-07-03 Pedro Alves <palves@redhat.com>
489 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
490 (expect_integer): Adjust to expect "-string".
491 (expect_string): New.
492 (all_options): Expect "-string".
493 (test-flag, test-boolean): Adjust to expect "-string".
494 (test-string): New proc.
495 (top level): Call it.
497 2019-07-03 Pedro Alves <palves@redhat.com>
499 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
500 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
501 the expected output in the success.
503 2019-07-03 Pedro Alves <palves@redhat.com>
505 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
506 Split one gdb_test_multiple call in two to avoid a race.
508 2019-07-03 Pedro Alves <palves@redhat.com>
510 * gdb.base/with.c: New file.
511 * gdb.base/with.exp: New file.
513 2019-07-03 Pedro Alves <palves@redhat.com>
515 * gdb.base/settings.exp: Replace all references to "maint
516 test-settings set" with references to "maint set test-settings",
517 and all references to "maint test-settings show" with references
518 to "maint show test-settings".
520 2019-07-03 Pedro Alves <palves@redhat.com>
522 * gdb.base/settings.exp (test-string): Adjust expected out when
523 testing "maint test-settings show filename"
525 2019-07-02 Pedro Alves <palves@redhat.com>
527 * gdb.base/options.exp (test-info-threads): New procedure.
528 (top level): Call it.
530 2019-06-28 Tom Tromey <tromey@adacore.com>
532 * gdb.dwarf2/ada-linkage-name.c: New file.
533 * gdb.dwarf2/ada-linkage-name.exp: New file.
535 2019-06-27 Tom Tromey <tromey@adacore.com>
537 * gdb.cp/constexpr-field.exp: Use setup_xfail.
539 2019-06-26 Tom de Vries <tdevries@suse.de>
541 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
543 2019-06-26 Tom de Vries <tdevries@suse.de>
545 * gdb.base/index-cache.exp: Add back missing debug option.
547 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
549 * gdb.base/alias.exp: Test non matching/non existing prefixes.
551 2019-06-25 Tom de Vries <tdevries@suse.de>
554 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
556 2019-06-24 Tom de Vries <tdevries@suse.de>
558 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
560 2019-06-24 Tom de Vries <tdevries@suse.de>
562 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
563 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
564 * gdb.trace/unavailable-dwarf-piece.exp: Same.
566 2019-06-24 Tom de Vries <tdevries@suse.de>
568 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
570 2019-06-21 Tom de Vries <tdevries@suse.de>
572 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
574 2019-06-21 Tom de Vries <tdevries@suse.de>
578 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
581 2019-06-19 Tom Tromey <tromey@adacore.com>
583 * gdb.ada/length_cond.exp: Add intro comment.
585 2019-06-19 Tom Tromey <tromey@adacore.com>
587 * gdb.ada/length_cond.exp: New file.
588 * gdb.ada/length_cond/length_cond.adb: New file.
589 * gdb.ada/length_cond/pck.adb: New file.
590 * gdb.ada/length_cond/pck.ads: New file.
592 2019-06-18 Tom de Vries <tdevries@suse.de>
594 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
596 2019-06-18 Tom Tromey <tromey@adacore.com>
598 * gdb.base/list0.h: Add comment explaining control character.
600 2019-06-18 Tom de Vries <tdevries@suse.de>
602 * boards/fission.exp: Break up long debug_flags line.
604 2019-06-16 Tom de Vries <tdevries@suse.de>
607 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
610 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
613 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
614 improve detection of bug gdb/24541.
616 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
619 * gdb.base/index-cache.exp (uses_readnow,
620 expecting_index_cache_use): Define global variable.
621 (test_cache_enabled_miss, test_cache_enabled_hit): Use
622 expecting_index_cache_use.
624 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
625 Andrew Burgess <andrew.burgess@embecosm.com>
627 * gdb.fortran/pointers.f90: New file.
628 * gdb.fortran/print_type.exp: New file.
629 * gdb.fortran/vla-ptype.exp: Adapt expected results.
630 * gdb.fortran/vla-type.exp: Likewise.
631 * gdb.fortran/vla-value.exp: Likewise.
632 * gdb.mi/mi-vla-fortran.exp: Likewise.
634 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
636 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
637 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
638 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
641 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
643 * gdb.base/annota1.exp: Update expected results.
644 * gdb.cp/annota2.exp: Likewise.
645 * gdb.cp/annota3.exp: Likewise.
647 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
649 * gdb.base/style-logging.exp: Remove path from test name.
651 2019-06-14 Tom Tromey <tromey@adacore.com>
654 * gdb.base/style-logging.exp: New file.
656 2019-06-14 Tom Tromey <tromey@adacore.com>
658 * gdb.base/symfile-warn.exp: New file.
659 * gdb.base/symfile-warn.c: New file.
661 2019-06-14 Tom Tromey <tromey@adacore.com>
663 * gdb.base/annotate-symlink.exp: New file.
665 2019-06-14 Tom Tromey <tromey@adacore.com>
667 * gdb.ada/set_wstr.exp: Add reassignment test.
669 2019-06-14 Tom Tromey <tromey@adacore.com>
671 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
672 'unchecked_access and 'unrestricted_access as well.
674 2019-06-14 Tom Tromey <tromey@adacore.com>
677 * gdb.ada/vla.exp: Update tests.
678 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
681 2019-06-13 Pedro Alves <palves@redhat.com>
683 * gdb.base/settings.exp (test-integer): Test junk after
686 2019-06-13 Pedro Alves <palves@redhat.com>
688 * gdb.base/options.exp (test-thread-apply): New.
689 (top level): Call it.
691 2019-06-13 Pedro Alves <palves@redhat.com>
693 * gdb.base/options.exp (test-frame-apply): New.
694 (top level): Test print commands with different "frame apply"
697 2019-06-13 Pedro Alves <palves@redhat.com>
699 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
700 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
701 'max_completions' parameter and handle it.
702 (test_gdb_completion_offers_commands): New.
704 2019-06-13 Pedro Alves <palves@redhat.com>
706 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
708 2019-06-13 Pedro Alves <palves@redhat.com>
710 * gdb.base/options.exp (test-backtrace): New.
711 (top level): Call it.
713 2019-06-13 Pedro Alves <palves@redhat.com>
715 * gdb.guile/scm-frame-args.exp: Use "set print
716 raw-frame-arguments" instead of "set print raw frame-arguments".
717 * gdb.python/py-frame-args.exp: Likewise.
719 2019-06-13 Pedro Alves <palves@redhat.com>
721 * gdb.compile/compile.exp: Adjust expected output to option
724 2019-06-13 Pedro Alves <palves@redhat.com>
726 * gdb.base/options.exp: Build executable.
727 (test-print): New procedure.
728 (top level): Call it, once for "print" and another for "compile
731 2019-06-13 Pedro Alves <palves@redhat.com>
733 * gdb.base/options.c: New file.
734 * gdb.base/options.exp: New file.
736 2019-06-13 Pedro Alves <palves@redhat.com>
738 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
739 that "o" is ambiguous.
741 2019-06-13 Pedro Alves <palves@redhat.com>
743 * gdb.base/settings.c: New file.
744 * gdb.base/settings.exp: New file.
746 2019-06-13 Pedro Alves <palves@redhat.com>
748 * gdb.base/completion.exp: Fix comment typo.
750 2019-06-13 Pedro Alves <palves@redhat.com>
752 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
755 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
757 * gdb.fortran/block-data.f: New.
758 * gdb.fortran/block-data.exp: New.
760 2019-06-11 Tom de Vries <tdevries@suse.de>
763 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
766 2019-06-11 Tom de Vries <tdevries@suse.de>
769 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
771 2019-06-11 Tom de Vries <tdevries@suse.de>
773 * boards/readnow.exp: New file.
775 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
777 * gdb.fortran/vla-sizeof.exp: Update expected results.
779 2019-06-06 Amos Bird <amosbird@gmail.com>
781 * gdb.base/annota1.exp (thread_switch): Add test for
782 thread-exited annotation.
784 2019-06-06 Tom Tromey <tromey@adacore.com>
786 * gdb.base/maint.exp: Expect command started/finished output.
788 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
790 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
792 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
794 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
796 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
797 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
798 * gdb.arch/riscv-unwind-long-insn.c: New file.
799 * gdb.arch/riscv-unwind-long-insn.exp: New file.
801 2019-06-04 Christian Biesinger <cbiesinger@google.com>
803 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
805 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
807 * lib/gdb.exp (help_list_trailer): New regexp variable
808 factorizing the help trailer message.
809 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
810 arg to allow to better factorize various tests.
811 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
812 (test_prefix_command_help): Use help_list_trailer.
813 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
814 * gdb.guile/scm-cmd.exp: Likewise.
815 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
816 * gdb.base/help.exp: Use test_user_defined_class_help.
817 * gdb.base/style.exp: Add tests for styling of help and apropos.
818 * lib/gdb-utils.exp (style): Add title and highlight styles.
820 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
822 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
824 * gdb.base/default.exp: Update for new convenience variables.
826 2019-05-29 Tom Tromey <tromey@adacore.com>
828 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
829 to "break complete ada" test case's regexp.
831 2019-05-29 Tom Tromey <tromey@adacore.com>
834 * gdb.cp/constexpr-field.exp: New file.
835 * gdb.cp/constexpr-field.cc: New file.
837 2019-05-29 Tom Tromey <tromey@adacore.com>
839 * gdb.base/finish.exp (finish_no_print): New proc.
840 (finish_tests): Call it.
842 2019-05-24 Tom de Vries <tdevries@suse.de>
844 * gdb.dwarf2/gdb-add-index.exp: New file.
846 2019-05-22 Tom Tromey <tromey@adacore.com>
848 * gdb.base/info-shared.exp (check_info_shared): Use "style".
849 * gdb.base/style.exp: Use "style".
850 * lib/gdb-utils.exp (style): New proc.
852 2019-05-22 Tom de Vries <tdevries@suse.de>
854 * gdb.base/align.exp: Require c++11.
856 2019-05-22 Tom de Vries <tdevries@suse.de>
859 * gdb.python/py-mi-var-info-path-expression.exp: Call
860 mi_skip_python_tests to check if python is supported.
862 2019-05-22 Alan Hayward <alan.hayward@arm.com>
864 * gdb.arch/aarch64-pauth.c: New test.
865 * gdb.arch/aarch64-pauth.exp: New file.
867 2019-05-22 Alan Hayward <alan.hayward@arm.com>
869 * README (Re-running Tests Outside The Testsuite): New section.
871 2019-05-21 Tom de Vries <tdevries@suse.de>
873 * gdb.arch/amd64-eval.exp: Require c++11.
874 * gdb.base/max-depth.exp: Same.
875 * gdb.compile/compile-cplus-array-decay.exp: Same.
876 * gdb.cp/meth-typedefs.exp: Same.
877 * gdb.cp/subtypes.exp: Same.
878 * gdb.cp/temargs.exp: Same.
880 2019-05-21 Alan Hayward <alan.hayward@arm.com>
882 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
884 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
887 * gdb.fortran/complex.exp: Remove setup_kfail calls.
888 * gdb.fortran/printing-types.exp: Add new test.
889 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
891 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
894 2019-05-17 Alan Hayward <alan.hayward@arm.com>
896 * README (Running the Testsuite): Change example.
897 (Testsuite Parameters): Remove TRANSCRIPT.
898 * lib/gdb.exp: Remove TRANSCRIPT check.
900 2019-05-17 Alan Hayward <alan.hayward@arm.com>
902 * README (Testsuite Parameters): Add replay logging to
904 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
905 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
906 as a comma separated list.
907 (gdb_debug_init): Override procedure.
909 2019-05-17 Alan Hayward <alan.hayward@arm.com>
911 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
912 (gdb_write_cmd_file): New procedure.
913 * lib/gdbserver-support.exp (gdbserver_start): Call
914 gdbserver_write_cmd_file.
915 (gdbserver_write_cmd_file): New procedure.
917 2019-05-17 Alan Hayward <alan.hayward@arm.com>
919 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
920 (delete_breakpoints): Likewise.
921 (gdb_run_cmd): Likewise.
922 (gdb_start_cmd): Likewise.
923 (gdb_starti_cmd): Likewise.
924 (gdb_internal_error_resync): Likewise.
925 (gdb_test_multiple): Likewise.
926 (gdb_reinitialize_dir): Likewise.
927 (default_gdb_exit): Likewise.
928 (gdb_file_cmd): Mark kill as optional.
929 (default_gdb_start): Call gdb_stdin_log_init.
930 (send_gdb): Call gdb_stdin_log_write.
931 (rerun_to_main): Mark Y as an answer.
932 (gdb_stdin_log_init): New function.
933 (gdb_stdin_log_write): Likewise.
935 2019-05-17 Alan Hayward <alan.hayward@arm.com>
937 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
938 * gdb.base/debug-expr.exp: Likewise.
939 * gdb.base/foll-fork.exp: Likewise.
940 * gdb.base/foll-vfork.exp: Likewise.
941 * gdb.base/fork-print-inferior-events.exp: Likewise.
942 * gdb.base/gdb-sigterm.exp: Likewise.
943 * gdb.base/gdbinit-history.exp: Likewise.
944 * gdb.base/osabi.exp: Likewise.
945 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
946 * gdb.base/ui-redirect.exp: Likewise.
947 * gdb.gdb/unittest.exp: Likewise.
948 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
949 * gdb.mi/mi-watch.exp: Likewise.
950 * gdb.mi/new-ui-mi-sync.exp: Likewise.
951 * gdb.mi/user-selected-context-sync.exp: Likewise.
952 * gdb.python/python.exp: Disable debug test when debugging.
953 * gdb.threads/check-libthread-db.exp: Disable when debugging.
954 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
956 * gdb.threads/stepi-random-signal.exp: Likewise.
958 2019-05-17 Alan Hayward <alan.hayward@arm.com>
960 * Makefile.in: Pass through GDB_DEBUG.
961 * README (Testsuite Parameters): Add GDB_DEBUG.
962 (gdb,debug): Add board setting.
963 * lib/gdb.exp (default_gdb_start): Start debugging.
964 (gdb_debug_enabled): New procedure.
965 (gdb_debug_init): Likewise.
967 2019-05-17 Alan Hayward <alan.hayward@arm.com>
969 * Makefile.in: Pass through GDB_DEBUG.
970 * README (Testsuite Parameters): Add GDB_DEBUG.
971 (gdb,debug): Add board setting.
972 * lib/gdb.exp (default_gdb_start): Start debugging.
973 (gdb_debug_enabled): New procedure.
974 (gdb_debug_init): Likewise.
976 2019-05-17 Alan Hayward <alan.hayward@arm.com>
978 * gdb.base/ui-redirect.exp: Add debug redirect tests.
980 2019-05-17 Alan Hayward <alan.hayward@arm.com>
982 * gdb.base/ui-redirect.exp: Test redirection.
984 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
986 * gdb.mi/mi-complete.exp: New file.
987 * gdb.mi/mi-complete.cc: Likewise.
989 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
991 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
992 indexed and sliced arrays, and pointers to arrays.
994 2019-05-14 Tom Tromey <tromey@adacore.com>
996 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
999 2019-05-14 Tom de Vries <tdevries@suse.de>
1001 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
1002 selection entry encoding.
1004 2019-05-10 Tom Tromey <tromey@adacore.com>
1006 * gdb.ada/info_exc.exp: Add "complete" test.
1008 2019-05-09 Tom de Vries <tdevries@suse.de>
1010 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
1013 2019-05-09 Tom de Vries <tdevries@suse.de>
1015 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
1018 2019-05-08 Joel Brobecker <brobecker@adacore.com>
1020 * gdb.ada/frame_arg_lang.exp: New testcase.
1021 * gdb.ada/frame_arg_lang/bla.adb: New file.
1022 * gdb.ada/frame_arg_lang/pck.ads: New file.
1023 * gdb.ada/frame_arg_lang/pck.adb: New file.
1024 * gdb.ada/frame_arg_lang/foo.c: New file.
1026 2019-05-08 Tom Tromey <tromey@adacore.com>
1028 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
1030 2019-05-08 Tom Tromey <tromey@adacore.com>
1032 * gdb.base/ptype-offsets.exp: Update tests.
1034 2019-05-08 Tom Tromey <tromey@adacore.com>
1036 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
1038 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
1041 2019-05-08 Tom Tromey <tromey@adacore.com>
1043 * gdb.ada/vla.exp: New file.
1044 * gdb.ada/vla/vla.adb: New file.
1046 2019-05-07 Tom de Vries <tdevries@suse.de>
1048 * gdb.base/index-cache.exp (ls_host): Fix return statement.
1050 2019-05-07 Tom de Vries <tdevries@suse.de>
1053 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
1056 2019-05-07 Tom de Vries <tdevries@suse.de>
1059 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
1060 .debug_aranges section.
1062 2019-05-07 Tom de Vries <tdevries@suse.de>
1065 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
1067 2019-05-06 Tom de Vries <tdevries@suse.de>
1069 * lib/gdb.exp (exec_has_index_section): New proc.
1070 * gdb.base/index-cache.exp: Handle case that binfile contains an index
1073 2019-05-04 Tom de Vries <tdevries@suse.de>
1075 * boards/cc-with-debug-names.exp: New file.
1077 2019-05-03 Tom Tromey <tromey@adacore.com>
1079 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
1080 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
1081 * gdb.ada/char_enum.exp: Add test.
1083 2019-05-03 Tom de Vries <tdevries@suse.de>
1085 * boards/cc-with-gdb-index.exp: New file.
1087 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
1089 * gdb.rust/simple.exp: Add new test case.
1090 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
1091 (main): Initialise an instance of the new struct.
1093 2019-05-01 Tom Tromey <tromey@adacore.com>
1095 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
1097 (NPR): New variable.
1098 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
1101 2019-05-01 Tom Tromey <tromey@adacore.com>
1103 * gdb.ada/packed_array_assign.exp: Add packed assignment
1106 2019-05-01 Tom de Vries <tdevries@suse.de>
1108 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
1110 2019-05-01 Tom de Vries <tdevries@suse.de>
1112 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
1114 2019-04-30 Ali Tamur <tamur@google.com>
1116 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
1118 2019-04-30 Tom Tromey <tromey@adacore.com>
1120 * lib/ada.exp (find_ada_tool): New proc.
1121 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
1122 * gdb.ada/catch_ex_std.exp: New file.
1123 * gdb.ada/catch_ex_std/foo.adb: New file.
1124 * gdb.ada/catch_ex_std/some_package.adb: New file.
1125 * gdb.ada/catch_ex_std/some_package.ads: New file.
1127 2019-04-30 Tom Tromey <tromey@adacore.com>
1130 * gdb.cp/temargs.cc: Add test code from PR.
1132 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1134 * gdb.fortran/vla-datatypes.exp: Update expected results.
1135 * gdb.fortran/vla-ptype.exp: Likewise.
1136 * gdb.fortran/vla-type.exp: Likewise.
1137 * gdb.fortran/vla-value.exp: Likewise.
1139 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1141 * gdb.fortran/ptr-indentation.exp: Update expected results.
1142 * gdb.fortran/ptype-on-functions.exp: Likewise.
1143 * gdb.fortran/vla-ptr-info.exp: Likewise.
1144 * gdb.fortran/vla-value.exp: Likewise.
1146 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1148 * gdb.fortran/ptype-on-functions.exp: New file.
1149 * gdb.fortran/ptype-on-functions.f90: New file.
1151 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1153 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
1156 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1158 * gdb.fortran/complex.exp: Expand.
1159 * gdb.fortran/complex.f: Renamed to...
1160 * gdb.fortran/complex.f90: ...this, and extended to add more
1163 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
1165 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
1168 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
1169 Richard Bunt <richard.bunt@arm.com>
1171 * gdb.base/max-depth.c: New file.
1172 * gdb.base/max-depth.exp: New file.
1173 * gdb.python/py-nested-maps.c: New file.
1174 * gdb.python/py-nested-maps.exp: New file.
1175 * gdb.python/py-nested-maps.py: New file.
1176 * gdb.python/py-format-string.exp (test_max_depth): New proc.
1177 (test_all_common): Call test_max_depth.
1178 * gdb.fortran/max-depth.exp: New file.
1179 * gdb.fortran/max-depth.f90: New file.
1180 * gdb.go/max-depth.exp: New file.
1181 * gdb.go/max-depth.go: New file.
1182 * gdb.modula2/max-depth.exp: New file.
1183 * gdb.modula2/max-depth.c: New file.
1184 * lib/gdb.exp (get_print_expr_at_depths): New proc.
1186 2019-04-29 Tom de Vries <tdevries@suse.de>
1188 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
1190 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1192 * gdb.base/callexit.exp: Test may-call-functions off.
1194 2019-04-25 Keith Seitz <keiths@redhat.com>
1197 * gdb.cp/meth-typedefs.cc (incomplete_struct)
1198 (another_incomplete_struct, test_incomplete): New definitions.
1199 (main): Use new definitions.
1200 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
1203 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
1207 * gdb.base/coredump-filter-build-id.exp: New file.
1209 2019-04-25 Alan Hayward <alan.hayward@arm.com>
1211 * Makefile.in: Pass through GDBSERVER_DEBUG.
1212 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
1213 (gdbserver,debug): Add board setting.
1214 * gdb.trace/tspeed.exp: Skip when debugging.
1215 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
1216 * lib/gdbserver-support.exp: Likewise
1218 2019-04-24 Tom Tromey <tromey@adacore.com>
1220 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
1223 2019-04-24 Tom Tromey <tromey@adacore.com>
1225 * gdb.arch/amd64-eval.exp: Test bitfield return.
1226 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
1227 (class Foo) <return_bitfields>: New method.
1230 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
1232 * gdb.cp/many-args.cc: New file.
1233 * gdb.cp/many-args.exp: New file.
1235 2019-04-23 Tom de Vries <tdevries@suse.de>
1238 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
1240 2019-04-23 Alan Hayward <alan.hayward@arm.com>
1242 * gdb.trace/backtrace.exp: Use nopie flag.
1243 * gdb.trace/circ.exp: Likewise.
1244 * gdb.trace/collection.exp: Likewise.
1245 * gdb.trace/ftrace.exp: Likewise.
1246 * gdb.trace/mi-trace-unavailable.exp: Likewise.
1247 * gdb.trace/mi-traceframe-changed.exp: Likewise.
1248 * gdb.trace/qtro.exp: Likewise.
1249 * gdb.trace/read-memory.exp: Likewise.
1250 * gdb.trace/report.exp: Likewise.
1251 * gdb.trace/tfile.exp: Likewise.
1252 * gdb.trace/tfind.exp: Likewise.
1253 * gdb.trace/unavailable.exp: Likewise.
1255 2019-04-22 Pedro Alves <palves@redhat.com>
1257 * gdb.base/solib-probes-nosharedlibrary.c,
1258 gdb.base/solib-probes-nosharedlibrary.exp: New files.
1260 2019-04-19 Tom Tromey <tromey@adacore.com>
1262 * gdb.ada/ptype_union.c: New file.
1263 * gdb.ada/ptype_union.exp: New file.
1265 2019-04-19 Tom Tromey <tromey@adacore.com>
1268 * gdb.base/list0.h (foo): Add a control-l character.
1270 2019-04-18 Tom de Vries <tdevries@suse.de>
1273 * boards/local-board.exp: Set sysroot to "".
1275 2019-04-18 Tom de Vries <tdevries@suse.de>
1276 Pedro Alves <palves@redhat.com>
1279 * gdb.threads/vfork-follow-child-exec.c: New file.
1280 * gdb.threads/vfork-follow-child-exec.exp: New file.
1281 * gdb.threads/vfork-follow-child-exit.c: New file.
1282 * gdb.threads/vfork-follow-child-exit.exp: New file.
1284 2019-04-15 Leszek Swirski <leszeks@google.com>
1286 * gdb.arch/amd64-eval.cc: New file.
1287 * gdb.arch/amd64-eval.exp: New file.
1289 2019-04-11 Alan Hayward <alan.hayward@arm.com>
1291 * gdb.server/sysroot.c: New test.
1292 * gdb.server/sysroot.exp: New file.
1293 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
1296 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
1298 * gdb.base/align.exp: Extend test to cover structures containing
1301 2019-04-11 Tom de Vries <tdevries@suse.de>
1303 * boards/cc-with-dwz-m.exp: New file.
1304 * boards/cc-with-dwz.exp: New file.
1305 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
1307 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
1309 * gdb.base/start-cpp.exp: New file.
1310 * gdb.base/start-cpp.cc: New file.
1312 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1314 * gdb.python/py-thrhandle.exp: Adjust tests to call
1315 thread_from_handle instead of thread_from_thread_handle.
1317 2019-04-08 Kevin Buettner <kevinb@redhat.com>
1319 * gdb.python/py-thrhandle.exp: Add tests for
1320 gdb.InferiorThread.handle.
1322 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1324 * gdb.python/py-function.exp: Check calling helper function from
1326 * lib/gdb.exp (gdb_supported_languages): New proc.
1328 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
1330 * gdb.base/complex-parts.c: New file.
1331 * gdb.base/complex-parts.exp: New file.
1333 2019-04-01 Tom Tromey <tromey@adacore.com>
1336 * gdb.dwarf2/dw2-ranges-main.c: New file.
1337 * gdb.dwarf2/dw2-ranges-psym.c: New file.
1338 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
1340 2019-03-30 Simon Marchi <simark@simark.ca>
1342 * gdb.base/default.exp: Add values for $_gdb_major and
1345 2019-03-29 Tom Tromey <tromey@adacore.com>
1347 * gdb.base/help.exp: Tighten apropos regexp.
1349 2019-03-29 Keith Seitz <keiths@redhat.com>
1351 * gdb.fortran/array-bounds.exp: New file.
1352 * gdb.fortran/array-bounds.f90: New file.
1354 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1356 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
1358 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1360 * gdb.multi/hello.c (main): Increase alarm timer.
1362 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
1364 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
1365 factor when no hardware watchpoint support.
1367 2019-03-28 Alan Hayward <alan.hayward@arm.com>
1368 Pedro Alves <palves@redhat.com>
1370 * boards/local-board.exp: set sysroot to /.
1372 2019-03-27 Alan Hayward <alan.hayward@arm.com>
1374 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
1377 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1379 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
1381 (make_container): Initialise new field.
1382 * gdb.python/py-prettyprint.exp: Add new tests.
1383 * gdb.python/py-prettyprint.py (class ContainerPrinter)
1384 <display_hint>: New method.
1386 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1388 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
1389 gdb_continue_to_breakpoint more throughout this test.
1390 (run_lang_tests) Supply unique test names, and use
1393 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
1395 * gdb.base/finish-pretty.exp: Update expected results.
1396 * gdb.base/pretty-print.c: New file.
1397 * gdb.base/pretty-print.exp: New file.
1399 2019-03-25 Pedro Alves <palves@redhat.com>
1401 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
1402 move comments outside list. Append '-i "" eof' section.
1404 2019-03-22 Alan Hayward <alan.hayward@arm.com>
1406 * README: Add pie options.
1407 * gdb.base/break-interp.exp: Ensure pie is disabled.
1408 * gdb.base/dump.exp: Likewise.
1409 * lib/gdb.exp (gdb_compile): Add pie option.
1411 2019-03-19 Tom Tromey <tromey@adacore.com>
1413 * gdb.mi/mi2-cli-display.c: New file.
1414 * gdb.mi/mi2-cli-display.exp: New file.
1416 2019-03-18 Joel Brobecker <brobecker@adacore.com>
1417 Tom Tromey <tromey@adacore.com>
1419 * gdb.ada/ptype_array/pck.adb: New file.
1420 * gdb.ada/ptype_array/pck.ads: New file.
1421 * gdb.ada/ptype_array/foo.adb: New file.
1422 * gdb.ada/ptype_array.exp: New file.
1424 2019-03-14 Tom Tromey <tromey@adacore.com>
1426 * gdb.base/style.exp: Add "set style sources" test.
1428 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
1430 * mi-breakpoint-location-ena-dis.exp: Rename to ...
1431 * mi-breakpoint-multiple-locations.exp: ... this.
1432 (make_breakpoints_pattern): New proc.
1433 (do_test): Add mi_version parameter, test -break-insert,
1434 -break-info and =breakpoint-created.
1436 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
1438 * config/default.exp: Remove 'load_lib gdb.exp'.
1439 * config/monitor.exp: Likewise.
1440 * config/sid.exp: Likewise.
1441 * config/sim.exp: Likewise.
1442 * config/slite.exp: Likewise.
1443 * config/unix.exp: Likewise.
1444 * gdb.base/default.exp: Remove unhelpful comment.
1446 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1448 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
1450 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1452 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
1454 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1456 * gdb.fortran/type-kinds.exp: Update expected results.
1458 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1460 * gdb.fortran/type-kinds.exp: Test new integer type kind.
1462 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1464 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
1466 (test_basic_parsing_of_type_kinds): Expand types tested.
1467 (test_parsing_invalid_type_kinds): New function.
1469 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1471 * gdb.fortran/intrinsics.exp: New file.
1472 * gdb.fortran/intrinsics.f90: New file.
1473 * gdb.fortran/type-kinds.exp: New file.
1475 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1477 * gdb.fortran/dot-ops.exp: New file.
1479 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1481 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
1482 Check upper and lower case logical literals.
1484 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1486 * gdb.fortran/types.exp (test_float_literal_types_accepted):
1487 Remove duplicate tests.
1489 2019-03-06 Alan Hayward <alan.hayward@arm.com>
1491 * lib/gdb.exp (builtin_cd): rename of cd.
1492 (cd): Override builtin.
1494 2019-03-06 Richard Bunt <richard.bunt@arm.com>
1496 * gdb.fortran/function-calls.exp: New file.
1497 * gdb.fortran/function-calls.f90: New test.
1499 2019-03-04 Richard Bunt <richard.bunt@arm.com>
1501 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
1502 on user program standard output.
1503 * gdb.fortran/short-circuit-argument-list.f90: Record function
1506 2019-02-28 Alan Hayward <alan.hayward@arm.com>
1508 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
1511 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1514 * gdb.base/interrupt-daemon-attach.c,
1515 gdb.base/interrupt-daemon-attach.exp: New test.
1517 2019-02-27 Pedro Alves <palves@redhat.com>
1519 * gdb.base/page.exp: Add tests for "set width/height -1".
1521 2019-02-27 Pedro Alves <palves@redhat.com>
1523 * gdb.base/page.exp: Add tests for "set/show width/height" with
1526 2019-02-27 Tom Tromey <tromey@adacore.com>
1528 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
1530 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
1533 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
1535 * gdb.base/align.exp: Extend to compile in both C and C++, and add
1536 tests for structs with static members.
1538 2019-02-26 Tom Tromey <tromey@adacore.com>
1540 * gdb.python/py-value.exp (test_value_from_buffer): Check for
1541 ValueError, not TypeError.
1543 2019-02-26 Kevin Buettner <kevinb@redhat.com>
1545 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
1546 call from main program.
1548 2019-02-23 Joel Brobecker <brobecker@adacore.com>
1550 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
1551 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
1552 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
1553 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
1554 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
1556 2019-02-22 Keith Seitz <keiths@redhat.com>
1559 * gdb.base/symlink-sourcefile.c: New file.
1560 * gdb.base/symlink-sourcefile.exp: New file.
1562 2019-02-20 Tom Tromey <tom@tromey.com>
1564 * gdb.base/info_qt.exp: Update.
1566 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
1568 * gdb.base/source.exp: Move "error in sourced script" code to
1570 * gdb.base/source-error.gdb: Move contents to
1571 source-error-1.gdb. Add new code to source source-error-1.gdb.
1572 * gdb.base/source-error-1.gdb: New file, from previous
1575 2019-02-17 Tom Tromey <tom@tromey.com>
1577 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
1579 * gdb.base/style.c (SOME_MACRO): New macro.
1581 2019-02-17 Tom Tromey <tom@tromey.com>
1583 * gdb.base/style.exp: Add line-wrapping tests.
1584 * gdb.base/page.exp: Add test for quitting during pagination.
1586 2019-02-17 Joel Brobecker <brobecker@adacore.com>
1588 * gdb.ada/big_packed_array: New testcase.
1589 * gdb.ada/homonym.exp: Fix incorrect expected output for
1590 "break <homonym__get_value>" test.
1592 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
1594 PR breakpoints/21870
1595 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
1596 and prepare_for_testing. Add comment.
1597 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
1598 redundant cleanup call. Clean up comment.
1600 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
1602 PR breakpoints/21870
1603 * gdb.arch/aarch64-dbreg-contents.exp: New file.
1604 * gdb.arch/aarch64-dbreg-contents.c: New file.
1606 2019-02-10 Joel Brobecker <brobecker@adacore.com>
1608 * gdb.ada/mi_ref_changeable: New testcase.
1610 2019-02-07 Alan Hayward <alan.hayward@arm.com>
1612 * gdb.base/attach.exp: Add double attach test.
1614 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
1616 * lib/gdb.exp (default_gdb_start): Don't match pagination
1618 (gdb_init): Set stty_init.
1620 2019-01-27 Tom Tromey <tom@tromey.com>
1622 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
1625 2019-01-24 Alan Hayward <alan.hayward@arm.com>
1627 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
1629 (struct struct_static_02_02): Likewise.
1630 (struct struct_static_02_03): Likewise.
1631 (struct struct_static_02_04): Likewise.
1632 (struct struct_static_04_01): Likewise.
1633 (struct struct_static_04_02): Likewise.
1634 (struct struct_static_04_03): Likewise.
1635 (struct struct_static_04_04): Likewise.
1636 (struct struct_static_06_01): Likewise.
1637 (struct struct_static_06_02): Likewise.
1638 (struct struct_static_06_03): Likewise.
1639 (struct struct_static_06_04): Likewise.
1640 (cmp_struct_static_02_01): Likewise.
1641 (cmp_struct_static_02_02): Likewise.
1642 (cmp_struct_static_02_03): Likewise.
1643 (cmp_struct_static_02_04): Likewise.
1644 (cmp_struct_static_04_01): Likewise.
1645 (cmp_struct_static_04_02): Likewise.
1646 (cmp_struct_static_04_03): Likewise.
1647 (cmp_struct_static_04_04): Likewise.
1648 (cmp_struct_static_06_01): Likewise.
1649 (cmp_struct_static_06_02): Likewise.
1650 (cmp_struct_static_06_03): Likewise.
1651 (cmp_struct_static_06_04): Likewise.
1652 (call_all): Test new structs.
1653 * gdb.base/infcall-nested-structs.exp: Likewise.
1655 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1656 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
1658 2019-01-21 Alan Hayward <alan.hayward@arm.com>
1659 * gdb.base/stack-protector.c: New test.
1660 * gdb.base/stack-protector.exp: New file.
1661 * gdb.cp/ovldbreak.exp: Only allow a single break line.
1662 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
1664 (gdb_compile): Remove stack protector for GCC and prevent
1667 2019-01-16 Keith Seitz <keiths@redhat.com>
1670 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
1672 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1674 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
1676 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
1678 * gdb.arch/powerpc-vector-regs.c: New file.
1679 * gdb.arch/powerpc-vector-regs.exp: New file.
1681 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1683 * gdb.arch/altivec-regs.exp: Fix the list passed to
1684 gdb_expect_list when testing "info vector".
1686 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1688 * gdb.base/style.exp: Don't include path in testname.
1690 2019-01-10 Keith Seitz <keiths@redhat.com>
1694 * gdb.dwarf2/multidictionary.exp: New file.
1696 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
1698 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
1699 (test_gnuv3_style_demangling): ... this.
1700 (test_lucid_style_demangling): Remove.
1701 (test_arm_style_demangling): Remove.
1702 (test_hp_style_demangling): Remove.
1703 (do_tests): Remove calls to the above.
1705 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
1707 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
1710 2019-01-06 Tom Tromey <tom@tromey.com>
1713 * gdb.dwarf2/typedef-void-finish.exp: New file.
1715 2018-12-28 Tom Tromey <tom@tromey.com>
1716 Simon Marchi <simark@simark.ca>
1718 * gdb.base/jit-exec.exp: New file.
1719 * gdb.base/jit-exec.c: New file.
1720 * gdb.base/jit-execd.c: New file.
1722 2018-12-28 Tom Tromey <tom@tromey.com>
1724 * gdb.base/style.exp: Update test to check for address styling.
1726 2018-12-28 Tom Tromey <tom@tromey.com>
1728 * gdb.base/style.exp: Add test for styling of "Reading symbols"
1731 2018-12-28 Tom Tromey <tom@tromey.com>
1733 * gdb.base/style.exp: Add test for version number styling.
1735 2018-12-28 Tom Tromey <tom@tromey.com>
1737 * gdb.base/style.exp: Add test for print_address_symbolic.
1739 2018-12-28 Tom Tromey <tom@tromey.com>
1741 * gdb.base/style.exp: Add test for breakpoint setting.
1743 2018-12-28 Tom Tromey <tom@tromey.com>
1745 * gdb.base/style.exp: Add test for variable names.
1747 2018-12-28 Tom Tromey <tom@tromey.com>
1749 * gdb.base/style.exp: New file.
1750 * gdb.base/style.c: New file.
1752 2018-12-28 Tom Tromey <tom@tromey.com>
1754 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
1756 * gdb.base/readline.exp (operate_and_get_next): Save and restore
1757 the TERM environment variable.
1759 2018-12-27 Tom Tromey <tom@tromey.com>
1761 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
1764 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
1766 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
1767 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
1769 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1771 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
1772 Filename a.adb changed to bp_fun_addr.adb.
1773 gdb.ada/bp_fun_addr.exp: Update test accordingly.
1775 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
1777 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
1778 non-PIE executables.
1779 * README: Mention the gdb,nopie_flag board setting.
1780 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
1782 * gdb.arch/amd64-entry-value.exp: Likewise.
1783 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
1784 * gdb.arch/i386-float.exp: Likewise.
1785 * gdb.arch/i386-signal.exp: Likewise.
1786 * gdb.mi/mi-reg-undefined.exp: Likewise.
1788 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
1791 * gdb.base/info-os.exp: Check return for unknown "info os" type.
1793 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1795 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
1796 Update order of results accordingly.
1798 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
1800 * gdb.base/annota1.exp: Update a test regexp.
1802 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1804 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
1806 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1808 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
1809 (reuse_time): Initialize to REUSE_TIME_CAP.
1810 (check_rc): New function.
1811 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
1812 Check pthread_create rc.
1813 (spawner_thread_func): Check pthread_create and pthread_join rc.
1815 2018-12-08 Pedro Alves <palves@redhat.com>
1817 * gdb.base/list.exp (test_forward_search): Rename to ...
1818 (test_forward_reverse_search): ... this. Also test reverse-search
1819 and the forward-search alias.
1821 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
1823 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
1824 local timeout variable before return, and remove all local timeout
1826 (gdb_load): Likewise.
1828 2018-12-01 Tom de Vries <tdevries@suse.de>
1830 * gdb.base/gdb-caching-proc.exp: New file.
1832 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
1834 * Makefile.in (TIMESTAMP): New variable.
1835 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
1837 (check-single-racy): Likewise.
1838 (check/%.exp): Likewise.
1839 (check-racy/%.exp): Likewise.
1840 (workers/%.worker): Likewise.
1841 (build-perf): Likewise.
1842 (check-perf): Likewise.
1843 * README: Describe new "TS" and "TS_FORMAT" variables.
1844 * print-ts.py: New file.
1846 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
1849 * gdb.python/python.exp: Test command repetition after
1852 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
1854 * gdb.opt/inline-break.exp: Add test that info breakpoint output
1855 is correctly aligned.
1857 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1859 * gdb.ada/info_auto_lang.exp: New testcase.
1860 * gdb.ada/info_auto_lang/global_pack.ads: New file.
1861 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
1862 * gdb.ada/info_auto_lang/some_c.c: New file.
1864 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1866 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
1867 FUNC_lang language syntax.
1869 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1871 * gdb.base/info_minsym.c: New file.
1872 * gdb.base/info_minsym.exp: New file.
1874 2018-11-19 Tom Tromey <tom@tromey.com>
1877 * gdb.rust/simple.exp: Add ptype test. Update expected output.
1878 * gdb.rust/expr.exp: Update expected output. Change one test.
1880 2018-11-19 Tom Tromey <tom@tromey.com>
1882 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
1884 2018-11-19 Pedro Alves <palves@redhat.com>
1886 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
1887 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
1888 see the expected warning.
1890 2018-11-16 Alan Hayward <alan.hayward@arm.com>
1893 * gdb.cp/infcall-nodebug-lib.c: New test.
1894 * gdb.cp/infcall-nodebug-main.c: New test.
1895 * gdb.cp/infcall-nodebug.exp: New file.
1897 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
1899 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
1902 2018-11-09 Tom de Vries <tdevries@suse.de>
1904 * gdb.base/msym-lang.c: New test.
1905 * gdb.base/msym-lang.exp: New file.
1906 * gdb.base/msym-lang-main.c: New test.
1908 2018-11-08 Tom Tromey <tom@tromey.com>
1912 * gdb.base/warning.exp: New file.
1914 2018-11-08 Jan Beulich <jbeulich@suse.com>
1916 * testsuite/gdb.arch/i386-avx512.c,
1917 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
1919 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
1921 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
1924 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
1926 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
1927 * gdb.dwarf2/missing-type-name.exp: New file.
1929 2018-11-06 Tom de Vries <tdevries@suse.de>
1931 * gdb.base/many-headers.c: New test.
1932 * gdb.base/many-headers.exp: New file.
1934 2018-11-06 Jim Wilson <jimw@sifive.com>
1936 * gdb.base/code_elim.exp: For riscv, set additional_flags
1937 to include -msmall-data-limit=0.
1939 2018-11-01 Joel Brobecker <brobecker@adacore.com>
1941 * gdb.ada/watch_minus_l: New testcase.
1943 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
1945 * gdb.arch/aix-sighandle.c: New file.
1946 * gdb.arch/aix-sighandle.exp: New file.
1948 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1950 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
1951 registers being unions.
1953 2018-10-31 Tom de Vries <tdevries@suse.de>
1955 * lib/valgrind.exp: New file.
1956 (vgdb_start, vgdb_stop): New procs, factored out of ...
1957 * gdb.base/valgrind-bt.exp: ... here, ...
1958 * gdb.base/valgrind-disp-step.exp: ... here and ...
1959 * gdb.base/valgrind-infcall.exp: ... here.
1961 2018-10-31 Tom de Vries <tdevries@suse.de>
1963 * lib/gdb.exp (get_valueof): Don't output read value in test name.
1965 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
1967 * gdb.dwarf2/void-type.c: New file.
1968 * gdb.dwarf2/void-type.exp: New file.
1970 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1972 * gdb.base/info_qt.c: New file.
1973 * gdb.base/info_qt.exp: New file.
1975 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1977 * gdb.arch/powerpc-htm-regs.c: New file.
1978 * gdb.arch/powerpc-htm-regs.exp: New file.
1980 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1982 * gdb.arch/powerpc-tar.c: New file.
1983 * gdb.arch/powerpc-tar.exp: New file.
1985 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1987 * gdb.arch/powerpc-ppr-dscr.c: New file.
1988 * gdb.arch/powerpc-ppr-dscr.exp: New file.
1990 2018-10-25 Tom de Vries <tdevries@suse.de>
1992 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
1994 2018-10-24 Tom de Vries <tdevries@suse.de>
1996 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
1997 longer exists error.
1999 2018-10-24 Tom de Vries <tdevries@suse.de>
2001 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
2003 2018-10-24 Tom de Vries <tdevries@suse.de>
2005 * gdb.base/valgrind-db-attach.exp: Handle removed support for
2006 --db-attach in valgrind.
2008 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
2010 * gdb.arch/riscv-reg-aliases.c: New file.
2011 * gdb.arch/riscv-reg-aliases.exp: New file.
2013 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2015 * gdb.python/py-cmd.exp: Check for gdb_prompt.
2017 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2019 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
2021 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2023 * gdb.cp/ovldbreak.exp: Fix regexps.
2025 2018-10-19 Alan Hayward <alan.hayward@arm.com>
2027 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
2029 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
2032 * gdb.base/restore.exp: New test to check if "restore" with an
2033 invalid file doesn't segfault.
2035 2018-10-18 Tom de Vries <tdevries@suse.de>
2037 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
2038 * gdb.ada/excep_handle.exp: Same.
2039 * gdb.ada/mi_string_access.exp: Same.
2040 * gdb.ada/mi_var_union.exp: Same.
2041 * gdb.arch/arc-analyze-prologue.exp: Same.
2042 * gdb.arch/arc-decode-insn.exp: Same.
2043 * gdb.base/readnever.exp: Same.
2044 * gdb.fortran/printing-types.exp: Same.
2045 * gdb.guile/scm-lazy-string.exp: Same.
2047 2018-10-16 Tom de Vries <tdevries@suse.de>
2050 * gdb.base/catch-follow-exec.c: Add copyright notice.
2051 * gdb.base/catch-follow-exec.exp: Rewrite to use
2052 gdb_spawn_with_cmdline_opts. Require gdb-native.
2054 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
2056 * gdb.trace/actions-changed.exp: Check for arch support.
2057 * gdb.trace/actions.exp: Likewise.
2058 * gdb.trace/ax.exp: Likewise.
2059 * gdb.trace/backtrace.exp: Likewise.
2060 * gdb.trace/change-loc.exp: Likewise.
2061 * gdb.trace/deltrace.exp: Likewise.
2062 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
2063 * gdb.trace/ftrace.exp: Likewise.
2064 * gdb.trace/infotrace.exp: Check for arch support.
2065 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
2066 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
2067 * gdb.trace/mi-tsv-changed.exp: Likewise.
2068 * gdb.trace/packetlen.exp: Likewise.
2069 * gdb.trace/passc-dyn.exp: Likewise.
2070 * gdb.trace/passcount.exp: Likewise.
2071 * gdb.trace/pending.exp: Likewise.
2072 * gdb.trace/range-stepping.exp: Check for shlib support.
2073 * gdb.trace/report.exp: Check for arch support.
2074 * gdb.trace/save-trace.exp: Likewise.
2075 * gdb.trace/signal.exp: Check for signal support.
2076 * gdb.trace/tfind.exp: Check for arch support.
2077 * gdb.trace/trace-break.exp: Check for arch and shlib support.
2078 * gdb.trace/trace-common.h: Add comment.
2079 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
2080 * gdb.trace/trace-enable-disable.exp: Likewise.
2081 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
2082 * gdb.trace/tracecmd.exp: Check for arch support.
2083 * gdb.trace/tspeed.exp: Check for shlib and target support.
2084 * gdb.trace/tstatus.exp: Check for arch support.
2085 * gdb.trace/tsv.exp: Likewise.
2086 * gdb.trace/while-dyn.exp: Likewise.
2087 * gdb.trace/while-stepping.exp: Likewise.
2088 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
2090 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
2092 * gdb.trace/tspeed.exp: Remove nowarnings.
2093 (prepare_for_trace_test): Declare "global ipalib".
2094 * gdb.trace/tspeed.c: Include unistd.h.
2095 (main): Remove superfluous printf argument.
2097 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
2099 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
2100 directory prefix on the filename.
2102 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
2104 * gdb.gdb/unittest.exp: Update expected message informing that
2105 selftests have been disabled.
2106 * gdb.server/unittest.exp: Likewise.
2108 2018-10-09 Tom de Vries <tdevries@suse.de>
2110 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
2113 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
2116 * gdb.cp/virtbase2.cc: New file.
2117 * gdb.cp/virtbase2.exp: New file.
2119 2018-10-06 Tom Tromey <tom@tromey.com>
2122 * gdb.python/py-inferior.exp: Add architecture test.
2124 2018-10-06 Tom Tromey <tom@tromey.com>
2126 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
2127 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
2129 2018-10-06 Tom Tromey <tom@tromey.com>
2131 * gdb.python/py-breakpoint.exp (check_last_event): Check location
2132 of a "throw" catchpoint.
2134 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
2136 * gdb.base/info-proc.exp: Update string expected from "help info
2139 2018-10-04 Tom Tromey <tom@tromey.com>
2141 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
2142 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
2143 (test_initial_complaints, test_empty_complaints): Update.
2144 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2146 2018-10-04 Tom Tromey <tom@tromey.com>
2149 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
2150 * lib/gdb.exp (gdb_file_cmd): Update.
2151 * gdb.stabs/weird.exp (print_weird_var): Update.
2152 * gdb.server/solib-list.exp: Update.
2153 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
2154 * gdb.mi/mi-cli.exp: Update.
2155 * gdb.linespec/linespec.exp: Update.
2156 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
2157 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
2158 * gdb.cp/cp-relocate.exp: Update.
2159 * gdb.base/sym-file.exp: Update.
2160 * gdb.base/relocate.exp: Update.
2161 * gdb.base/readnever.exp: Update.
2162 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2163 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
2164 * gdb.base/dbx.exp (gdb_file_cmd): Update.
2165 * gdb.base/code_elim.exp: Update.
2166 * gdb.base/break-unload-file.exp (test_break): Update.
2167 * gdb.base/break-interp.exp (test_attach_gdb): Update.
2168 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
2170 * gdb.base/attach.exp (do_attach_tests): Update.
2171 * gdb.base/sepdebug.exp: Update.
2172 * gdb.python/py-section-script.exp: Update.
2174 2018-10-04 Tom Tromey <tom@tromey.com>
2177 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
2178 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
2181 2018-10-04 Tom Tromey <tom@tromey.com>
2183 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
2184 set width and height to 0.
2185 (test_command_line_attach_run): Use -quiet.
2187 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
2189 * lib/gdb.exp (skip_ifunc_tests): New.
2190 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
2191 other compile failures.
2192 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
2194 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
2196 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
2197 is_amd64_regs_target.
2199 2018-10-01 Alan Hayward <alan.hayward@arm.com>
2201 * gdb.arch/aarch64-sighandler-regs.c: New test.
2202 * gdb.arch/aarch64-sighandler-regs.exp: New file.
2203 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
2205 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
2207 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
2210 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
2212 * gdb.base/frame-selection.exp: New file.
2213 * gdb.base/frame-selection.c: New file.
2215 2018-09-27 Alan Hayward <alan.hayward@arm.com>
2217 * gdb.threads/check-libthread-db.c (thread_routine): Use a
2221 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
2223 * gdb.base/large-frame-1.c: New file.
2224 * gdb.base/large-frame-2.c: New file.
2225 * gdb.base/large-frame.exp: New file.
2226 * gdb.base/large-frame.h: New file.
2228 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2231 * gdb.base/write_mem.exp: New test.
2232 * gdb.base/write_mem.c: Likewise.
2234 2018-09-23 Tom Tromey <tom@tromey.com>
2237 * gdb.python/py-parameter.exp: Add test for parameter that throws
2240 2018-09-23 Tom Tromey <tom@tromey.com>
2243 * gdb.python/py-template.exp (test_template_arg): Add test for
2244 negative template argument number.
2246 2018-09-23 Tom Tromey <tom@tromey.com>
2249 * gdb.python/python.exp: Add test for post_event error.
2251 2018-09-23 Tom Tromey <tom@tromey.com>
2254 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
2255 convert pointers to int and long.
2257 2018-09-23 Tom Tromey <tom@tromey.com>
2260 * gdb.python/py-value.exp (test_value_numeric_ops): Add
2261 signed-ness conversion tests.
2263 2018-09-23 Tom Tromey <tom@tromey.com>
2266 * gdb.python/py-value.exp (test_float_conversion): New proc.
2269 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
2271 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
2273 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
2275 * gdb.base/complete-empty.exp: Skip tab-completion tests if
2277 * gdb.base/utf8-identifiers.exp: Likewise.
2278 * gdb.cp/cpcompletion.exp: Likewise.
2279 * gdb.linespec/cpcompletion.exp: Likewise.
2280 * gdb.linespec/cpls-abi-tag.exp: Likewise.
2281 * gdb.linespec/cpls-ops.exp: Likewise.
2283 2018-09-19 Richard Bunt <richard.bunt@arm.com>
2284 Chris January <chris.january@arm.com>
2286 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
2287 * gdb.fortran/short-circuit-argument-list.exp: New file.
2288 * gdb.fortran/short-circuit-argument-list.f90: New test.
2290 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2292 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
2293 "arch=" keyword when executing "-stack-list-frames".
2295 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2297 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
2298 "arch=" keyword when executing "-stack-list-frames".
2300 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
2302 * gdb.ada/complete.exp: Expect for "@" when doing "complete
2305 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
2308 * gdb.python/python.exp: Test gdb.execute("show commands").
2310 2018-09-16 Tom Tromey <tom@tromey.com>
2312 * gdb.base/new-ui.exp (do_execution_tests): Update.
2313 * gdb.base/dbx.exp (test_breakpoints): Update.
2315 2018-09-14 Alan Hayward <alan.hayward@arm.com>
2317 * lib/gdb.exp (gdb_simple_compile): Add proc.
2318 (is_elf_target): Use gdb_simple_compile.
2319 (skip_altivec_tests): Likewise.
2320 (skip_vsx_tests): Likewise.
2321 (skip_tsx_tests): Likewise.
2322 (skip_btrace_tests): Likewise.
2323 (skip_btrace_pt_tests): Likewise.
2324 (gdb_can_simple_compile): Likewise.
2325 (gdb_has_argv0): Likewise.
2326 (gdb_target_symbol_prefix): Likewise.
2327 (target_supports_scheduler_locking): Likewise.
2329 2018-09-13 Tom Tromey <tom@tromey.com>
2331 * Makefile.in (TAGS): Recognize proc_with_prefix and
2334 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2336 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
2339 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2341 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
2342 and a few other Inferior properties when the Inferior is no
2345 2018-09-13 Tom Tromey <tom@tromey.com>
2348 * gdb.rust/simple.exp: Add test for enum field access error.
2350 2018-09-13 Tom Tromey <tom@tromey.com>
2353 * gdb.rust/simple.rs (EmptyEnum): New type.
2355 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
2357 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
2359 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
2360 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
2361 * gdb.python/py-symtab.exp: Update test printing an objfile.
2363 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
2365 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
2368 2018-09-12 Alan Hayward <alan.hayward@arm.com>
2370 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
2371 (support_complex_tests): Use gdb_can_simple_compile.
2372 (is_ilp32_target): Likewise.
2373 (is_lp64_target): Likewise.
2374 (is_64_target): Likewise.
2375 (is_amd64_regs_target): Likewise.
2376 (is_aarch32_target): Likewise.
2377 (gdb_int128_helper): Likewise.
2379 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2381 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
2383 2018-09-10 Jerome Guitton <guitton@adacore.com>
2385 * gdb.ada/same_component_name: Add test for case of tagged record
2386 with variable-length fields.
2388 2018-09-10 Xavier Roirand <roirand@adacore.com>
2390 * gdb.ada/access_to_unbounded_array.exp: New testcase.
2391 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
2392 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
2393 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
2395 2018-09-10 Xavier Roirand <roirand@adacore.com>
2397 * gdb.ada/mi_string_access.exp: New testcase.
2398 * gdb.ada/mi_string_access/bar.adb: New file.
2399 * gdb.ada/mi_string_access/pck.adb: New file.
2400 * gdb.ada/mi_string_access/pck.asd: New file.
2402 2018-09-10 Xavier Roirand <roirand@adacore.com>
2404 * gdb.ada/mi_var_union.exp: New testcase.
2405 * gdb.ada/mi_var_union/bar.adb: New file.
2406 * gdb.ada/mi_var_union/pck.adb: New file.
2407 * gdb.ada/mi_var_union/pck.asd: New file.
2409 2018-09-08 Tom Tromey <tom@tromey.com>
2411 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
2413 2018-09-08 Tom Tromey <tom@tromey.com>
2416 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
2417 (register_pretty_printers): Register new printer.
2418 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
2420 * gdb.python/py-prettyprint.c (int_type3): New typedef.
2421 (an_int_type3): New global.
2423 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2425 * gdb.ada/expr_with_funcall: New testcase.
2427 2018-09-08 Joel Brobecker <brobecker@adacore.com>
2429 * gdb.ada/packed_array_assign: New testcase.
2431 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
2433 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
2434 names, and add test prefixes to make test names unique.
2436 2018-09-05 Tom de Vries <tdevries@suse.de>
2438 * gdb.dwarf2/varval.exp: Add test.
2440 2018-09-04 Gary Benson <gbenson@redhat.com>
2442 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
2443 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
2445 2018-08-31 Tom Tromey <tom@tromey.com>
2447 * gdb.rust/simple.rs: Rename second variable "v".
2449 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
2451 * gdb.base/funcargs.c (use_a): New function.
2452 (recurse): Call use_a.
2454 2018-08-29 Keith Seitz <keiths@redhat.com>
2456 * gdb.compile/compile-cplus-anonymous.cc: New file.
2457 * gdb.compile/compile-cplus-anonymous.exp: New file.
2458 * gdb.compile/compile-cplus-array-decay.cc: New file.
2459 * gdb.compile/compile-cplus-array-decay.exp: New file.
2460 * gdb.compile/compile-cplus-inherit.cc: New file.
2461 * gdb.compile/compile-cplus-inherit.exp: New file.
2462 * gdb.compile/compile-cplus-member.cc: New file.
2463 * gdb.compile/compile-cplus-member.exp: New file.
2464 * gdb.compile/compile-cplus-method.cc: New file.
2465 * gdb.compile/compile-cplus-method.exp: New file.
2466 * gdb.compile/compile-cplus-mod.c: "New" file.
2467 * gdb.compile/compile-cplus-namespace.cc: New file.
2468 * gdb.compile/compile-cplus-namespace.exp: New file.
2469 * gdb.compile/compile-cplus-nested.cc: New file.
2470 * gdb.compile/compile-cplus-nested.exp: New file.
2471 * gdb.compile/compile-cplus-print.c: "New" file.
2472 * gdb.compile/compile-cplus-print.exp: "New" file.
2473 * gdb.compile/compile-cplus-virtual.cc: New file.
2474 * gdb.compile/compile-cplus-virtual.exp: New file.
2475 * gdb.compile/compile-cplus.c: "New" file.
2476 * gdb.compile/compile-cplus.exp: "New" file.
2477 * lib/compile-support.exp: New file.
2479 2018-08-16 Gary Benson <gbenson@redhat.com>
2482 * gdb.base/batch-exit-status.exp: New file.
2483 * gdb.base/batch-exit-status.good-commands: Likewise.
2484 * gdb.base/batch-exit-status.bad-commands: Likewise.
2486 2018-08-29 Alan Hayward <alan.hayward@arm.com>
2488 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
2489 (struct struct02): Likewise.
2490 (struct struct03): Likewise.
2491 (struct struct04): Likewise.
2492 (struct struct_01_01): New struct.
2493 (struct struct_01_02): Likewise.
2494 (struct struct_01_03): Likewise.
2495 (struct struct_01_04): Likewise.
2496 (struct struct_02_01): Likewise.
2497 (struct struct_02_02): Likewise.
2498 (struct struct_02_03): Likewise.
2499 (struct struct_02_04): Likewise.
2500 (struct struct_04_01): Likewise.
2501 (struct struct_04_02): Likewise.
2502 (struct struct_04_03): Likewise.
2503 (struct struct_04_04): Likewise.
2504 (struct struct_05_01): Likewise.
2505 (struct struct_05_02): Likewise.
2506 (struct struct_05_03): Likewise.
2507 (struct struct_05_04): Likewise.
2508 (cmp_struct01): Remove function.
2509 (cmp_struct02): Likewise.
2510 (cmp_struct03): Likewise.
2511 (cmp_struct04): Likewise.
2512 (cmp_struct_01_01): Add Function.
2513 (cmp_struct_01_02): Likewise.
2514 (cmp_struct_01_03): Likewise.
2515 (cmp_struct_01_04): Likewise.
2516 (cmp_struct_02_01): Likewise.
2517 (cmp_struct_02_02): Likewise.
2518 (cmp_struct_02_03): Likewise.
2519 (cmp_struct_02_04): Likewise.
2520 (cmp_struct_04_01): Likewise.
2521 (cmp_struct_04_02): Likewise.
2522 (cmp_struct_04_03): Likewise.
2523 (cmp_struct_04_04): Likewise.
2524 (cmp_struct_05_01): Likewise.
2525 (cmp_struct_05_02): Likewise.
2526 (cmp_struct_05_03): Likewise.
2527 (cmp_struct_05_04): Likewise.
2528 (call_all): Add new structs.
2529 * gdb.base/infcall-nested-structs.exp: Likewise.
2531 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
2533 * gdb.python/py-framefilter-mi.exp: Update regexp to
2534 check for "arch" field in frame output.
2536 2018-08-23 Kevin Buettner <kevinb@redhat.com>
2538 * gdb.dwarf2/dw2-ranges-func.c: New file.
2539 * gdb.dwarf2/dw2-ranges-func.exp: New file.
2541 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
2543 * gdb.base/term.exp: Compare terminal settings with values from
2545 * gdb.base/term.c: Get and set terminal settings.
2547 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
2549 * lib/mi-support.exp (mi_expect_stop): Update regexp to
2550 accommodate new "arch" field in frame output.
2551 * gdb.mi/mi-return.exp: Likewise.
2552 * gdb.mi/mi-stack.exp: Likewise.
2553 * gdb.mi/mi-syn-frame.exp: Likewise.
2554 * gdb.mi/user-selected-context-sync.exp: Likewise.
2556 2018-08-19 Michael Spang <spang@google.com>
2559 * gdb.base/gcore-tls-pie.c: New file.
2560 * gdb.base/gcore-tls-pie.exp: New file.
2562 2018-08-18 Kevin Buettner <kevinb@redhat.com>
2564 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
2565 * gdb.dwarf2/varval.c: New file.
2566 * gdb.dwarf2/varval.exp: New file.
2568 2018-08-17 Alan Hayward <alan.hayward@arm.com>
2571 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
2573 2018-08-16 Keith Seitz <keiths@redhat.com>
2575 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
2576 tests expected to pass.
2578 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
2580 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
2581 -data-disassemble -a.
2582 (test_disassembly_bogus_args): Likewise.
2584 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
2586 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
2588 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2590 * gdb.base/vla-optimized-out.exp: Add new test.
2592 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
2594 * gdb.base/vla-optimized-out-o3.exp: Delete.
2595 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
2596 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
2599 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
2602 * gdb.server/extended-remote-restart.c: New file.
2603 * gdb.server/extended-remote-restart.exp: New file.
2605 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
2607 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
2608 "set variable index = 42".
2610 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
2612 * boards/index-cache-gdb.exp: New file.
2613 * gdb.dwarf2/index-cache.exp: New file.
2614 * gdb.dwarf2/index-cache.c: New file.
2615 * gdb.base/maint.exp: Check if we are using the index cache.
2617 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2619 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
2622 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2624 * dg-extract-results.sh: Move to toplevel contrib.
2625 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
2626 * Makefile.in (check-parallel-racy): Likewise.
2628 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
2630 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
2631 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
2632 tests if the target supports scheduler locking.
2634 2018-08-04 Tom de Vries <tdevries@suse.de>
2636 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
2638 2018-08-02 Tom Tromey <tom@tromey.com>
2641 * gdb.cp/temargs.exp: Test "info address" of a template
2644 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
2646 * gdb.python/py-mi-var-info-path-expression.c: New file.
2647 * gdb.python/py-mi-var-info-path-expression.py: New file.
2648 * gdb.python/py-mi-var-info-path-expression.exp: New file.
2650 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
2652 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
2653 error after "cannot resolve name" string.
2655 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
2657 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
2659 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
2661 2018-07-28 Tom de Vries <tdevries@suse.de>
2663 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
2665 2018-07-26 Tom de Vries <tdevries@suse.de>
2667 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
2669 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
2671 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
2674 2018-07-26 Tom de Vries <tdevries@suse.de>
2676 PR breakpoints/23366
2677 * gdb.base/catch-follow-exec.c: New test.
2678 * gdb.base/catch-follow-exec.exp: New file.
2680 2018-07-25 Tom de Vries <tdevries@suse.de>
2682 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
2683 vla-optimized-out.c.
2685 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
2687 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
2688 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
2690 2018-07-20 Tom de Vries <tdevries@suse.de>
2692 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
2694 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
2696 2018-07-19 Tom de Vries <tdevries@suse.de>
2698 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
2701 2018-07-18 Tom de Vries <tdevries@suse.de>
2703 * gdb.base/vla-optimized-out.c: New test.
2704 * gdb.base/vla-optimized-out.exp: New file.
2706 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
2708 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
2709 message "No address associated with hostname" when gdbserver
2710 cannot resolve the hostname.
2712 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2714 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
2715 Add some test prefixes to make tests unique.
2717 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2719 * gdb.base/frameapply.c: New file.
2720 * gdb.base/frameapply.exp: New file.
2722 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2724 * gdb.base/skip.exp: Update expected error message.
2726 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
2727 Jan Kratochvil <jan.kratochvil@redhat.com>
2728 Paul Fertser <fercerpav@gmail.com>
2729 Tsutomu Seki <sekiriki@gmail.com>
2731 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
2733 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
2735 * boards/native-gdbserver.exp: Likewise.
2736 * gdb.server/run-without-local-binary.exp: Improve regexp used
2737 for detecting when a remote debugging connection succeeds.
2738 * gdb.server/server-connect.exp: New file.
2739 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
2740 Do not prefix the port number with ":".
2741 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
2742 support for detecting and using it. Add '$debughost_gdbserver'
2743 to the list of arguments used to start gdbserver. Handle case
2744 when gdbserver cannot resolve a network name.
2746 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
2749 * gdb.base/ptype-offsets.cc (struct static_member): New
2751 (main) <stmember>: New variable.
2752 * gdb.base/ptype-offsets.exp: Add test for printing a struct
2753 with a static member in it.
2755 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
2757 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
2758 watchpoints enabled and disabled.
2760 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2762 * gdb.base/examine-backward.exp: Still run tests around address
2763 0x0, even if address 0x0 is not readable. Update the pattern for
2764 matching address 0x0 in expected output.
2766 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
2768 * gdb.base/share-env-with-gdbserver.c (main): Add call to
2771 2018-07-04 Tom de Vries <tdevries@suse.de>
2773 * gdb.dwarf2/dw2-error.exp: Update expected error message.
2775 2018-07-02 Maciej W. Rozycki <macro@mips.com>
2778 * gdb.arch/mips-disassembler-options.exp: New test.
2779 * gdb.arch/mips-disassembler-options.s: New test source.
2781 2018-06-29 Pedro Alves <palves@redhat.com>
2783 * gdb.threads/names.exp: Adjust expected "info threads" output.
2785 2018-06-29 Pedro Alves <palves@redhat.com>
2787 * gdb.opt/inline-break.exp (line number, address): Add "info
2790 2018-06-29 Pedro Alves <palves@redhat.com>
2792 * gdb.opt/inline-break.c (func1): Add "break here" marker.
2793 * gdb.opt/inline-break.exp: Test setting breakpoints by line
2794 number and address and running to them.
2796 2018-06-29 Richard Bunt <richard.bunt@arm.com>
2798 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
2800 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2802 * lib/compiler.c: Remove executable permission flag.
2804 2018-06-28 Richard Bunt <richard.bunt@arm.com>
2806 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
2808 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
2810 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
2812 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
2814 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
2816 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
2817 address argument is omitted.
2819 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
2821 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
2823 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
2826 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
2827 * gdb.base/infoline-reloc-main-from-zero.c: New file.
2829 2018-06-26 Tom Tromey <tom@tromey.com>
2832 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
2833 * gdb.rust/simple.rs (struct SimpleLayout): New.
2835 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
2837 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
2838 "info registers" output.
2840 2018-06-21 Richard Bunt <richard.bunt@arm.com>
2842 * gdb.base/watchpoint-hw-attach.c: New test.
2843 * gdb.base/watchpoint-hw-attach.exp: New file.
2845 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
2847 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
2849 * boards/dwarf4-gdb-index.exp: Likewise.
2850 * boards/fission-dwp.exp: Likewise.
2852 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
2854 * gdb.base/float128.exp: Add comment and improved fail message
2855 to the failure case of "print large128" test.
2857 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
2859 * configure.ac: Remove AC_PREREQ.
2860 * configure: Re-generate.
2862 2018-06-19 Pedro Alves <palves@redhat.com>
2864 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
2865 (func_extern_caller): New.
2866 (main): Call func_extern_caller.
2867 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
2870 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
2873 * gdb.cp/typedef-base.cc: New file.
2874 * gdb.cp/typedef-base.exp: New file.
2876 2018-06-18 Tom de Vries <tdevries@suse.de>
2878 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
2880 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
2881 Richard Bunt <Richard.Bunt@arm.com>
2883 * gdb.threads/attach-slow-waitpid.c: New file.
2884 * gdb.threads/attach-slow-waitpid.exp: New file.
2885 * gdb.threads/slow-waitpid.c: New file.
2887 2018-06-14 Pedro Alves <palves@redhat.com>
2889 * gdb.base/fork-running-state.c: Include <errno.h>.
2890 (exit_if_relative_exits): New.
2891 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
2893 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
2896 2018-06-14 Tom de Vries <tdevries@suse.de>
2899 * gdb.base/finish-pretty.c: New test.
2900 * gdb.base/finish-pretty.exp: New file.
2902 2018-06-14 Pedro Alves <palves@redhat.com>
2904 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
2905 gdb's expected startup output.
2907 2018-06-14 Pedro Alves <palves@redhat.com>
2909 * lib/selftest-support.exp (selftest_setup): Remove inlined
2912 2018-06-14 Tom de Vries <tdevries@suse.de>
2914 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
2915 matching of breakpoint printing.
2917 2018-06-13 Tom de Vries <tdevries@suse.de>
2920 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
2921 (fork_child): ... here, and ...
2922 (fork_parent): ... here.
2924 2018-06-12 Tom de Vries <tdevries@suse.de>
2926 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
2928 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
2929 Stephen Roberts <stephen.roberts@arm.com>
2931 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
2932 rewrite test to describe action performed, rather than possible
2935 2018-06-08 Gary Benson <gbenson@redhat.com>
2937 * gdb.threads/check-libthread-db.exp: New file.
2938 * gdb.threads/check-libthread-db.c: Likewise.
2940 2018-06-05 Tom Tromey <tom@tromey.com>
2942 * gdb.base/default.exp: Update expected "show version" output.
2944 2018-06-05 Tom Tromey <tom@tromey.com>
2947 * gdb.cp/static-print-quit.exp: Update.
2948 * lib/gdb.exp (pagination_prompt): Update.
2949 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
2950 * gdb.python/python.exp: Update.
2952 2018-06-04 Joel Brobecker <brobecker@adacore.com>
2954 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
2956 2018-06-01 Joel Brobecker <brobecker@adacore.com>
2958 * gdb.ada/bp_fun_addr: New testcase.
2960 2018-06-01 Tom Tromey <tom@tromey.com>
2962 * gdb.xml/tdesc-regs.exp (load_description): Update expected
2964 * gdb.dwarf2/method-ptr.exp: Set language to C++.
2965 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
2966 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
2967 * gdb.base/maint.exp (maint_pass_if): Update.
2969 2018-05-31 Maciej W. Rozycki <macro@mips.com>
2971 * gdb.base/endian.exp: New test.
2972 * gdb.base/endian.c: New test source.
2974 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
2977 * gdb.base/bt-selected-frame.c: New file.
2978 * gdb.base/bt-selected-frame.exp: New file.
2979 * lib/gdb.exp (get_current_frame_number): New function.
2981 2018-05-24 Maciej W. Rozycki <macro@mips.com>
2982 Pedro Alves <palves@redhat.com>
2984 * gdb.threads/tls-core.c: Include <stdlib.h>
2985 (thread_proc): Call `abort'.
2986 * gdb.threads/tls-core.exp: Generate a core with core_find too.
2987 (tls_core_test): New procedure, bits factored out from ...
2988 (top level): ... here. Test both native cores and gcore cores.
2990 2018-05-23 Tom Tromey <tom@tromey.com>
2992 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
2994 2018-05-23 Tom Tromey <tom@tromey.com>
2996 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
2998 (test_short_complaints): Likewise.
2999 (test_empty_complaints): Likewise.
3000 (test_initial_complaints): Update.
3002 2018-05-23 Tom Tromey <tom@tromey.com>
3004 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
3006 2018-05-23 Tom Tromey <tom@tromey.com>
3008 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
3009 (test_short_complaints): Update.
3011 2018-05-22 Pedro Alves <palves@redhat.com>
3013 * gdb.base/remote.exp: Only gdb_start after compiling the
3014 testcase. Issue "disconnect" before testing "set remote" command
3015 defaults. Issue clean_restart before running to main.
3017 2018-05-22 Pedro Alves <palves@redhat.com>
3019 * gdb.base/remote.exp: Adjust expected output of "show remote
3020 memory-write-packet-size". Add tests for "set remote
3021 memory-write-packet-size 0" and "set remote
3022 memory-write-packet-size fixed/limit".
3024 2018-05-22 Pedro Alves <palves@redhat.com>
3027 * gdb.base/utf8-identifiers.c: New file.
3028 * gdb.base/utf8-identifiers.exp: New file.
3030 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3032 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
3034 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
3036 * gdb.arch/powerpc-vsx-gcore.exp: New file.
3038 2018-05-18 Tom Tromey <tom@tromey.com>
3040 * gdb.base/ptype-offsets.exp: Update.
3042 2018-05-17 Keith Seitz <keiths@redhat.com>
3044 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
3045 in expected breakpoint stop locations.
3046 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
3047 move to proper scope to test variable values.
3048 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
3049 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
3051 (main): Call not_inline_func3.
3052 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
3053 inline_func1, inline_func2, and inline_func3. Test that when each
3054 breakpoint is hit, GDB properly reports both the stop location
3055 and the backtrace. Repeat tests for temporary breakpoints.
3057 2018-05-15 Maciej W. Rozycki <macro@mips.com>
3059 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
3060 rather then trying to access it in determining whether the PID
3061 of `gdbserver' could have been retrieved.
3063 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
3065 * gdb.arch/amd64-init-x87-values.S: New file.
3066 * gdb.arch/amd64-init-x87-values.exp: New file.
3068 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3070 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
3072 2018-05-04 Tom Tromey <tom@tromey.com>
3075 * gdb.python/python.exp: Test multi-line execute.
3077 2018-05-04 Tom Tromey <tom@tromey.com>
3080 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
3082 2018-05-04 Tom Tromey <tom@tromey.com>
3085 * gdb.base/define.exp: Test defining a user command inside a user
3087 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
3089 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3090 Pedro Alves <palves@redhat.com>
3092 PR breakpoints/19806 and support for PR external/20207.
3093 * gdb.base/watchpoint-unaligned.c: New file.
3094 * gdb.base/watchpoint-unaligned.exp: New file.
3096 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3098 * gdb.base/maint.exp: Make test names unique, use
3099 test_prefix_command_help to test 'help maint info', and remove
3100 repeated test of 'help maint'.
3102 2018-05-04 Tom Tromey <tom@tromey.com>
3105 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
3108 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3110 * gdb.base/maint.exp: Process output from 'maint print registers'
3113 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
3115 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
3118 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
3120 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
3123 2018-05-02 Pedro Alves <palves@redhat.com>
3125 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
3126 to_log_command renames.
3127 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
3129 2018-05-02 Tom Tromey <tom@tromey.com>
3131 * gdb.python/py-parameter.exp: Set test message.
3133 2018-05-02 Tom Tromey <tom@tromey.com>
3136 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
3137 PARAM_ZUINTEGER_UNLIMITED tests.
3139 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
3142 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
3145 2018-04-30 Tom Tromey <tom@tromey.com>
3147 * gdb.python/py-type.exp: Check align attribute.
3148 * gdb.python/py-type.c: New "aligncheck" global.
3150 2018-04-30 Tom Tromey <tom@tromey.com>
3153 * gdb.dwarf2/dw2-align.exp: New file.
3154 * gdb.cp/align.exp: New file.
3155 * gdb.base/align.exp: New file.
3156 * lib/gdb.exp (gdb_int128_helper): New proc.
3157 (has_int128_c, has_int128_cxx): New caching procs.
3159 2018-04-27 Tom Tromey <tom@tromey.com>
3162 * gdb.rust/simple.exp: Add inclusive range tests.
3164 2018-04-26 Pedro Alves <palves@redhat.com>
3166 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
3167 ifunc breakpoint locations correctly of ifunc breakpoints set
3168 while the program resolves the ifunc.
3170 2018-04-26 Pedro Alves <palves@redhat.com>
3172 * gdb.base/gnu-ifunc-final.c: New file.
3173 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
3174 * gdb.base/gnu-ifunc.exp (executable): Delete.
3175 (staticexecutable): Adjust.
3176 (lib_opts, exec_opts): Delete.
3177 (make_binsuffix, build, set-break): New procedures.
3178 (misc_tests): New, with tests factored out from the top level.
3179 (top level): Test different combinations of ifunc resolver name,
3180 resolver with and with debug info, and ifunc target with and
3181 without debug info. Wrap static tests with with_target_prefix.
3183 2018-04-26 Pedro Alves <palves@redhat.com>
3185 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
3186 return type" warnings.
3188 2018-04-25 Pedro Alves <palves@redhat.com>
3190 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
3192 * gdb.base/kill-after-signal.exp: Likewise.
3193 * gdb.threads/kill.exp: Likewise.
3195 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3196 Sergio Durigan Junior <sergiodj@redhat.com>
3197 Pedro Alves <palves@redhat.com>
3199 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
3200 regexps to expect for '[Inferior ... detached]' as well.
3201 * gdb.base/attach.exp: Likewise.
3202 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
3203 "gdb_continue_to_end".
3204 (test_catch_syscall_with_wrong_args): Likewise.
3205 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
3206 ']'. Don't set 'verbose' on.
3207 * gdb.base/foll-vfork.exp: Likewise.
3208 * gdb.base/fork-print-inferior-events.c: New file.
3209 * gdb.base/fork-print-inferior-events.exp: New file.
3210 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
3211 '[Inferior ... has been killed]' message.
3212 * gdb.base/kill-after-signal.exp: Likewise.
3213 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
3215 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
3217 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
3218 regexps to expect for '[Inferior ... detached]' as well.
3219 * gdb.threads/process-dies-while-detaching.exp: Likewise.
3221 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
3224 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
3226 2018-04-19 Richard Bunt <richard.bunt@arm.com>
3228 * gdb.threads/multiple-successive-infcall.c: New test.
3229 * gdb.threads/multiple-successive-infcall.exp: New file.
3231 2018-04-17 Tom Tromey <tom@tromey.com>
3233 * gdb.rust/simple.rs (Union): New type.
3234 (main): New local "u".
3235 * gdb.rust/simple.exp (test_one_slice): Add new test case.
3237 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3239 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
3240 number information in output of "whereis" command.
3241 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
3243 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3245 * gdb.ada/info_types.exp: Adjust expected output to the line
3246 numbers now printed by "info var/func/type".
3247 * gdb.base/completion.exp: Likewise.
3248 * gdb.base/included.exp: Likewise.
3249 * gdb.cp/cp-relocate.exp: Likewise.
3250 * gdb.cp/cplusfuncs.exp: Likewise.
3251 * gdb.cp/namespace.exp: Likewise.
3252 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
3254 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3256 * gdb.btrace/cpu.exp: New.
3258 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
3260 * gdb.base/step-indirect-call-thunk.exp: New.
3261 * gdb.base/step-indirect-call-thunk.c: New.
3262 * gdb.reverse/step-indirect-call-thunk.exp: New.
3263 * gdb.reverse/step-indirect-call-thunk.c: New.
3265 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
3267 * gdb.base/pie-fork.c: New file.
3268 * gdb.base/pie-fork.exp: New file.
3270 2018-04-11 Tom Tromey <tom@tromey.com>
3272 * gdb.rust/simple.exp: Add test for ".." struct initializer.
3274 2018-04-10 Pedro Alves <palves@redhat.com>
3276 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
3277 exits. Instead loop running forever.
3278 (fork_parent): Run forever too.
3280 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3282 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
3283 mi_continue_to_line.
3284 * gdb.mi/mi-stack.c (callee4): Add comment.
3286 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
3288 * gdb.mi/mi-stack.exp: Fix indentation.
3290 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3293 * gdb.arch/amd64-osabi.exp: New file.
3295 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
3298 * gdb.base/osabi.exp: New file.
3300 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
3302 * gdb.cp/static-typedef-print.exp: New file.
3303 * gdb.cp/static-typedef-print.cc: New file.
3305 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3307 * gdb.ada/varsize_limit: New testcase.
3309 2018-03-27 Joel Brobecker <brobecker@adacore.com>
3311 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
3313 * gdb.ada/notcplusplus: New testcase.
3315 * gdb.base/c-linkage-name.c: New file.
3316 * gdb.base/c-linkage-name.exp: New testcase.
3318 2018-03-26 Tom Tromey <tom@tromey.com>
3320 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
3321 * gdb.python/py-framefilter.py (name_error): New global.
3322 (ErrorInName.function): Use name_error.
3324 2018-03-26 Tom Tromey <tom@tromey.com>
3327 * gdb.python/py-framefilter.exp: Add "bt hide" test.
3329 2018-03-23 Keith Seitz <keiths@redhat.com>
3332 * gdb.cp/subtypes.exp: New file.
3333 * gdb.cp/subtypes.h: New file.
3334 * gdb.cp/subtypes.cc: New file.
3335 * gdb.cp/subtypes-2.cc: New file.
3337 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3339 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
3340 (done): Call '_exit' not 'exit' to avoid atexit handlers.
3341 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
3342 -nostartfiles when compiling the test. Confirm that all registers
3343 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
3345 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
3347 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
3348 option, syntax was wrong anyway.
3349 * gdb.arch/arm-disp-step.exp: Likewise.
3350 * gdb.arch/sparc64-regs.exp: Likewise.
3351 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
3352 option, syntax was wrong anyway, switch to use
3353 prepare_for_testing.
3354 * gdb.arch/i386-disp-step.exp: Likewise.
3356 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
3358 * gdb.ada/exec_changed.exp: Replace "target_info exists
3359 use_gdb_stub" by "use_gdb_stub".
3360 * gdb.ada/start.exp: Likewise.
3361 * gdb.base/async-shell.exp: Likewise.
3362 * gdb.base/attach-pie-misread.exp: Likewise.
3363 * gdb.base/attach-wait-input.exp: Likewise.
3364 * gdb.base/break-entry.exp: Likewise.
3365 * gdb.base/break-interp.exp: Likewise.
3366 * gdb.base/dprintf-detach.exp: Likewise.
3367 * gdb.base/nostdlib.exp: Likewise.
3368 * gdb.base/solib-nodir.exp: Likewise.
3369 * gdb.base/statistics.exp: Likewise.
3370 * gdb.base/testenv.exp: Likewise.
3371 * gdb.mi/mi-exec-run.exp: Likewise.
3372 * gdb.mi/mi-start.exp: Likewise.
3373 * gdb.multi/dummy-frame-restore.exp: Likewise.
3374 * gdb.multi/multi-arch-exec.exp: Likewise.
3375 * gdb.multi/multi-arch.exp: Likewise.
3376 * gdb.multi/tids.exp: Likewise.
3377 * gdb.multi/watchpoint-multi.exp: Likewise.
3378 * gdb.python/py-events.exp: Likewise.
3379 * gdb.threads/attach-into-signal.exp: Likewise.
3380 * gdb.threads/attach-stopped.exp: Likewise.
3381 * gdb.threads/threadapply.exp: Likewise.
3382 * lib/selftest-support.exp: Likewise.
3384 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
3386 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
3388 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
3390 * gdb.perf/template-breakpoints.cc: New file.
3391 * gdb.perf/template-breakpoints.exp: New file.
3392 * gdb.perf/template-breakpoints.py: New file.
3394 2018-03-19 Tom Tromey <tom@tromey.com>
3396 * gdb.rust/simple.rs (main): Add local variables field1, field2,
3398 * gdb.rust/simple.exp: Test bare identifier form of struct
3401 2018-03-19 Tom Tromey <tom@tromey.com>
3403 * gdb.gdb/observer.exp: Remove.
3405 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3407 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
3408 "qualified" option when setting breakpoints.
3409 * gdb.trace/backtrace.exp: Likewise.
3410 * gdb.trace/circ.exp: Likewise.
3411 * gdb.trace/collection.exp: Likewise.
3412 * gdb.trace/disconnected-tracing.exp: Likewise.
3413 * gdb.trace/ftrace-lock.exp: Likewise.
3414 * gdb.trace/ftrace.exp: Likewise.
3415 * gdb.trace/infotrace.exp: Likewise.
3416 * gdb.trace/packetlen.exp: Likewise.
3417 * gdb.trace/passc-dyn.exp: Likewise.
3418 * gdb.trace/qtro.exp: Likewise.
3419 * gdb.trace/read-memory.exp: Likewise.
3420 * gdb.trace/report.exp: Likewise.
3421 * gdb.trace/signal.exp: Likewise.
3422 * gdb.trace/status-stop.exp: Likewise.
3423 * gdb.trace/strace.exp: Likewise.
3424 * gdb.trace/tfind.exp: Likewise.
3425 * gdb.trace/trace-break.exp: Likewise.
3426 * gdb.trace/trace-condition.exp: Likewise.
3427 * gdb.trace/trace-mt.exp: Likewise.
3428 * gdb.trace/tstatus.exp: Likewise.
3429 * gdb.trace/tsv.exp: Likewise.
3430 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3431 * gdb.trace/unavailable.exp: Likewise.
3432 * gdb.trace/while-dyn.exp: Likewise.
3434 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3436 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
3437 that libinproctrace is copied to the target.
3439 2018-03-14 Tom Tromey <tom@tromey.com>
3442 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
3444 * gdb.base/wchar.exp: Likewise.
3446 2018-03-14 Tom Tromey <tom@tromey.com>
3449 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
3452 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
3455 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
3456 "target" to remote_exec.
3458 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
3461 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
3462 ${board}_upload): Remove.
3464 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3466 * gdb.cp/watch-cp.cc: New test.
3467 * gdb.cp/watch-cp.exp: New file.
3469 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
3471 * gdb.base/infcall-nested-structs.exp: New file.
3472 * gdb.base/infcall-nested-structs.c: New file.
3473 * gdb.base/float.exp: Add riscv support.
3475 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
3477 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
3478 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
3480 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
3482 * gdb.server/abspath.exp: New file.
3483 * lib/gdb.exp (with_cwd): New procedure.
3485 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
3487 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
3489 (gdb_is_target_remote_prompt): New proc.
3490 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
3491 (gdb_is_target_native): Pass prompt parameter to
3494 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
3496 * gdb.base/load-command.c: New file.
3497 * gdb.base/load-command.exp: New file.
3498 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
3499 (gdb_is_target_1): ...this, and generalize for other targets
3501 (gdb_is_target_remote): Use gdb_is_target_1.
3502 (gdb_is_target_native): use gdb_is_target_1.
3504 2018-02-26 Tom Tromey <tom@tromey.com>
3507 * gdb.python/py-framefilter.exp: Update test.
3509 2018-02-26 Tom Tromey <tom@tromey.com>
3511 * gdb.dwarf2/variant.c: New file.
3512 * gdb.dwarf2/variant.exp: New file.
3514 2018-02-26 Tom Tromey <tom@tromey.com>
3516 * gdb.rust/simple.exp: Accept more possible results in enum test.
3518 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
3520 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
3523 2018-02-23 Maciej W. Rozycki <macro@mips.com>
3525 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
3526 name of a variable: $actual_linejj -> $actual_line.
3528 2018-02-21 John Baldwin <jhb@FreeBSD.org>
3530 * gdb.arch/amd64-i386-address.exp: Fix a typo.
3532 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
3534 * gdb.btrace/buffer-size.exp: Do not force BTS.
3536 2018-02-14 Pedro Alves <palves@redhat.com>
3538 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
3541 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
3543 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
3546 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
3548 * gdb.cp/m-static.exp: Check type of optimized out static
3551 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
3553 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
3554 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
3556 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
3557 Leszek Swirski <leszeks@google.com>
3559 * gdb.python/py-prettyprint.c
3560 (struct to_string_returns_value_inner,
3561 struct to_string_returns_value_wrapper): New.
3562 (main): Add tsrvw variable.
3563 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
3564 ToStringReturnsValueWrapper): New classes.
3565 (register_pretty_printers): Register new pretty-printers.
3566 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
3567 recursive pretty printer.
3568 * gdb.python/py-mi.exp: Likewise.
3570 2018-02-01 Leszek Swirski <leszeks@google.com>
3572 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
3573 functions with the same name as an include file are parsed
3576 2018-02-01 Yao Qi <yao.qi@linaro.org>
3578 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
3581 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
3583 * gdb.arch/powerpc-prologue-frame.s: New file.
3584 * gdb.arch/powerpc-prologue-frame.c: Likewise.
3585 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
3587 2018-01-31 Joel Brobecker <brobecker@adacore.com>
3589 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
3591 2018-01-30 Pedro Alves <palves@redhat.com>
3594 * gdb.base/interrupt-daemon.c: New.
3595 * gdb.base/interrupt-daemon.exp: New.
3596 * gdb.multi/multi-term-settings.c: New.
3597 * gdb.multi/multi-term-settings.exp: New.
3599 2018-01-30 Joel Brobecker <brobecker@adacore.com>
3601 * gdb.base/break.exp: Save the location where the breakpoint
3602 on break.c:47 was actually inserted when debugging the version
3603 compiled at -O2 and use it in the expected output of the "info
3604 break" test performed soon after.
3606 2018-01-22 Pedro Alves <palves@redhat.com>
3607 Sergio Durigan Junior <sergiodj@redhat.com>
3609 * gdb.base/whatis.exp: Add tests for 'set print object on' +
3610 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
3612 2018-01-22 Joel Brobecker <brobecker@adacore.com>
3614 * gdb.base/break-include.c, gdb.base/break-include.inc,
3615 gdb.base/break-include.exp: New files.
3616 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
3617 line number now being the actual line number where the breakpoint
3619 * gdb.mi/mi-break.exp: Likewise.
3620 * gdb.mi/mi-reverse.exp: Likewise.
3621 * gdb.mi/mi-simplerun.exp: Ditto.
3623 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3625 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
3627 * gdb.mi/mi-var-create-rtti.exp: Likewise.
3629 2018-01-21 Don Breazeal <donb@codesourcery.com>
3630 Andrew Burgess <andrew.burgess@embecosm.com>
3632 * gdb.mi/basics.c: Add new global.
3633 * gdb.mi/mi-frame-regs.exp: New file.
3634 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
3637 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
3639 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
3640 non-parameter, and on an unknown symbol.
3642 2018-01-19 Tom Tromey <tom@tromey.com>
3644 * gdb.rust/modules.rs (TWENTY_THREE): New global.
3645 * gdb.rust/modules.exp: Add ::-qualified lookup test.
3647 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3649 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
3650 setrlimit and chdir to int.
3652 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
3654 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
3656 (my_tend): Likewise.
3657 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
3658 rationale of avoiding FP- and vector instructions.
3660 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
3662 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
3663 "info reg" with "\[ \t\]*".
3664 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
3666 * gdb.arch/s390-multiarch.exp: Ditto.
3667 * gdb.base/pc-fp.exp: Ditto.
3668 * gdb.reverse/i386-precsave.exp: Ditto.
3669 * gdb.reverse/i386-reverse.exp: Ditto.
3670 * gdb.reverse/i387-env-reverse.exp: Ditto.
3671 * gdb.reverse/i387-stack-reverse.exp: Ditto.
3673 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3675 * lib/gdb.exp (gdb_compile): Re-enable use of
3676 universal_compile_options for languages other than Rust.
3678 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
3680 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
3682 2018-01-17 Mike Gulick <mgulick@mathworks.com>
3685 * gdb.base/solib-vanish.exp: New.
3686 * gdb.base/solib-vanish-main.c: New.
3687 * gdb.base/solib-vanish-lib1.c: New.
3688 * gdb.base/solib-vanish-lib2.c: New.
3690 2018-01-17 Yao Qi <yao.qi@linaro.org>
3692 * gdb.compile/compile.exp: Match the address printed for
3693 frame in the output of command "bt".
3695 2018-01-15 Tom Tromey <tom@tromey.com>
3697 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
3700 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
3702 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
3704 (prepare): Return 0 on error, 1 on success.
3706 2018-01-12 Pedro Alves <palves@redhat.com>
3708 * gdb.base/continue-after-aborted-step-over.c: New.
3709 * gdb.base/continue-after-aborted-step-over.exp: New.
3711 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
3713 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
3714 options when not creating an executable.
3716 2018-01-11 Pedro Alves <palves@redhat.com>
3719 * gdb.server/stop-reply-no-thread.c: New file.
3720 * gdb.server/stop-reply-no-thread.exp: New file.
3722 2018-01-10 Pedro Alves <palves@redhat.com>
3725 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
3726 functions too. Test setting breakpoints and printing C functions
3727 with no debug info too.
3728 * gdb.ada/bp_c_mixed_case/qux.c: New file.
3730 2018-01-10 Pedro Alves <palves@redhat.com>
3733 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
3736 2018-01-10 Pedro Alves <palves@redhat.com>
3739 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
3741 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
3743 * gdb.server/unittest.exp: Match the output in non-development
3746 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
3748 * gdb.gdb/unittest.exp: Match output in non-development mode.
3750 2018-01-08 Joel Brobecker <brobecker@adacore.com>
3752 * gdb.ada/access_tagged_param.exp: Relax expected output
3753 for value of "ObjL" in "continue" to pck.inspect breakpoint
3756 2018-01-08 Joel Brobecker <brobecker@adacore.com>
3758 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
3759 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
3761 2018-01-05 Pedro Alves <palves@redhat.com>
3764 * gdb.base/libsegfault.exp: New.
3766 2018-01-05 Joel Brobecker <brobecker@adacore.com>
3769 * gdb.ada/access_tagged_param.exp: New file.
3770 * gdb.ada/access_tagged_param/foo.adb: New file.
3772 2018-01-05 Pedro Alves <palves@redhat.com>
3775 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
3776 exercise lower case too, and to exercise both full matching and
3779 2018-01-05 Joel Brobecker <brobecker@adacore.com>
3781 * gdb.ada/rename_subscript_param: New testcase.
3783 2018-01-05 Jerome Guitton <guitton@adacore.com>
3785 * gdb.ada/arr_acc_idx_w_gap: New testcase.
3787 2018-01-05 Joel Brobecker <brobecker@adacore.com>
3789 * gdb.ada/convvar_comp: New testcase.
3791 2018-01-05 Xavier Roirand <roirand@adacore.com>
3793 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
3794 (My_Table): New global variable.
3795 * testsuite/gdb.ada/array_char_idx.exp: Add test.
3797 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3800 * gdb.ada/maint_with_ada: New testcase.
3802 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3805 * gdb.ada/bp_c_mixed_case: New testcase.
3807 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3810 * gdb.ada/complete.exp: Add "complete break ada" test.
3812 2018-01-04 Joel Brobecker <brobecker@adacore.com>
3815 * gdb.ada/info_addr_mixed_case: New testcase.
3817 2018-01-03 Xavier Roirand <roirand@adacore.com>
3819 * gdb.ada/excep_handle.exp: New testcase.
3820 * gdb.ada/excep_handle/foo.adb: New file.
3821 * gdb.ada/excep_handle/pck.ads: New file.
3823 2018-01-03 Joel Brobecker <brobecker@adacore.com>
3825 * gdb.base/step-line.c: Add extra empty line in copyright header.
3826 * gdb.base/step-line.inp: Likewise.
3828 2018-01-02 Joel Brobecker <brobecker@adacore.com>
3830 * gdb.ada/dyn_stride.exp: Add slice test.
3832 2018-01-02 Joel Brobecker <brobecker@adacore.com>
3834 * gdb.ada/dyn_stride: New testcase.
3836 2017-12-27 Stafford Horne <shorne@gmail.com>
3838 * gdb.xml/extra-regs.xml: Add example foo reggroup.
3839 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
3841 2017-12-27 Stafford Horne <shorne@gmail.com>
3843 * gdb.base/reggroups.c: New file.
3844 * gdb.base/reggroups.exp: New file.
3846 2017-12-18 Joel Brobecker <brobecker@adacore.com>
3848 * gdb.dwarf2/ada-valprint-error.c: New file.
3849 * gdb.dwarf2/ada-valprint-error.exp: New file.
3851 2017-12-18 Joel Brobecker <brobecker@adacore.com>
3853 * gdb.ada/assign_arr: New testcase.
3855 2017-12-18 Xavier Roirand <roirand@adacore.com>
3857 * gdb.ada/funcall_ptr: New testcase.
3859 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
3862 * gdb.base/ptype-offsets.cc: New file.
3863 * gdb.base/ptype-offsets.exp: New file.
3865 2017-12-15 Yao Qi <yao.qi@linaro.org>
3867 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
3870 2017-12-15 Xavier Roirand <roirand@adacore.com>
3872 * gdb.ada/same_component_name: New testcase.
3874 2017-12-14 Joel Brobecker <brobecker@adacore.com>
3876 * gdb.ada/str_binop_equal: New testcase.
3878 2017-12-14 Joel Brobecker <brobecker@adacore.com>
3880 * gdb.ada/task_switch_in_core: New testcase.
3882 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
3884 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
3885 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
3886 call test_bkpt_qualified.
3887 (test_bkpt_qualified): New proc.
3889 2017-12-13 Pedro Alves <palves@redhat.com>
3891 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
3892 Tighten regexp by matching with an anchor.
3894 2017-12-13 Pedro Alves <palves@redhat.com>
3896 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
3897 ("expression with namespace"): New set of tests.
3898 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
3899 (Nested::Test_NS::qux): New.
3900 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
3901 defaults to 'start_quote_char' and 'end_quote_char' parameters.
3903 2017-12-13 Joel Brobecker <brobecker@adacore.com>
3905 * gdb.base/server-del-break.c: New file.
3906 * gdb.base/server-del-break.exp: New file.
3908 2017-12-12 Stafford Horne <shorne@gmail.com>
3910 * gdb.xml/tdesc-regs.exp: Add or1k support.
3912 2017-12-12 Stafford Horne <shorne@gmail.com>
3914 * gdb.base/bp-permanent.c: Define nop of or1k.
3916 2017-12-11 Joel Brobecker <brobecker@adacore.com>
3918 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
3919 output with components being reordered.
3921 2017-12-11 Joel Brobecker <brobecker@adacore.com>
3923 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
3924 output with components being reordered.
3926 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3927 Pedro Alves <palves@redhat.com>
3929 * gdb.base/maint.exp (check for .gdb_index): Check also for
3931 * gdb.dlang/watch-loc.c (.debug_aranges): New.
3932 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
3933 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
3934 (.gdb_index used after symbol reloading): Support also .debug_names.
3935 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
3937 2017-12-08 Yao Qi <yao.qi@linaro.org>
3939 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3940 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
3942 2017-12-08 Yao Qi <yao.qi@linaro.org>
3944 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
3945 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
3947 2017-12-08 Yao Qi <yao.qi@linaro.org>
3949 * gdb.arch/aarch64-tagged-pointer.c: New file.
3950 * gdb.arch/aarch64-tagged-pointer.exp: New file.
3952 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
3954 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
3957 2017-12-07 Keith Seitz <keiths@redhat.com>
3959 PR breakpoints/22569
3960 * gdb.linespec/ls-errs.exp: Change expected result of "break
3961 -source this file has spaces.c -line 3".
3962 Check that an explicit source file followed by whitespace is
3963 identified as an invalid explicit location.
3965 2017-12-07 Keith Seitz <keiths@redhat.com>
3967 * gdb.cp/nested-types.cc: New file.
3968 * gdb.cp/nested-types.exp: New file.
3969 * lib/cp-support.exp: Load data-structures.exp library.
3970 (debug_cp_test_ptype_class): New global.
3971 (cp_ptype_class_verbose, next_line): New procedures.
3972 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
3973 Add and document new return value.
3974 Switch the list of lines to a queue.
3975 Add support for new `type' key for nested type definitions.
3976 Add debugging/troubleshooting messages.
3977 * lib/data-structures.exp: New file.
3979 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
3981 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
3982 with proc_with_prefix, don't use with_test_prefix.
3984 2017-12-07 Tom Tromey <tom@tromey.com>
3986 * gdb.base/break.exp: Add test for empty "commands".
3988 2017-12-07 Yao Qi <yao.qi@linaro.org>
3990 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
3991 malloc and catch syscall.
3993 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
3995 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
3996 tests for explicit locations.
3998 2017-12-06 Pedro Alves <palves@redhat.com>
4000 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
4001 force-disabling XML descriptions.
4003 2017-12-04 Pedro Alves <palves@redhat.com>
4006 * gdb.arch/amd64-disp-step-avx.S: New file.
4007 * gdb.arch/amd64-disp-step-avx.exp: New file.
4009 2017-12-03 Pedro Alves <palves@redhat.com>
4011 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
4013 (parent_function): Print distinct messages when waitpid fails, or
4014 the child exits with a signal, or the child exits for an unhandled
4016 * gdb.threads/process-dies-while-detaching.exp
4017 (detach_and_expect_exit): New 'inf_output_re' parameter and use
4018 it. Wait for both inferior output and GDB's prompt. Use an
4019 indirect spawn id list.
4020 (do_detach): New parameter 'child_exit'. Use it to compute
4021 expected inferior output.
4022 (test_detach, test_detach_watch, test_detach_killed_outside):
4023 Adjust to pass down the expected child exit kind.
4025 2017-12-01 Joel Brobecker <brobecker@adacore.com>
4026 Sergio Durigan Junior <sergiodj@redhat.com>
4027 Pedro Alves <palves@redhat.com>
4029 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
4031 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
4033 * gdb.base/relocate.exp: Add tests to guarantee that arguments
4034 to 'symbol-file' and 'add-symbol-file' can be
4035 position-independent.
4037 2017-12-01 Yao Qi <yao.qi@linaro.org>
4039 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
4040 the URL in copyright header.
4041 * gdb.arch/aarch64-fp.exp: Likewise.
4042 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
4043 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
4044 * gdb.base/expand-psymtabs.exp: Likewise.
4045 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
4046 * gdb.fortran/common-block.exp: Likewise.
4047 * gdb.fortran/common-block.f90: Likewise.
4048 * gdb.fortran/logical.exp: Likewise.
4049 * gdb.fortran/vla-datatypes.f90: Likewise.
4050 * gdb.fortran/vla-sub.f90: Likewise.
4052 2017-11-30 Joel Brobecker <brobecker@adacore.com>
4054 * gdb.ada/repeat_dyn: New testcase.
4056 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
4058 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
4059 Update for changed thread numbering.
4060 * gdb.cell/bt.exp: Update for changed GDB output.
4062 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
4064 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
4065 setting isremote by hand.
4066 * boards/dwarf4-gdb-index.exp: Likewise.
4067 * boards/fission.exp: Likewise.
4068 * boards/stabs.exp: Likewise.
4070 2017-11-30 Pedro Alves <palves@redhat.com>
4072 * gdb.linespec/cpls-ops.exp
4073 (check_explicit_skips_function_argument): Extract the underlying
4074 type of size_t instead of hardcoding it.
4076 2017-11-29 Pedro Alves <palves@redhat.com>
4079 * gdb.linespec/cpls-abi-tag.cc: New file.
4080 * gdb.linespec/cpls-abi-tag.exp: New file.
4082 2017-11-29 Pedro Alves <palves@redhat.com>
4084 * gdb.base/langs.exp: Use -qualified.
4085 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
4087 * gdb.cp/namespace.exp: Use -qualified.
4088 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
4089 (overload-3, template-overload, template-ret-type, const-overload)
4090 (const-overload-quoted, anon-ns, ambiguous-prefix): New
4092 (test_driver): Call them.
4093 * gdb.cp/save-bp-qualified.cc: New.
4094 * gdb.cp/save-bp-qualified.exp: New.
4095 * gdb.linespec/explicit.exp: Test -qualified.
4096 * lib/completion-support.exp (completion::explicit_opts_list): Add
4098 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
4100 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
4102 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
4104 2017-11-29 Tom Tromey <tom@tromey.com>
4106 * gdb.base/relocate.exp: Update invalid argument test.
4107 Add new tests for invalid arguments.
4109 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4111 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
4113 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
4115 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
4117 * gdb.cp/breakpoint.cc (bar): Set return type to void.
4118 * gdb.cp/psymtab-parameter.cc (func): Likewise.
4119 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
4121 * gdb.cp/shadow.cc (B.func): Return 0.
4123 2017-11-27 Joel Brobecker <brobecker@adacore.com>
4125 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
4126 expected output in gdb_expect call to allow the exception
4127 message to be present as well. Fix syntax confusion to avoid
4128 TCL thinking that exception_name is an array.
4130 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
4132 * gdb.arch/spu-info.c: Include <unistd.h>.
4133 (do_signal_test): Fix broken calls to write.
4134 * gdb.arch/spu-info.exp: Use prepare_for_testing.
4135 Fix checks for empty mailboxes. Update signal tests for corrected
4136 do_signal_test routine. Allow nonzero event status.
4137 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
4138 * gdb.cell/arch.exp: Use standard_output_file.
4139 * gdb.cell/break.exp: Likewise.
4140 * gdb.cell/bt.exp: Likewise.
4141 * gdb.cell/core.exp: Likewise.
4142 * gdb.cell/dwarfaddr.exp: Likewise.
4143 * gdb.cell/ea-cache.exp: Likewise.
4144 * gdb.cell/ea-standalone.exp: Likewise.
4145 * gdb.cell/f-regs.exp: Likewise.
4146 * gdb.cell/fork.exp: Likewise.
4147 * gdb.cell/gcore.exp: Likewise.
4148 * gdb.cell/mem-access.exp: Likewise.
4149 * gdb.cell/ptype.exp: Likewise.
4150 * gdb.cell/registers.exp: Likewise.
4151 * gdb.cell/sizeof.exp: Likewise.
4152 * gdb.cell/solib-symbol.exp: Likewise.
4153 * gdb.cell/solib.exp: Likewise.
4155 2017-11-25 Pedro Alves <palves@redhat.com>
4157 * gdb.base/complete-empty.exp: New file.
4158 * gdb.base/completion.exp: Adjust.
4160 2017-11-25 Pedro Alves <palves@redhat.com>
4162 * gdb.linespec/cpls-ops.cc: New file.
4163 * gdb.linespec/cpls-ops.exp: New file.
4164 * lib/completion-support.exp (test_complete_prefix_range_re): New,
4165 factored out from ...
4166 (test_complete_prefix_range): ... this.
4168 2017-11-24 Pedro Alves <palves@redhat.com>
4170 * gdb.linespec/cpcompletion.exp: New file.
4171 * gdb.linespec/cpls-hyphen.cc: New file.
4172 * gdb.linespec/cpls.cc: New file.
4173 * gdb.linespec/cpls2.cc: New file.
4174 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
4175 test to use test_gdb_complete_unique. Add label completion,
4176 keyword completion and explicit location completion tests.
4177 * lib/completion-support.exp: New file.
4179 2017-11-24 Joel Brobecker <brobecker@adacore.com>
4181 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
4182 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
4183 when hitting an exception catchpoint.
4185 2017-11-22 Yao Qi <yao.qi@linaro.org>
4187 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
4189 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
4191 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
4192 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
4193 * gdb.dwarf2/info-locals-optimized-out.c: New file.
4195 2017-11-22 Yao Qi <yao.qi@linaro.org>
4197 * gdb.base/info-os.exp: Pass pthreads.
4198 * gdb.multi/multi-attach.exp: Likewise.
4200 2017-11-22 Yao Qi <yao.qi@linaro.org>
4202 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
4205 2017-11-22 Yao Qi <yao.qi@linaro.org>
4207 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
4208 * gdb.base/break-interp.exp: Likewise.
4209 * gdb.base/jit-attach-pie.exp: Likewise.
4211 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4213 * gdb.base/float128.c (large128): New variable.
4214 * gdb.base/float128.exp: Add test to print largest __float128 value.
4216 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
4218 * gdb.arch/vsx-regs.exp: Update register content checks.
4220 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
4222 * gdb.arch/ppc-longdouble.exp: New file.
4223 * gdb.arch/ppc-longdouble.c: Likewise.
4225 2017-11-21 Pedro Alves <palves@redhat.com>
4227 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
4229 2017-11-20 Pedro Alves <palves@redhat.com>
4231 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
4232 (long_double_typedef): New typedefs.
4233 Use DEF on double and long double.
4234 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
4236 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
4237 and 'long_double_ptr_same_size' locals. Use them to decide
4238 whether cast from array/function to float is valid/invalid.
4240 2017-11-17 Tom Tromey <tom@tromey.com>
4242 * gdb.rust/traits.rs: New file.
4243 * gdb.rust/traits.exp: New file.
4245 2017-11-17 Joel Brobecker <brobecker@adacore.com>
4247 * gdb.ada/minsyms: New testcase.
4249 2017-11-16 Pedro Alves <palves@redhat.com>
4251 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
4252 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
4254 2017-11-16 Pedro Alves <palves@redhat.com>
4256 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
4257 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
4259 2017-11-16 Pedro Alves <palves@redhat.com>
4261 * gdb.server/reconnect-ctrl-c.c: New file.
4262 * gdb.server/reconnect-ctrl-c.exp: New file.
4264 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
4266 * gdb.python/py-rbreak.exp: New file.
4267 * gdb.python/py-rbreak.c: New file.
4268 * gdb.python/py-rbreak-func2.c: New file.
4270 2017-11-16 Pedro Alves <palves@redhat.com>
4272 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
4274 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
4277 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
4279 * gdb.tui/completionn.exp (test_tab_completion): Add space in
4282 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
4284 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
4287 2017-11-09 Pedro Alves <palves@redhat.com>
4289 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
4290 factored out from ...
4291 (top level): ... here, and adjusted to avoid expecting beyond the
4292 prompt in a single gdb_test_multiple.
4294 2017-11-09 Pedro Alves <palves@redhat.com>
4296 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
4298 * gdb.server/ext-attach.exp ("kill" test): Likewise.
4299 * gdb.server/ext-restart.exp ("kill" test): Likewise.
4300 * gdb.server/ext-run.exp ("kill" test): Likewise.
4301 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
4303 2017-11-09 Pedro Alves <palves@redhat.com>
4305 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
4306 match till end of line.
4308 2017-11-09 Pedro Alves <palves@redhat.com>
4310 * gdb.base/memattr.exp: Tighten regexes to match the end line.
4312 2017-11-09 Pedro Alves <palves@redhat.com>
4314 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
4315 New procedures, factored out from ...
4316 (top level): ... here, and adjusted to avoid expecting beyond the
4319 2017-11-09 Pedro Alves <palves@redhat.com>
4321 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
4322 output. Fix '?' match.
4324 2017-11-08 Joel Brobecker <brobecker@adacore.com>
4326 * gdb.ada/scoped_watch: New testcase.
4327 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
4328 which is actually correct.
4329 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
4330 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
4332 2017-11-08 Pedro Alves <palves@redhat.com>
4334 * gdb.gdb/complaints.exp (test_initial_complaints)
4335 (test_serial_complaints, test_short_complaints): Call
4336 complaint_internal instead of complaint.
4338 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
4340 * gdb.threads/tls-core.c: New file.
4341 * gdb.threads/tls-core.exp: Likewise.
4343 2017-11-08 Pedro Alves <palves@redhat.com>
4345 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
4346 (p Exported_Capitalized): New test.
4347 (p exported_capitalized): New test.
4349 2017-11-07 Pedro Alves <palves@redhat.com>
4351 * gdb.cp/ena-dis-br-range.exp: Add more tests.
4353 2017-11-07 Pedro Alves <palves@redhat.com>
4355 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
4356 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
4357 (disable_invalid, disable_inverted, disable_negative): New
4359 ("bad numbers"): New set of tests.
4361 2017-11-07 Pedro Alves <palves@redhat.com>
4363 * gdb.cp/ena-dis-br-range.exp: Add tests.
4365 2017-11-07 Pedro Alves <palves@redhat.com>
4367 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
4369 2017-11-07 Xavier Roirand <roirand@adacore.com>
4370 Pedro Alves <palves@redhat.com>
4372 * gdb.base/ena-dis-br.exp: Add reference to
4373 gdb.cp/ena-dis-br-range.exp.
4374 * gdb.cp/ena-dis-br-range.exp: New file.
4375 * gdb.cp/ena-dis-br-range.cc: New file.
4377 2017-11-06 Pedro Alves <palves@redhat.com>
4379 * gdb.base/attach-non-pgrp-leader.c: New.
4380 * gdb.base/attach-non-pgrp-leader.exp: New.
4382 2017-11-06 Pedro Alves <palves@redhat.com>
4384 * configure.ac: No longer check for termio.h and sgtty.h.
4385 * configure: Regenerate.
4386 * remote-utils.c: Include termios.h instead of gdb_termios.h.
4387 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
4388 Remove termio and sgtty code.
4390 2017-11-03 Yao Qi <yao.qi@linaro.org>
4392 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
4395 2017-11-03 Yao Qi <yao.qi@linaro.org>
4397 * gdb.python/py-thrhandle.exp: Skip it if python is not
4400 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
4402 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
4403 as a breakpoint command.
4405 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
4408 * gdb.python/py-infthread.exp: Test calling
4409 InferiorThread.inferior () multiple times in a row.
4411 2017-10-27 Keith Seitz <keiths@redhat.com>
4413 * gdb.opt/inline-break.exp (break_info_1): New procedure.
4414 Test "info break" for every inlined function breakpoint.
4416 2017-10-27 Yao Qi <yao.qi@linaro.org>
4418 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
4420 2017-10-26 Patrick Frants <osscontribute@gmail.com>
4422 * gdb.cp/classes.exp (test_static_members): Test printing
4424 * gdb.cp/classes.c (struct Inner, struct Outer): New.
4425 (Inner::instance, Outer::instance): New.
4427 2017-10-24 Pedro Alves <palves@redhat.com>
4429 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
4430 extra console" test in two stages.
4432 2017-10-24 Pedro Alves <palves@redhat.com>
4434 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
4436 2017-10-24 Pedro Alves <palves@redhat.com>
4438 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
4441 2017-10-24 Pedro Alves <palves@redhat.com>
4443 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
4444 $attempt" and "stoppedtry $stoppedtry" test prefixes.
4446 2017-10-24 Pedro Alves <palves@redhat.com>
4448 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
4449 parameter and handle it. Don't output read value in test name.
4451 2017-10-24 Pedro Alves <palves@redhat.com>
4453 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
4456 2017-10-24 Pedro Alves <palves@redhat.com>
4458 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
4459 include the unstable output directory name in the test's name.
4460 (initial_setup_simple) <'set args'>: Use custom test name.
4462 2017-10-24 Pedro Alves <palves@redhat.com>
4464 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
4465 with explicit test name.
4467 2017-10-20 Pedro Alves <palves@redhat.com>
4469 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
4470 'wait -i'. Use gdb_assert and remote_close.
4472 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
4474 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
4475 number from variable rather than hard-coded.
4477 2017-10-19 Pedro Alves <palves@redhat.com>
4479 * gdb.base/long-inferior-output.c: New file.
4480 * gdb.base/long-inferior-output.exp: New file.
4482 2017-11-18 Keith Seitz <keiths@redhat.com>
4484 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
4487 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
4488 Add additional user-defined conversion operator tests.
4490 2017-10-17 Pedro Alves <palves@redhat.com>
4492 * boards/native-stdio-gdbserver.exp: Load "local-board".
4494 2017-10-17 Pedro Alves <palves@redhat.com>
4496 * gdb.base/quit-live.c: New file.
4497 * gdb.base/quit-live.exp: New file.
4499 2017-10-16 Keith Seitz <keiths@redhat.com>
4501 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
4502 (class_with_protected_typedef, class_with_private_typedef)
4503 (struct_with_public_typedef, struct_with_protected_typedef)
4504 (struct_with_private_typedef): New classes/structs.
4505 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
4506 typedefs and access specifiers.
4508 2017-10-16 Pedro Alves <palves@redhat.com>
4509 Simon Marchi <simon.marchi@polymtl.ca>
4511 * README (Local vs Remote vs Native): New section.
4512 * boards/local-board.exp: New file, with bits factored out from
4514 * boards/native-extended-gdbserver.exp: ... here. Load
4516 * boards/native-gdbserver.exp: Load "local-board".
4517 (${board}_spawn, ${board}_exec): Delete.
4518 * boards/native-stdio-gdbserver.exp: Most contents factored out to
4520 * boards/stdio-gdbserver-base.exp: ... this new file.
4521 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
4522 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
4524 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
4525 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
4526 stdio_gdbserver_command.
4527 (${board}_get_remote_address, ${board}_get_comm_port)
4528 (${board}_download, ${board}_upload): Delete.
4529 (get_target_remote_pipe_cmd): New.
4531 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
4533 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
4534 test_bkpt_deletion, test_bkpt_cond_and_cmds,
4535 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
4536 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
4537 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
4538 remove with_test_prefix.
4540 2017-10-13 Pedro Alves <palves@redhat.com>
4542 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
4543 * gdb.base/annota1.exp: Use it instead of is_remote.
4544 * gdb.base/annota3.exp: Use it instead of is_remote.
4545 * gdb.cp/annota2.exp: Use it instead of is_remote.
4546 * gdb.cp/annota3.exp: Use it instead of is_remote.
4547 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
4549 2017-10-13 Pedro Alves <palves@redhat.com>
4551 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
4552 (test_num_test_vars, run_and_count_vars, find_env)
4553 (test_set_unset_env, test_inherit_env_var): New procedures.
4554 (top level): Use them.
4556 2017-10-13 Pedro Alves <palves@redhat.com>
4558 * lib/selftest-support.exp (selftest_setup): Extend comments, and
4559 also skip on stub-like targets.
4561 2017-10-13 Pedro Alves <palves@redhat.com>
4564 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
4565 (top level): Move some tests to ...
4566 (test_not_found): ... this new procedure.
4567 (top level): Call it.
4569 2017-10-13 Pedro Alves <palves@redhat.com>
4571 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
4572 expect different "info terminal" output if testing with a
4575 2017-10-13 Pedro Alves <palves@redhat.com>
4576 Simon Marchi <simon.marchi@polymtl.ca>
4579 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
4581 2017-10-13 Pedro Alves <palves@redhat.com>
4583 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
4586 2017-10-13 Pedro Alves <palves@redhat.com>
4588 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
4591 2017-10-13 Pedro Alves <palves@redhat.com>
4593 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
4596 2017-10-13 Pedro Alves <palves@redhat.com>
4598 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
4600 (corefile_test_attach): Likewise. Check can_spawn_for_attach
4601 instead of is_remote.
4603 2017-10-13 Pedro Alves <palves@redhat.com>
4605 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
4606 (top level): Add comment.
4608 2017-10-13 Pedro Alves <palves@redhat.com>
4610 * gdb.base/remote.exp (top level): Fix comment typo and add
4613 2017-10-13 Pedro Alves <palves@redhat.com>
4614 Simon Marchi <simon.marchi@polymtl.ca>
4616 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
4617 calls and add comments. Skip test if use_gdb_stub is set.
4618 (top level): Use "set cwd" command instead of "cd" command.
4620 2017-10-13 Pedro Alves <palves@redhat.com>
4622 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
4623 is_remote target check.
4625 2017-10-13 Pedro Alves <palves@redhat.com>
4627 * gdb.base/scope.exp: Use build_executable + clean_restart +
4628 gdb_file_cmd instead of prepare_for_testing and no longer skip
4629 "before run" tests on is_remote target boards. Update comments.
4630 * boards/native-extended-gdbserver.exp
4631 (extended_gdbserver_load_last_file): New, factored out from ...
4632 (gdb_load): ... this. Move further below and add comment.
4633 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
4635 2017-10-12 Pedro Alves <palves@redhat.com>
4637 * gdb.base/attach.exp: Remove references to gdb64.
4638 * gdb.base/dbx.exp: Remove references to gdb64.
4640 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4641 Pedro Alves <palves@redhat.com>
4643 * gdb.base/label.exp: Remove is_remote target check.
4645 2017-10-12 Pedro Alves <palves@redhat.com>
4647 * gdb.base/auvx.exp (coredir): Update comment.
4648 (top level) <core_works>: Use "set cwd" command instead of "cd"
4651 2017-10-12 Pedro Alves <palves@redhat.com>
4652 Simon Marchi <simon.marchi@polymtl.ca>
4654 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
4657 2017-10-12 Pedro Alves <palves@redhat.com>
4658 Simon Marchi <simon.marchi@polymtl.ca>
4660 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
4661 Instead skip if there's any gdb_protocol set.
4663 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
4664 Pedro Alves <palves@redhat.com>
4666 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
4668 2017-10-12 Pedro Alves <palves@redhat.com>
4669 Simon Marchi <simon.marchi@polymtl.ca>
4671 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
4672 instead of on dejagnu remote boards.
4674 2017-10-12 Pedro Alves <palves@redhat.com>
4675 Simon Marchi <simon.marchi@polymtl.ca>
4677 * gdb.base/inferior-died.exp: Remove is_remote and isnative
4678 checks. Use build_executable + clean_restart instead of
4679 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
4680 of enabling non-stop after starting gdb.
4682 2017-10-12 Pedro Alves <palves@redhat.com>
4684 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
4685 * gdb.threads/non-ldr-exc-2.exp: Ditto.
4686 * gdb.threads/non-ldr-exc-3.exp: Ditto.
4687 * gdb.threads/non-ldr-exc-4.exp: Ditto.
4689 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
4691 * gdb.arch/arc-tdesc-cpu.exp: New file.
4692 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
4694 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
4696 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
4698 2017-10-10 Pedro Alves <palves@redhat.com>
4700 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
4703 2017-10-10 Pedro Alves <palves@redhat.com>
4705 * lib/selftest-support.exp (selftest_setup): Update for
4706 captured_command_loop's prototype change.
4708 2017-10-09 Pedro Alves <palves@redhat.com>
4710 Test both arch1=>arch2 and arch2=>arch1.
4712 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
4713 (srcfile2, binfile2, march1, march2): Remove globals. Largely
4715 (append_arch1_options, append_arch2_options, append_arch_options)
4716 (build_executables): New procedures.
4717 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
4719 (top level): Add new 'first_arch' testing axis.
4721 2017-10-09 Pedro Alves <palves@redhat.com>
4723 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
4725 (thread_start, all_started): New functions.
4726 (main): Spawn new thread and wait until it is scheduled.
4727 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
4729 (do_test): Add 'selected_thread' parameter. Run to all_started
4730 instead of main. Explicitly set the breakpoint at main. Switch
4731 to the SELECTED_THREAD thread.
4732 (top level): Test handling the exec event with either the main
4733 thread or the second thread selected.
4735 2017-10-09 Pedro Alves <palves@redhat.com>
4737 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
4738 logic. Move STOP marker after the value checks.
4739 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
4742 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
4744 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
4746 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
4748 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
4749 integer-to-dfp conversion.
4750 * gdb.base/dfp-test.exp: Likewise.
4752 2017-10-04 Pedro Alves <palves@redhat.com>
4754 * gdb.multi/hangout.c: Include <unistd.h>.
4755 (hangout_loop): New function.
4756 (main): Call alarm. Call hangout_loop in a loop.
4757 * gdb.multi/hello.c: Include <unistd.h>.
4758 (hello_loop): New function.
4759 (main): Call alarm. Call hangout_loop in a loop.
4760 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
4761 inferior with the other selected.
4763 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
4765 * gdb.mi/list-thread-groups-available.exp: New file.
4766 * gdb.mi/list-thread-groups-available.c: New file.
4768 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
4770 * gdb.base/set-cwd.exp: Make it available on
4771 native-extended-gdbserver.
4773 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
4775 * gdb.base/set-cwd.c: New file.
4776 * gdb.base/set-cwd.exp: Likewise.
4778 2017-10-02 Tom Tromey <tom@tromey.com>
4781 * gdb.rust/simple.rs (main): New variable "fslice".
4782 * gdb.rust/simple.exp: Add slice tests. Update string tests.
4784 2017-10-02 Tom Tromey <tom@tromey.com>
4786 * gdb.rust/simple.exp: Test ptype of a slice.
4788 2017-10-02 Tom Tromey <tom@tromey.com>
4790 * gdb.rust/simple.exp: Test index of slice.
4792 2017-09-27 Tom Tromey <tom@tromey.com>
4794 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
4796 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
4797 Pedro Alves <palves@redhat.com>
4799 * gdb.base/compare-sections.exp (get value of read-only section): Read
4801 (corrupt read-only section): Likewise and don't set written if patching
4804 2017-09-21 Kevin Buettner <kevinb@redhat.com>
4806 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
4809 2017-09-20 Pedro Alves <palves@redhat.com>
4811 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
4812 symbol names in gdb's output.
4813 * gdb.cp/overload.exp ("list all overloads"): Likewise.
4815 2017-09-20 Pedro Alves <palves@redhat.com>
4817 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
4819 (test_list_ambiguous_symbol): ... this and add a symbol name
4821 (test_list_ambiguous_function): Reimplement on top of
4822 test_list_ambiguous_symbol and also test listing ambiguous
4824 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
4825 (ambiguous_fun): ... this.
4826 (ambiguous_var): New.
4827 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
4828 (ambiguous_fun): ... this.
4829 (ambiguous_var): New.
4831 2017-09-19 John Baldwin <jhb@FreeBSD.org>
4833 * gdb.base/starti.c: New file.
4834 * gdb.base/starti.exp: New file.
4835 * lib/gdb.exp (gdb_starti_cmd): New procedure.
4837 2017-09-14 Pedro Alves <palves@redhat.com>
4839 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
4840 (top level): Use it instead of runto.
4842 2017-09-11 Tom Tromey <tom@tromey.com>
4844 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
4846 2017-09-11 Tom Tromey <tom@tromey.com>
4848 * gdb.python/py-infthread.exp: Add tests for new_thread event.
4849 * gdb.python/py-inferior.exp: Add tests for new inferior events.
4851 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
4853 * gdb.fortran/printing-types.exp: New file.
4854 * gdb.fortran/printing-types.exp: New file.
4856 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
4858 * gdb.fortran/vla-ptype.exp: Fix typos.
4859 * gdb.fortran/vla-value.exp: Same.
4861 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
4863 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
4864 * gdb.mi/mi-var-child-f.exp: Likewise.
4865 * gdb.mi/mi-vla-fortran.exp: Likewise.
4867 2017-09-08 Frank Penczek <frank.penczek@intel.com>
4868 Christoph Weinmann <christoph.t.weinmann@intel.com>
4869 Bernhard Heckel <bernhard.heckel@intel.com>
4871 * gdb.fortran/ptr-indentation.f90: New file.
4872 * gdb.fortran/ptr-indentation.exp: New file.
4874 2017-09-05 Tom Tromey <tom@tromey.com>
4877 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
4879 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4881 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
4883 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4885 * gdb.threads/tls-nodebug-pie.c: New file.
4886 * gdb.threads/tls-nodebug-pie.exp: New file.
4888 2017-09-05 Tom Tromey <tom@tromey.com>
4890 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
4893 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
4895 * gdb.multi/multi-arch-exec.exp: Test with different
4896 "follow-exec-mode" settings.
4897 (do_test): New procedure.
4899 2017-09-04 Pedro Alves <palves@redhat.com>
4901 * gdb.base/func-static.c (S::method const, S::method volatile)
4902 (S::method volatile const): New methods.
4903 (c_s, v_s, cv_s): New instances.
4904 (main): Call method() on them.
4905 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
4906 (cannot_resolve): New procedure.
4907 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
4908 print-quote-unquoted columns.
4909 (do_test): Test printing each scope too.
4911 2017-09-04 Pedro Alves <palves@redhat.com>
4913 * gdb.base/local-static.exp: Also test with
4914 class::method::variable wholly quoted.
4915 * gdb.cp/m-static.exp (class::method::variable): Remove test.
4917 2017-09-04 Pedro Alves <palves@redhat.com>
4919 * gdb.base/local-static.c: New.
4920 * gdb.base/local-static.cc: New.
4921 * gdb.base/local-static.exp: New.
4923 2017-09-04 Pedro Alves <palves@redhat.com>
4925 * gdb.asm/asm-source.exp: Add casts to int.
4926 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
4927 (dataglobal64_1, dataglobal64_2): New globals.
4928 * gdb.base/nodebug.exp: Test different expressions involving the
4929 new globals, with print, whatis and ptype. Add casts to int.
4930 * gdb.base/solib-display.exp: Add casts to int.
4931 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
4932 * gdb.cp/m-static.exp: Add cast to int.
4933 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
4934 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
4935 tls variable with no debug info without a cast. Test with a cast
4937 * gdb.trace/entry-values.exp: Add casts.
4939 2017-09-04 Pedro Alves <palves@redhat.com>
4941 * gdb.base/nodebug.exp: Test that ptype's error about functions
4942 with unknown return type includes the function name too.
4944 2017-09-04 Pedro Alves <palves@redhat.com>
4946 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
4947 return type of munmap in infcall.
4948 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
4949 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
4950 type of ftell in infcall.
4951 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
4952 type of getpid in infcall.
4953 * gdb.base/infcall-exec.exp: Cast return type of execlp in
4955 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
4956 Bail on failure to extract the pid.
4957 * gdb.base/nodebug.c: #include <stdint.h>.
4958 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
4960 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
4961 Change expected output of print/whatis/ptype with functions with
4962 no debug info. Test all supported languages. Call
4963 test_call_promotion.
4964 * gdb.compile/compile.exp: Adjust expected output to expect
4966 * gdb.threads/siginfo-threads.exp: Likewise.
4968 2017-09-04 Pedro Alves <palves@redhat.com>
4970 * gdb.base/callfuncs.exp (do_function_calls): New parameter
4971 "prototypes". Test calling float functions via prototyped and
4972 unprototyped function pointers.
4973 (perform_all_tests): New parameter "prototypes". Pass it down.
4974 (top level): Pass down "prototypes" parameter to
4977 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4979 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
4980 Test with nested loops.
4982 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4984 * gdb.base/commands.exp: Call the new procedures.
4985 (loop_break_test, loop_continue_test): New procedures.
4987 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
4989 * gdb.base/commands.exp: Call new procedure.
4990 (define_if_without_arg_test): New procedure.
4992 2017-09-04 Pedro Alves <palves@redhat.com>
4994 * gdb.base/list-ambiguous.exp: New file.
4995 * gdb.base/list-ambiguous0.c: New file.
4996 * gdb.base/list-ambiguous1.c: New file.
4997 * gdb.base/list.exp (test_list_range): Adjust expected output.
4999 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
5001 * gdb.base/share-env-with-gdbserver.c: New file.
5002 * gdb.base/share-env-with-gdbserver.exp: Likewise.
5004 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5006 * gdb.base/commands.exp (gdbvar_simple_if_test,
5007 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
5008 progvar_simple_if_test, progvar_simple_while_test,
5009 progvar_complex_if_while_test, user_defined_command_test,
5010 user_defined_command_args_eval,
5011 user_defined_command_args_stack_test,
5012 user_defined_command_manyargs_test, bp_deleted_in_command_test,
5013 temporary_breakpoint_commands,
5014 gdb_test_no_prompt, redefine_hook_test,
5015 redefine_backtrace_test): Remove "global gdb_prompt".
5017 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
5019 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
5020 New proc, call it from toplevel.
5022 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
5025 * gdb.server/normal.c: New file, copied from gdb.base.
5026 * gdb.server/run-without-local-binary.exp: New file.
5028 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
5030 * gdb.arch/sparc64-adi.exp: New file.
5031 * gdb.arch/sparc64-adi.c: New file.
5033 2017-08-22 Pedro Alves <palves@redhat.com>
5035 * gdb.cp/overload.exp (line_range_pattern): New procedure.
5036 (top level): Add "list all overloads" tests.
5038 2017-08-22 Tom Tromey <tom@tromey.com>
5040 * gdb.gdb/xfullpath.exp: Remove.
5042 2017-08-21 Pedro Alves <palves@redhat.com>
5045 * gdb.base/symbol-alias.c: New.
5046 * gdb.base/symbol-alias2.c: New.
5047 * gdb.base/symbol-alias.exp: New.
5049 2017-08-21 Pedro Alves <palves@redhat.com>
5051 * gdb.base/dfp-test.c
5052 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
5053 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
5054 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
5055 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
5056 * gdb.base/whatis-ptype-typedefs.c: New.
5057 * gdb.base/whatis-ptype-typedefs.exp: New.
5058 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
5059 (an_int, an_int_type, an_int_type2): New globals.
5060 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
5061 involving typedefs and cast expressions.
5062 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
5063 (lookup_typedefs_function): New.
5064 (typedefs_pretty_printers_dict): New.
5065 (top level): Register lookup_typedefs_function in
5066 gdb.pretty_printers.
5068 2017-08-18 Yao Qi <yao.qi@linaro.org>
5070 * gdb.server/unittest.exp: New.
5072 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
5075 * gdb.base/environ.exp: Add test to check if 'unset environment'
5078 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5080 * lib/gdb.exp (universal_compile_options): New caching proc.
5081 (gdb_compile): Suppress GCC's coloring of messages.
5083 2017-08-14 Tom Tromey <tom@tromey.com>
5086 * gdb.base/printcmds.exp (test_radices): New function.
5087 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
5088 * gdb.base/sizeof.exp (check_valueof): Use p/d.
5089 * lib/gdb.exp (get_integer_valueof): Use p/d.
5091 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
5093 * lib/gdb.exp (get_valueof): Don't capture end-of-line
5096 2017-08-05 Tom Tromey <tom@tromey.com>
5098 * gdb.rust/simple.exp: Allow String to appear in a different
5101 2017-07-26 Yao Qi <yao.qi@linaro.org>
5103 * gdb.gdb/unittest.exp: Invoke command
5104 "maintenance check xml-descriptions".
5106 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5108 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
5110 (hex128): Drop erroneous calculation of parameters.
5112 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
5114 * gdb.python/py-unwind.exp: Disable stack protection when
5117 2017-07-20 Pedro Alves <palves@redhat.com>
5119 * gdb.base/default.exp (set language): Adjust expected output.
5121 2017-07-20 Pedro Alves <palves@redhat.com>
5123 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
5124 (test_minsym): ... this, and make static.
5125 (get_pck__foo__bar__minsym): Rename to ...
5126 (get_test_minsym): ... this.
5127 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
5128 symbol names and comments.
5129 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
5130 (get_test_minsym): ... this.
5131 (pck__foo__bar__minsym__2): Rename to ...
5132 (test_minsym): ... this.
5135 2017-07-17 Pedro Alves <palves@redhat.com>
5137 * gdb.base/completion.exp: Adjust expected output.
5138 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
5139 the completer works.
5141 2017-07-17 Pedro Alves <palves@redhat.com>
5143 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
5145 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
5147 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
5149 2017-07-14 Tom Tromey <tom@tromey.com>
5152 * gdb.rust/simple.exp: Add tests.
5154 2017-07-14 Tom Tromey <tom@tromey.com>
5156 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
5158 2017-07-14 Pedro Alves <palves@redhat.com>
5160 * gdb.linespec/base/one/thefile.cc (z1): New function.
5161 * gdb.linespec/base/two/thefile.cc (z2): New function.
5162 * gdb.linespec/linespec.exp: Add tests.
5164 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5166 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
5167 to mi_create_breakpoint.
5169 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
5171 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
5172 mi_create_breakpoint.
5174 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
5176 * gdb.dlang/demangle.exp: Update for demangling changes.
5178 2017-07-09 Tom Tromey <tom@tromey.com>
5180 * gdb.dwarf2/shortpiece.exp: New file.
5182 2017-07-06 David Blaikie <dblaikie@gmail.com>
5184 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
5185 built from fissiont-multi-cu{1,2}.c.
5186 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
5187 except putting 'main' and 'func' in separate CUs in the same DWO file.
5188 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
5190 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
5193 2017-07-06 Pedro Alves <palves@redhat.com>
5195 * gdb.python/py-unwind.exp: Test flushregs.
5197 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5200 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
5201 tests for alias commands and trailing whitespace.
5203 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
5206 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
5209 2017-06-29 Pedro Alves <palves@redhat.com>
5211 * gdb.base/printcmds.exp: Add tests.
5213 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
5216 * gdb.base/reread-readsym.exp: New file.
5217 * gdb.base/reread-readsym.c: New file.
5219 2017-06-21 Kevin Buettner <kevinb@redhat.com>
5221 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
5224 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
5226 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
5228 * gdb.arch/powerpc-power9.s: Likewise.
5230 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5232 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
5233 on 32-bit x86 targets. Exploit is_*_target macros where
5236 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5238 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
5241 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5243 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
5244 located in one or more DWARF pieces.
5246 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5248 * lib/gdb.exp (get_endianness): New proc.
5249 * gdb.arch/aarch64-fp.exp: Use it.
5250 * gdb.arch/altivec-regs.exp: Likewise.
5251 * gdb.arch/e500-regs.exp: Likewise.
5252 * gdb.arch/vsx-regs.exp: Likewise.
5253 * gdb.base/dump.exp: Likewise.
5254 * gdb.base/funcargs.exp: Likewise.
5255 * gdb.base/gnu_vector.exp: Likewise.
5256 * gdb.dwarf2/formdata16.exp: Likewise.
5257 * gdb.dwarf2/implptrpiece.exp: Likewise.
5258 * gdb.dwarf2/nonvar-access.exp: Likewise.
5259 * gdb.python/py-inferior.exp: Likewise.
5260 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
5262 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5265 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
5266 stack value pieces are taken from the LSB end.
5268 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5270 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
5271 variable at nonzero offset.
5273 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5275 * gdb.dwarf2/var-access.c: New file.
5276 * gdb.dwarf2/var-access.exp: New test.
5277 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
5279 2017-06-12 Tom Tromey <tom@tromey.com>
5281 * gdb.dwarf2/formdata16.exp: Add tests.
5283 2017-06-12 Tom Tromey <tom@tromey.com>
5285 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
5287 2017-06-12 Tom Tromey <tom@tromey.com>
5290 * gdb.reverse/i386-sse-reverse.exp: Update tests.
5291 * gdb.arch/vsx-regs.exp: Update tests.
5292 * gdb.arch/s390-vregs.exp (hex128): New proc.
5294 * gdb.arch/altivec-regs.exp: Update tests.
5296 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5298 * gdb.base/startup-with-shell.c: New file.
5299 * gdb.base/startup-with-shell.exp: Likewise.
5301 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
5303 * gdb.server/non-existing-program.exp: Update regex in order to
5304 reflect the fact that gdbserver is now using fork_inferior (with a
5305 shell) to startup the inferior.
5307 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
5309 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
5310 support function calls from GDB.
5312 2017-05-21 Tom Tromey <tom@tromey.com>
5315 * gdb.rust/unsized.exp: New file.
5316 * gdb.rust/unsized.rs: New file.
5318 2017-05-19 Tom Tromey <tom@tromey.com>
5321 * gdb.rust/watch.exp: New file.
5322 * gdb.rust/watch.rs: New file.
5324 2017-05-18 Tom Tromey <tom@tromey.com>
5326 * gdb.rust/simple.exp: Allow Box to be qualified.
5328 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
5330 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
5332 2017-05-18 Pedro Alves <palves@redhat.com>
5334 * gdb.base/fileio.c (test_write, test_read, test_close)
5335 (test_fstat): Don't print 'ret' in the fail path.
5337 2017-05-18 Pedro Alves <palves@redhat.com>
5339 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
5340 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
5341 (test_system, test_rename, test_unlink, test_time): Change
5343 * gdb.base/fileio.exp (stop_msg): Adjust.
5345 2017-05-18 Pedro Alves <palves@redhat.com>
5347 * gdb.base/fileio.c (null_str): New global.
5348 (test_stat): Use it.
5349 * gdb.base/fileio.exp: Remove nowarnings.
5351 2017-05-17 Yao Qi <yao.qi@linaro.org>
5353 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
5355 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
5357 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
5359 (top-level): Invoke test_set_inferior_tty.
5361 2017-05-04 Pedro Alves <palves@redhat.com>
5363 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
5364 Add parens to print call for Python 3.
5366 2017-05-03 Keith Seitz <keiths@redhat.com>
5368 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
5371 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5373 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
5376 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5378 * gdb.python/py-record-btrace.exp: Remove test for
5379 gdb.BtraceInstruction.error.
5381 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5383 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
5385 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
5387 * gdb.python/py-record-btrace-threads.c: New file.
5388 * gdb.python/py-record-btrace-threads.exp: New file.
5390 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
5393 * gdb.base/environ.exp: Make test available in all architectures.
5394 Move bits related to "info program" testing to
5395 gdb.base/info-program.exp. Rewrite tests to use the two new
5396 procedures mentione below.
5397 (test_set_show_env_var) New procedure.
5398 (test_set_show_env_var_equal): Likewise.
5399 * gdb.base/info-program.exp: New file.
5401 2017-04-27 Keith Seitz <keiths@redhat.com>
5403 * gdb.cp/oranking.cc (test15): New function.
5404 (main): Call test15 and declare additional variables for testing.
5405 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
5406 "p foo101('abc')" tests.
5407 Add tests for cv qualifier overloads.
5408 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
5409 "lvalue reference overload" test.
5410 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
5411 "print value of f1 on Child&& in f2" test.
5413 2017-04-19 Pedro Alves <palves@redhat.com>
5415 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
5417 (top level): Call it.
5418 * lib/gdb.exp (gdb_define_cmd): New procedure.
5420 2017-04-12 Pedro Alves <palves@redhat.com>
5423 * gdb.cp/wide_char_types.c: Include <wchar.h>.
5424 (wchar): New global.
5425 * gdb.cp/wide_char_types.exp (wide_char_types_program)
5426 (do_test_wide_char, wide_char_types_no_program, top level): Add
5429 2017-04-12 Pedro Alves <palves@redhat.com>
5432 * gdb.cp/wide_char_types.c: New file.
5433 * gdb.cp/wide_char_types.exp: New file.
5435 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
5438 * gdb.trace/tsv.exp: Add test for "tsave -r".
5440 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
5442 * gdb.dlang/watch-loc.c: New file.
5443 * gdb.dlang/watch-loc.exp: New file.
5445 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5447 * gdb.python/py-section-script.exp (sepdebug): New testcases.
5449 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5451 * gdb.arch/arc-analyze-prologue.S: New file.
5452 * gdb.arch/arc-analyze-prologue.exp: Likewise.
5454 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
5456 * gdb.arch/arc-decode-insn.S: New file.
5457 * gdb.arch/arc-decode-insn.exp: Likewise.
5459 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
5462 * gdb.arch/sparc64-regs.exp: New file.
5463 * gdb.arch/sparc64-regs.S: Likewise.
5465 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
5467 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
5468 and memory view on Python 3.
5470 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
5471 Keith Seitz <keiths@redhat.com>
5474 * gdb.cp/demangle.exp: Add rvalue reference tests.
5475 * gdb.cp/rvalue-ref-casts.cc: New file.
5476 * gdb.cp/rvalue-ref-casts.exp: New file.
5477 * gdb.cp/rvalue-ref-overload.cc: New file.
5478 * gdb.cp/rvalue-ref-overload.exp: New file.
5479 * gdb.cp/rvalue-ref-params.cc: New file.
5480 * gdb.cp/rvalue-ref-params.exp: New file.
5481 * gdb.cp/rvalue-ref-sizeof.cc: New file.
5482 * gdb.cp/rvalue-ref-sizeof.exp: New file.
5483 * gdb.cp/rvalue-ref-types.cc: New file.
5484 * gdb.cp/rvalue-ref-types.exp: New file.
5485 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
5486 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
5488 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5490 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
5493 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
5495 * lib/mi-support.exp (mi_gdb_test): Add additional message
5496 for unexpected output.
5498 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5500 * gdb.base/examine-backward.c (Barrier): New character array
5501 constant, to ensure that TestStrings is preceded by a string
5504 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
5506 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
5507 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
5508 and implicit pointer into such a location.
5510 2017-03-16 Doug Evans <dje@google.com>
5512 * gdb.python/py-lazy-string (pointer): Really add new typedef.
5514 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
5516 * gdb.cp/m-static.exp: Fix expectation for prototype of
5517 test5.single_constructor and single_constructor::single_constructor.
5519 2017-03-16 Doug Evans <dje@google.com>
5521 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
5522 * gdb.guile/scm-lazy-string.c: New file.
5523 * gdb.guile/scm-value.exp: Move lazy string tests to ...
5524 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
5525 for pointer, array, typedef lazy strings.
5527 2017-03-16 Doug Evans <dje@google.com>
5529 PR python/17728, python/18439, python/18779
5530 * gdb.python/py-value.c (main) Delete locals sptr, sn.
5531 * gdb.python/py-lazy-string.c (pointer): New typedef.
5532 (main): New locals ptr, array, typedef_ptr.
5533 * gdb.python/py-value.exp: Move lazy string tests to ...
5534 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
5535 array, typedef lazy strings.
5537 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
5539 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
5540 Add optional 'test' parameter.
5542 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5544 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5545 Skip for versions of DejaGnu < 1.5.
5547 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
5549 * lib/gdb.exp (dejagnu_version): New proc.
5550 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
5551 Use dejagnu_version.
5553 2017-03-10 Keith Seitz <keiths@redhat.com>
5556 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
5557 type from destructor regexps.
5558 Add a branch which actually passes the test.
5559 Adjust "ptype t5i" test names.
5561 2017-03-08 Pedro Alves <palves@redhat.com>
5563 * gdb.base/step-over-exit.exp: Add explicit test message.
5565 2017-03-08 Pedro Alves <palves@redhat.com>
5568 * gdb.threads/interrupt-while-step-over.c: New file.
5569 * gdb.threads/interrupt-while-step-over.exp: New file.
5571 2017-03-08 Pedro Alves <palves@redhat.com>
5573 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
5574 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
5576 2017-03-08 Pedro Alves <palves@redhat.com>
5578 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
5579 PKRU as not supported as a PASS.
5581 2017-03-08 Pedro Alves <palves@redhat.com>
5583 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
5584 prefix instead of $binfile1/$binfile2.
5585 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
5587 * gdb.python/py-completion.exp: Use "load python file" as test
5588 messages instead of unstable path names.
5590 2017-03-08 Pedro Alves <palves@redhat.com>
5591 Jan Kratochvil <jan.kratochvil@redhat.com>
5594 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
5596 (top level): Call it.
5598 2017-03-08 Pedro Alves <palves@redhat.com>
5601 * gdb.tui/tui-nl-filtered-output.exp: New file.
5603 2017-03-08 Pedro Alves <palves@redhat.com>
5605 * gdb.base/completion.exp: Move TUI completion tests to ...
5606 * gdb.tui/completion.exp: ... this new file.
5608 2017-03-08 Pedro Alves <palves@redhat.com>
5610 * gdb.base/tui-disasm-long-lines.c,
5611 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
5612 gdb.base/tui-layout.exp: Move to ...
5613 * gdb.tui/: ... this new directory.
5615 2017-03-07 Pedro Alves <palves@redhat.com>
5617 * gdb.base/tui-layout.c: New file.
5618 * gdb.base/tui-layout.exp: New file.
5620 2017-03-07 Pedro Alves <palves@redhat.com>
5622 * gdb.base/tui-layout.c: Rename to ...
5623 * gdb.base/tui-disasm-long-lines.c: ... this.
5624 * gdb.base/tui-layout.exp: Rename to ...
5625 * gdb.base/tui-disasm-long-lines.exp: ... this.
5627 2017-03-07 Pedro Alves <palves@redhat.com>
5629 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
5631 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
5633 * i386-mpx-call.c: New file.
5634 * i386-mpx-call.exp: New file.
5636 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
5638 * gdb.arch/powerpc-power.exp: Delete test.
5639 * gdb.arch/powerpc-power.s: Likewise.
5640 * gdb.disasm/disassembler-options.exp: New test.
5641 * gdb.arch/powerpc-altivec.exp: Likewise.
5642 * gdb.arch/powerpc-altivec.s: Likewise.
5643 * gdb.arch/powerpc-altivec2.exp: Likewise.
5644 * gdb.arch/powerpc-altivec2.s: Likewise.
5645 * gdb.arch/powerpc-altivec3.exp: Likewise.
5646 * gdb.arch/powerpc-altivec3.s: Likewise.
5647 * gdb.arch/powerpc-power7.exp: Likewise.
5648 * gdb.arch/powerpc-power7.s: Likewise.
5649 * gdb.arch/powerpc-power8.exp: Likewise.
5650 * gdb.arch/powerpc-power8.s: Likewise.
5651 * gdb.arch/powerpc-power9.exp: Likewise.
5652 * gdb.arch/powerpc-power9.s: Likewise.
5653 * gdb.arch/powerpc-vsx.exp: Likewise.
5654 * gdb.arch/powerpc-vsx.s: Likewise.
5655 * gdb.arch/powerpc-vsx2.exp: Likewise.
5656 * gdb.arch/powerpc-vsx2.s: Likewise.
5657 * gdb.arch/powerpc-vsx3.exp: Likewise.
5658 * gdb.arch/powerpc-vsx3.s: Likewise.
5659 * gdb.arch/arm-disassembler-options.exp: Likewise.
5660 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
5661 * gdb.arch/s390-disassembler-options.exp: Likewise.
5663 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
5665 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
5666 (check_supported_features): ... this. Changed return type to void.
5667 (supports_rdseed): New static global.
5668 (rdseed): Check supports_rdseed.
5669 (initialize): Call check_supported_features.
5671 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5673 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
5674 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
5676 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
5677 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
5679 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5681 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
5684 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5686 * gdb.dwarf2/formdata16.c: New file.
5687 * gdb.dwarf2/formdata16.exp: New file.
5688 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
5690 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5692 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
5693 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
5694 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
5695 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
5698 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5700 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
5702 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
5705 * gdb.base/maint.exp: Add testcases for when the commands do
5708 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
5710 * gdb.cp/chained-calls.exp: Use p instead of P.
5712 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
5714 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
5715 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
5717 2017-02-14 Tom Tromey <tom@tromey.com>
5720 * gdb.python/py-events.exp: Add before_prompt event tests.
5722 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
5724 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
5726 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
5728 * gdb.linespec/explicit.c (my_unique_function_name): New function.
5729 (main): Call my_unique_function_name.
5730 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
5731 completion of patterns with a single match.
5732 Add missing -re switches to gdb_test_multiple calls.
5734 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
5736 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
5737 return if core file is not recognized.
5739 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
5741 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
5744 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
5746 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
5749 2017-02-10 Tom Tromey <tom@tromey.com>
5751 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
5753 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
5756 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
5758 2017-02-08 Jerome Guitton <guitton@adacore.com>
5760 * gdb.base/define.exp: Add test for command abbreviations
5763 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
5765 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
5766 * gdb.reverse/insn-reverse-x86.c: New file.
5768 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
5771 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
5773 2017-02-03 Tom Tromey <tom@tromey.com>
5776 * gdb.rust/simple.exp: Add new tests.
5778 2017-02-02 Pedro Alves <palves@redhat.com>
5780 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
5783 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
5785 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
5786 taking a 2-byte value out of a 4-byte DWARF implicit value on
5788 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
5789 logic. Add test cases for DW_OP_implicit.
5791 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5793 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
5795 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5797 * gdb.btrace/enable.exp: Call gdb_exit before
5798 skip_gdbserver_tests.
5800 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5802 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
5805 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5807 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
5808 the test is skipped.
5809 * gdb.btrace/data.exp: Likewise.
5810 * gdb.btrace/delta.exp: Likewise.
5811 * gdb.btrace/dlopen.exp: Likewise.
5812 * gdb.btrace/enable-running.exp: Likewise.
5813 * gdb.btrace/enable.exp: Likewise.
5814 * gdb.btrace/exception.exp: Likewise.
5815 * gdb.btrace/function_call_history.exp: Likewise.
5816 * gdb.btrace/gcore.exp: Likewise.
5817 * gdb.btrace/instruction_history.exp: Likewise.
5818 * gdb.btrace/multi-thread-step.exp: Likewise.
5819 * gdb.btrace/nohist.exp: Likewise.
5820 * gdb.btrace/non-stop.exp: Likewise.
5821 * gdb.btrace/reconnect.exp: Likewise.
5822 * gdb.btrace/record_goto-step.exp: Likewise.
5823 * gdb.btrace/record_goto.exp: Likewise.
5824 * gdb.btrace/rn-dl-bind.exp: Likewise.
5825 * gdb.btrace/segv.exp: Likewise.
5826 * gdb.btrace/step.exp: Likewise.
5827 * gdb.btrace/stepi.exp: Likewise.
5828 * gdb.btrace/tailcall-only.exp: Likewise.
5829 * gdb.btrace/tailcall.exp: Likewise.
5830 * gdb.btrace/tsx.exp: Likewise.
5831 * gdb.btrace/unknown_functions.exp: Likewise.
5832 * gdb.btrace/vdso.exp: Likewise.
5834 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
5836 * gdb.btrace/enable-running.c: New.
5837 * gdb.btrace/enable-running.exp: New.
5839 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
5841 * gdb.arch/amd64-gs_base.c: New file.
5842 * gdb.arch/amd64-gs_base.exp: New file.
5844 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
5846 * lib/memory.exp: Remove spurious empty newlines.
5848 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
5850 * gdb.python/py-bad-printers.exp: Load python file using "source".
5851 * gdb.python/py-events.exp: Likewise.
5852 * gdb.python/py-evsignal.exp: Likewise.
5853 * gdb.python/py-evthreads.exp: Likewise.
5854 * gdb.python/py-frame-args.exp: Likewise.
5855 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
5856 * gdb.python/py-framefilter-mi.exp: Likewise.
5857 * gdb.python/py-framefilter.exp: Likewise.
5858 * gdb.python/py-mi.exp: Likewise.
5859 * gdb.python/py-pp-maint.exp: Likewise.
5860 * gdb.python/py-pp-registration.exp: Likewise.
5861 * gdb.python/py-prettyprint.exp: Likewise.
5862 (run_lang_tests): Likewise.
5863 * gdb.python/py-typeprint.exp: Likewise.
5865 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
5867 * lib/memory.exp: New file.
5868 * lib/gdb.exp: Load memory.exp.
5869 * gdb.base/memattr.exp (delete_memory): Move proc to
5870 lib/memory.exp and rename to delete_memory_regions.
5871 Replace delete_memory with delete_memory_regions.
5872 Cleanup memory regions before tests.
5873 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
5876 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
5878 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
5880 (initialize): New function conditionally defined.
5881 (testcases): Move within conditional block.
5882 (main): Call initialize.
5883 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
5884 of gdb.reverse/insn-reverse.c.
5885 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
5886 gdb.reverse/insn-reverse.c.
5888 2017-01-26 Yao Qi <yao.qi@linaro.org>
5890 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
5891 disassemble on address 0.
5893 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
5894 Yao Qi <yao.qi@linaro.org>
5896 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
5897 * gdb.dwarf2/implptr-64bit.S: Remove.
5898 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
5899 variables in caller's context. Add DW_OP_implicit_value.
5901 2017-01-25 Yao Qi <yao.qi@linaro.org>
5903 * lib/dwarf.exp (Dwarf::_location): Handle
5904 DW_OP_GNU_implicit_pointer with proper size.
5906 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
5908 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
5909 and add untested calls.
5911 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
5913 * gdb.python/python.exp: Check line number against what GDB thinks
5914 the line number is for func1.
5916 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
5918 * gdb.dlang/debug-expr.exp: New file.
5920 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
5922 Fix test names for the following files:
5924 * gdb.ada/exec_changed.exp
5925 * gdb.ada/info_types.exp
5926 * gdb.arch/aarch64-atomic-inst.exp
5927 * gdb.arch/aarch64-fp.exp
5928 * gdb.arch/altivec-abi.exp
5929 * gdb.arch/altivec-regs.exp
5930 * gdb.arch/amd64-byte.exp
5931 * gdb.arch/amd64-disp-step.exp
5932 * gdb.arch/amd64-dword.exp
5933 * gdb.arch/amd64-entry-value-inline.exp
5934 * gdb.arch/amd64-entry-value-param.exp
5935 * gdb.arch/amd64-entry-value-paramref.exp
5936 * gdb.arch/amd64-entry-value.exp
5937 * gdb.arch/amd64-i386-address.exp
5938 * gdb.arch/amd64-invalid-stack-middle.exp
5939 * gdb.arch/amd64-invalid-stack-top.exp
5940 * gdb.arch/amd64-optimout-repeat.exp
5941 * gdb.arch/amd64-prologue-skip.exp
5942 * gdb.arch/amd64-prologue-xmm.exp
5943 * gdb.arch/amd64-stap-special-operands.exp
5944 * gdb.arch/amd64-stap-wrong-subexp.exp
5945 * gdb.arch/amd64-tailcall-cxx.exp
5946 * gdb.arch/amd64-tailcall-noret.exp
5947 * gdb.arch/amd64-tailcall-ret.exp
5948 * gdb.arch/amd64-tailcall-self.exp
5949 * gdb.arch/amd64-word.exp
5950 * gdb.arch/arm-bl-branch-dest.exp
5951 * gdb.arch/arm-disp-step.exp
5952 * gdb.arch/arm-neon.exp
5953 * gdb.arch/arm-single-step-kernel-helper.exp
5954 * gdb.arch/avr-flash-qualifier.exp
5955 * gdb.arch/disp-step-insn-reloc.exp
5956 * gdb.arch/e500-abi.exp
5957 * gdb.arch/e500-regs.exp
5958 * gdb.arch/ftrace-insn-reloc.exp
5959 * gdb.arch/i386-avx512.exp
5960 * gdb.arch/i386-bp_permanent.exp
5961 * gdb.arch/i386-byte.exp
5962 * gdb.arch/i386-cfi-notcurrent.exp
5963 * gdb.arch/i386-disp-step.exp
5964 * gdb.arch/i386-dr3-watch.exp
5965 * gdb.arch/i386-float.exp
5966 * gdb.arch/i386-gnu-cfi.exp
5967 * gdb.arch/i386-mpx-map.exp
5968 * gdb.arch/i386-mpx-sigsegv.exp
5969 * gdb.arch/i386-mpx-simple_segv.exp
5970 * gdb.arch/i386-mpx.exp
5971 * gdb.arch/i386-permbkpt.exp
5972 * gdb.arch/i386-prologue.exp
5973 * gdb.arch/i386-signal.exp
5974 * gdb.arch/i386-size-overlap.exp
5975 * gdb.arch/i386-unwind.exp
5976 * gdb.arch/i386-word.exp
5977 * gdb.arch/mips-fcr.exp
5978 * gdb.arch/powerpc-d128-regs.exp
5979 * gdb.arch/powerpc-stackless.exp
5980 * gdb.arch/ppc64-atomic-inst.exp
5981 * gdb.arch/s390-stackless.exp
5982 * gdb.arch/s390-tdbregs.exp
5983 * gdb.arch/s390-vregs.exp
5984 * gdb.arch/sparc-sysstep.exp
5985 * gdb.arch/thumb-bx-pc.exp
5986 * gdb.arch/thumb-singlestep.exp
5987 * gdb.arch/thumb2-it.exp
5988 * gdb.arch/vsx-regs.exp
5989 * gdb.asm/asm-source.exp
5990 * gdb.base/a2-run.exp
5991 * gdb.base/advance.exp
5992 * gdb.base/all-bin.exp
5995 * gdb.base/arithmet.exp
5996 * gdb.base/async-shell.exp
5997 * gdb.base/async.exp
5998 * gdb.base/attach-pie-noexec.exp
5999 * gdb.base/attach-twice.exp
6000 * gdb.base/auto-load.exp
6002 * gdb.base/bitfields.exp
6003 * gdb.base/break-always.exp
6004 * gdb.base/break-caller-line.exp
6005 * gdb.base/break-entry.exp
6006 * gdb.base/break-inline.exp
6007 * gdb.base/break-on-linker-gcd-function.exp
6008 * gdb.base/break-probes.exp
6009 * gdb.base/break.exp
6010 * gdb.base/breakpoint-shadow.exp
6011 * gdb.base/call-ar-st.exp
6012 * gdb.base/call-sc.exp
6013 * gdb.base/call-signal-resume.exp
6014 * gdb.base/call-strs.exp
6015 * gdb.base/callfuncs.exp
6016 * gdb.base/catch-fork-static.exp
6017 * gdb.base/catch-gdb-caused-signals.exp
6018 * gdb.base/catch-load.exp
6019 * gdb.base/catch-signal-fork.exp
6020 * gdb.base/catch-signal.exp
6021 * gdb.base/catch-syscall.exp
6022 * gdb.base/charset.exp
6023 * gdb.base/checkpoint.exp
6024 * gdb.base/chng-syms.exp
6025 * gdb.base/code-expr.exp
6026 * gdb.base/code_elim.exp
6027 * gdb.base/commands.exp
6028 * gdb.base/completion.exp
6029 * gdb.base/complex.exp
6030 * gdb.base/cond-expr.exp
6031 * gdb.base/condbreak.exp
6032 * gdb.base/consecutive.exp
6033 * gdb.base/continue-all-already-running.exp
6034 * gdb.base/coredump-filter.exp
6035 * gdb.base/corefile.exp
6037 * gdb.base/debug-expr.exp
6038 * gdb.base/define.exp
6040 * gdb.base/disabled-location.exp
6041 * gdb.base/disasm-end-cu.exp
6042 * gdb.base/disasm-optim.exp
6043 * gdb.base/display.exp
6044 * gdb.base/duplicate-bp.exp
6045 * gdb.base/ena-dis-br.exp
6046 * gdb.base/ending-run.exp
6047 * gdb.base/enumval.exp
6048 * gdb.base/environ.exp
6049 * gdb.base/eu-strip-infcall.exp
6050 * gdb.base/eval-avoid-side-effects.exp
6051 * gdb.base/eval-skip.exp
6052 * gdb.base/exitsignal.exp
6053 * gdb.base/expand-psymtabs.exp
6054 * gdb.base/filesym.exp
6055 * gdb.base/find-unmapped.exp
6056 * gdb.base/finish.exp
6057 * gdb.base/float.exp
6058 * gdb.base/foll-exec-mode.exp
6059 * gdb.base/foll-exec.exp
6060 * gdb.base/foll-fork.exp
6061 * gdb.base/fortran-sym-case.exp
6062 * gdb.base/freebpcmd.exp
6063 * gdb.base/func-ptr.exp
6064 * gdb.base/func-ptrs.exp
6065 * gdb.base/funcargs.exp
6066 * gdb.base/gcore-buffer-overflow.exp
6067 * gdb.base/gcore-relro-pie.exp
6068 * gdb.base/gcore-relro.exp
6069 * gdb.base/gcore.exp
6070 * gdb.base/gdb1090.exp
6071 * gdb.base/gdb11530.exp
6072 * gdb.base/gdb11531.exp
6073 * gdb.base/gdb1821.exp
6074 * gdb.base/gdbindex-stabs.exp
6075 * gdb.base/gdbvars.exp
6076 * gdb.base/hbreak.exp
6077 * gdb.base/hbreak2.exp
6078 * gdb.base/included.exp
6079 * gdb.base/infcall-input.exp
6080 * gdb.base/inferior-died.exp
6081 * gdb.base/infnan.exp
6082 * gdb.base/info-macros.exp
6083 * gdb.base/info-os.exp
6084 * gdb.base/info-proc.exp
6085 * gdb.base/info-shared.exp
6086 * gdb.base/info-target.exp
6087 * gdb.base/infoline.exp
6088 * gdb.base/interp.exp
6089 * gdb.base/interrupt.exp
6090 * gdb.base/jit-reader.exp
6091 * gdb.base/jit-simple.exp
6092 * gdb.base/kill-after-signal.exp
6093 * gdb.base/kill-detach-inferiors-cmd.exp
6094 * gdb.base/label.exp
6095 * gdb.base/langs.exp
6096 * gdb.base/ldbl_e308.exp
6097 * gdb.base/line-symtabs.exp
6098 * gdb.base/linespecs.exp
6100 * gdb.base/long_long.exp
6101 * gdb.base/longest-types.exp
6102 * gdb.base/maint.exp
6103 * gdb.base/max-value-size.exp
6104 * gdb.base/memattr.exp
6105 * gdb.base/mips_pro.exp
6106 * gdb.base/morestack.exp
6107 * gdb.base/moribund-step.exp
6108 * gdb.base/multi-forks.exp
6109 * gdb.base/nested-addr.exp
6110 * gdb.base/nextoverexit.exp
6111 * gdb.base/noreturn-finish.exp
6112 * gdb.base/noreturn-return.exp
6113 * gdb.base/nostdlib.exp
6114 * gdb.base/offsets.exp
6115 * gdb.base/opaque.exp
6116 * gdb.base/pc-fp.exp
6117 * gdb.base/permissions.exp
6118 * gdb.base/print-symbol-loading.exp
6119 * gdb.base/prologue-include.exp
6120 * gdb.base/psymtab.exp
6121 * gdb.base/ptype.exp
6122 * gdb.base/random-signal.exp
6123 * gdb.base/randomize.exp
6124 * gdb.base/range-stepping.exp
6125 * gdb.base/readline-ask.exp
6126 * gdb.base/recpar.exp
6127 * gdb.base/recurse.exp
6128 * gdb.base/relational.exp
6129 * gdb.base/restore.exp
6130 * gdb.base/return-nodebug.exp
6131 * gdb.base/return.exp
6132 * gdb.base/run-after-attach.exp
6133 * gdb.base/save-bp.exp
6134 * gdb.base/scope.exp
6135 * gdb.base/sect-cmd.exp
6136 * gdb.base/set-lang-auto.exp
6137 * gdb.base/set-noassign.exp
6138 * gdb.base/setvar.exp
6139 * gdb.base/sigall.exp
6140 * gdb.base/sigbpt.exp
6141 * gdb.base/siginfo-addr.exp
6142 * gdb.base/siginfo-infcall.exp
6143 * gdb.base/siginfo-obj.exp
6144 * gdb.base/siginfo.exp
6145 * gdb.base/signals-state-child.exp
6146 * gdb.base/signest.exp
6147 * gdb.base/sigstep.exp
6148 * gdb.base/sizeof.exp
6150 * gdb.base/solib-corrupted.exp
6151 * gdb.base/solib-nodir.exp
6152 * gdb.base/solib-search.exp
6153 * gdb.base/stack-checking.exp
6154 * gdb.base/stale-infcall.exp
6155 * gdb.base/stap-probe.exp
6156 * gdb.base/start.exp
6157 * gdb.base/step-break.exp
6158 * gdb.base/step-bt.exp
6159 * gdb.base/step-line.exp
6160 * gdb.base/step-over-exit.exp
6161 * gdb.base/step-over-syscall.exp
6162 * gdb.base/step-resume-infcall.exp
6163 * gdb.base/step-test.exp
6164 * gdb.base/store.exp
6165 * gdb.base/structs3.exp
6166 * gdb.base/sym-file.exp
6167 * gdb.base/symbol-without-target_section.exp
6169 * gdb.base/testenv.exp
6170 * gdb.base/ui-redirect.exp
6171 * gdb.base/until.exp
6172 * gdb.base/unwindonsignal.exp
6173 * gdb.base/value-double-free.exp
6174 * gdb.base/vla-datatypes.exp
6175 * gdb.base/vla-ptr.exp
6176 * gdb.base/vla-sideeffect.exp
6177 * gdb.base/volatile.exp
6178 * gdb.base/watch-cond-infcall.exp
6179 * gdb.base/watch-cond.exp
6180 * gdb.base/watch-non-mem.exp
6181 * gdb.base/watch-read.exp
6182 * gdb.base/watch-vfork.exp
6183 * gdb.base/watchpoint-cond-gone.exp
6184 * gdb.base/watchpoint-delete.exp
6185 * gdb.base/watchpoint-hw-hit-once.exp
6186 * gdb.base/watchpoint-hw.exp
6187 * gdb.base/watchpoint-stops-at-right-insn.exp
6188 * gdb.base/watchpoints.exp
6189 * gdb.base/wchar.exp
6190 * gdb.base/whatis-exp.exp
6191 * gdb.btrace/buffer-size.exp
6192 * gdb.btrace/data.exp
6193 * gdb.btrace/delta.exp
6194 * gdb.btrace/dlopen.exp
6195 * gdb.btrace/enable.exp
6196 * gdb.btrace/exception.exp
6197 * gdb.btrace/function_call_history.exp
6198 * gdb.btrace/gcore.exp
6199 * gdb.btrace/instruction_history.exp
6200 * gdb.btrace/nohist.exp
6201 * gdb.btrace/reconnect.exp
6202 * gdb.btrace/record_goto-step.exp
6203 * gdb.btrace/record_goto.exp
6204 * gdb.btrace/rn-dl-bind.exp
6205 * gdb.btrace/segv.exp
6206 * gdb.btrace/step.exp
6207 * gdb.btrace/stepi.exp
6208 * gdb.btrace/tailcall-only.exp
6209 * gdb.btrace/tailcall.exp
6210 * gdb.btrace/tsx.exp
6211 * gdb.btrace/unknown_functions.exp
6212 * gdb.btrace/vdso.exp
6213 * gdb.compile/compile-ifunc.exp
6214 * gdb.compile/compile-ops.exp
6215 * gdb.compile/compile-print.exp
6216 * gdb.compile/compile-setjmp.exp
6217 * gdb.cp/abstract-origin.exp
6218 * gdb.cp/ambiguous.exp
6219 * gdb.cp/annota2.exp
6220 * gdb.cp/annota3.exp
6221 * gdb.cp/anon-ns.exp
6222 * gdb.cp/anon-struct.exp
6223 * gdb.cp/anon-union.exp
6224 * gdb.cp/arg-reference.exp
6225 * gdb.cp/baseenum.exp
6227 * gdb.cp/breakpoint.exp
6228 * gdb.cp/bs15503.exp
6231 * gdb.cp/chained-calls.exp
6233 * gdb.cp/classes.exp
6234 * gdb.cp/cmpd-minsyms.exp
6235 * gdb.cp/converts.exp
6236 * gdb.cp/cp-relocate.exp
6237 * gdb.cp/cpcompletion.exp
6238 * gdb.cp/cpexprs.exp
6239 * gdb.cp/cplabel.exp
6240 * gdb.cp/cplusfuncs.exp
6241 * gdb.cp/cpsizeof.exp
6243 * gdb.cp/derivation.exp
6244 * gdb.cp/destrprint.exp
6245 * gdb.cp/dispcxx.exp
6246 * gdb.cp/enum-class.exp
6247 * gdb.cp/exception.exp
6248 * gdb.cp/exceptprint.exp
6249 * gdb.cp/expand-psymtabs-cxx.exp
6250 * gdb.cp/expand-sals.exp
6251 * gdb.cp/extern-c.exp
6252 * gdb.cp/filename.exp
6253 * gdb.cp/formatted-ref.exp
6254 * gdb.cp/fpointer.exp
6255 * gdb.cp/gdb1355.exp
6256 * gdb.cp/gdb2495.exp
6258 * gdb.cp/impl-this.exp
6259 * gdb.cp/infcall-dlopen.exp
6260 * gdb.cp/inherit.exp
6261 * gdb.cp/iostream.exp
6265 * gdb.cp/m-static.exp
6266 * gdb.cp/mb-ctor.exp
6267 * gdb.cp/mb-inline.exp
6268 * gdb.cp/mb-templates.exp
6269 * gdb.cp/member-name.exp
6270 * gdb.cp/member-ptr.exp
6271 * gdb.cp/meth-typedefs.exp
6273 * gdb.cp/method2.exp
6274 * gdb.cp/minsym-fallback.exp
6276 * gdb.cp/namelessclass.exp
6277 * gdb.cp/namespace-enum.exp
6278 * gdb.cp/namespace-nested-import.exp
6279 * gdb.cp/namespace.exp
6280 * gdb.cp/nextoverthrow.exp
6281 * gdb.cp/no-dmgl-verbose.exp
6282 * gdb.cp/non-trivial-retval.exp
6283 * gdb.cp/noparam.exp
6285 * gdb.cp/nsimport.exp
6286 * gdb.cp/nsnested.exp
6287 * gdb.cp/nsnoimports.exp
6288 * gdb.cp/nsrecurs.exp
6289 * gdb.cp/nsstress.exp
6290 * gdb.cp/nsusing.exp
6291 * gdb.cp/operator.exp
6292 * gdb.cp/oranking.exp
6293 * gdb.cp/overload-const.exp
6294 * gdb.cp/overload.exp
6295 * gdb.cp/ovldbreak.exp
6297 * gdb.cp/paren-type.exp
6298 * gdb.cp/parse-lang.exp
6299 * gdb.cp/pass-by-ref.exp
6300 * gdb.cp/pr-1023.exp
6301 * gdb.cp/pr-1210.exp
6303 * gdb.cp/pr10687.exp
6304 * gdb.cp/pr12028.exp
6305 * gdb.cp/pr17132.exp
6306 * gdb.cp/pr17494.exp
6310 * gdb.cp/printmethod.exp
6312 * gdb.cp/psymtab-parameter.exp
6313 * gdb.cp/ptype-cv-cp.exp
6314 * gdb.cp/ptype-flags.exp
6315 * gdb.cp/re-set-overloaded.exp
6316 * gdb.cp/ref-types.exp
6318 * gdb.cp/scope-err.exp
6321 * gdb.cp/static-method.exp
6322 * gdb.cp/static-print-quit.exp
6323 * gdb.cp/temargs.exp
6324 * gdb.cp/templates.exp
6325 * gdb.cp/try_catch.exp
6326 * gdb.cp/typedef-operator.exp
6328 * gdb.cp/userdef.exp
6329 * gdb.cp/using-crash.exp
6330 * gdb.cp/var-tag.exp
6331 * gdb.cp/virtbase.exp
6332 * gdb.cp/virtfunc.exp
6333 * gdb.cp/virtfunc2.exp
6334 * gdb.cp/vla-cxx.exp
6335 * gdb.disasm/t01_mov.exp
6336 * gdb.disasm/t02_mova.exp
6337 * gdb.disasm/t03_add.exp
6338 * gdb.disasm/t04_sub.exp
6339 * gdb.disasm/t05_cmp.exp
6340 * gdb.disasm/t06_ari2.exp
6341 * gdb.disasm/t07_ari3.exp
6342 * gdb.disasm/t08_or.exp
6343 * gdb.disasm/t09_xor.exp
6344 * gdb.disasm/t10_and.exp
6345 * gdb.disasm/t11_logs.exp
6346 * gdb.disasm/t12_bit.exp
6347 * gdb.disasm/t13_otr.exp
6348 * gdb.dlang/circular.exp
6349 * gdb.dwarf2/arr-stride.exp
6350 * gdb.dwarf2/arr-subrange.exp
6351 * gdb.dwarf2/atomic-type.exp
6352 * gdb.dwarf2/bad-regnum.exp
6353 * gdb.dwarf2/bitfield-parent-optimized-out.exp
6354 * gdb.dwarf2/callframecfa.exp
6355 * gdb.dwarf2/clztest.exp
6356 * gdb.dwarf2/corrupt.exp
6357 * gdb.dwarf2/data-loc.exp
6358 * gdb.dwarf2/dup-psym.exp
6359 * gdb.dwarf2/dw2-anon-mptr.exp
6360 * gdb.dwarf2/dw2-anonymous-func.exp
6361 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
6362 * gdb.dwarf2/dw2-bad-unresolved.exp
6363 * gdb.dwarf2/dw2-basic.exp
6364 * gdb.dwarf2/dw2-canonicalize-type.exp
6365 * gdb.dwarf2/dw2-case-insensitive.exp
6366 * gdb.dwarf2/dw2-common-block.exp
6367 * gdb.dwarf2/dw2-compdir-oldgcc.exp
6368 * gdb.dwarf2/dw2-compressed.exp
6369 * gdb.dwarf2/dw2-const.exp
6370 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
6371 * gdb.dwarf2/dw2-cu-size.exp
6372 * gdb.dwarf2/dw2-dup-frame.exp
6373 * gdb.dwarf2/dw2-entry-value.exp
6374 * gdb.dwarf2/dw2-icycle.exp
6375 * gdb.dwarf2/dw2-ifort-parameter.exp
6376 * gdb.dwarf2/dw2-inline-break.exp
6377 * gdb.dwarf2/dw2-inline-param.exp
6378 * gdb.dwarf2/dw2-intercu.exp
6379 * gdb.dwarf2/dw2-intermix.exp
6380 * gdb.dwarf2/dw2-lexical-block-bare.exp
6381 * gdb.dwarf2/dw2-linkage-name-trust.exp
6382 * gdb.dwarf2/dw2-minsym-in-cu.exp
6383 * gdb.dwarf2/dw2-noloc.exp
6384 * gdb.dwarf2/dw2-op-call.exp
6385 * gdb.dwarf2/dw2-op-out-param.exp
6386 * gdb.dwarf2/dw2-opt-structptr.exp
6387 * gdb.dwarf2/dw2-param-error.exp
6388 * gdb.dwarf2/dw2-producer.exp
6389 * gdb.dwarf2/dw2-ranges-base.exp
6390 * gdb.dwarf2/dw2-ref-missing-frame.exp
6391 * gdb.dwarf2/dw2-reg-undefined.exp
6392 * gdb.dwarf2/dw2-regno-invalid.exp
6393 * gdb.dwarf2/dw2-restore.exp
6394 * gdb.dwarf2/dw2-restrict.exp
6395 * gdb.dwarf2/dw2-single-line-discriminators.exp
6396 * gdb.dwarf2/dw2-strp.exp
6397 * gdb.dwarf2/dw2-undefined-ret-addr.exp
6398 * gdb.dwarf2/dw2-unresolved.exp
6399 * gdb.dwarf2/dw2-var-zero-addr.exp
6400 * gdb.dwarf2/dw4-sig-types.exp
6401 * gdb.dwarf2/dwz.exp
6402 * gdb.dwarf2/dynarr-ptr.exp
6403 * gdb.dwarf2/enum-type.exp
6404 * gdb.dwarf2/gdb-index.exp
6405 * gdb.dwarf2/implptr-64bit.exp
6406 * gdb.dwarf2/implptr-optimized-out.exp
6407 * gdb.dwarf2/implptr.exp
6408 * gdb.dwarf2/implref-array.exp
6409 * gdb.dwarf2/implref-const.exp
6410 * gdb.dwarf2/implref-global.exp
6411 * gdb.dwarf2/implref-struct.exp
6412 * gdb.dwarf2/mac-fileno.exp
6413 * gdb.dwarf2/main-subprogram.exp
6414 * gdb.dwarf2/member-ptr-forwardref.exp
6415 * gdb.dwarf2/method-ptr.exp
6416 * gdb.dwarf2/missing-sig-type.exp
6417 * gdb.dwarf2/nonvar-access.exp
6418 * gdb.dwarf2/opaque-type-lookup.exp
6419 * gdb.dwarf2/pieces-optimized-out.exp
6420 * gdb.dwarf2/pieces.exp
6421 * gdb.dwarf2/pr10770.exp
6422 * gdb.dwarf2/pr13961.exp
6423 * gdb.dwarf2/staticvirtual.exp
6424 * gdb.dwarf2/subrange.exp
6425 * gdb.dwarf2/symtab-producer.exp
6426 * gdb.dwarf2/trace-crash.exp
6427 * gdb.dwarf2/typeddwarf.exp
6428 * gdb.dwarf2/valop.exp
6429 * gdb.dwarf2/watch-notconst.exp
6430 * gdb.fortran/array-element.exp
6431 * gdb.fortran/charset.exp
6432 * gdb.fortran/common-block.exp
6433 * gdb.fortran/complex.exp
6434 * gdb.fortran/derived-type-function.exp
6435 * gdb.fortran/derived-type.exp
6436 * gdb.fortran/logical.exp
6437 * gdb.fortran/module.exp
6438 * gdb.fortran/multi-dim.exp
6439 * gdb.fortran/nested-funcs.exp
6440 * gdb.fortran/print-formatted.exp
6441 * gdb.fortran/subarray.exp
6442 * gdb.fortran/vla-alloc-assoc.exp
6443 * gdb.fortran/vla-datatypes.exp
6444 * gdb.fortran/vla-history.exp
6445 * gdb.fortran/vla-ptr-info.exp
6446 * gdb.fortran/vla-ptype-sub.exp
6447 * gdb.fortran/vla-ptype.exp
6448 * gdb.fortran/vla-sizeof.exp
6449 * gdb.fortran/vla-type.exp
6450 * gdb.fortran/vla-value-sub-arbitrary.exp
6451 * gdb.fortran/vla-value-sub-finish.exp
6452 * gdb.fortran/vla-value-sub.exp
6453 * gdb.fortran/vla-value.exp
6454 * gdb.fortran/whatis_type.exp
6456 * gdb.go/handcall.exp
6458 * gdb.go/integers.exp
6459 * gdb.go/methods.exp
6460 * gdb.go/package.exp
6461 * gdb.go/strings.exp
6464 * gdb.guile/scm-arch.exp
6465 * gdb.guile/scm-block.exp
6466 * gdb.guile/scm-breakpoint.exp
6467 * gdb.guile/scm-cmd.exp
6468 * gdb.guile/scm-disasm.exp
6469 * gdb.guile/scm-equal.exp
6470 * gdb.guile/scm-frame-args.exp
6471 * gdb.guile/scm-frame-inline.exp
6472 * gdb.guile/scm-frame.exp
6473 * gdb.guile/scm-iterator.exp
6474 * gdb.guile/scm-math.exp
6475 * gdb.guile/scm-objfile.exp
6476 * gdb.guile/scm-ports.exp
6477 * gdb.guile/scm-symbol.exp
6478 * gdb.guile/scm-symtab.exp
6479 * gdb.guile/scm-value-cc.exp
6480 * gdb.guile/types-module.exp
6481 * gdb.linespec/break-ask.exp
6482 * gdb.linespec/cpexplicit.exp
6483 * gdb.linespec/explicit.exp
6484 * gdb.linespec/keywords.exp
6485 * gdb.linespec/linespec.exp
6486 * gdb.linespec/ls-dollar.exp
6487 * gdb.linespec/ls-errs.exp
6488 * gdb.linespec/skip-two.exp
6489 * gdb.linespec/thread.exp
6490 * gdb.mi/mi-async.exp
6491 * gdb.mi/mi-basics.exp
6492 * gdb.mi/mi-break.exp
6493 * gdb.mi/mi-catch-load.exp
6495 * gdb.mi/mi-cmd-param-changed.exp
6496 * gdb.mi/mi-console.exp
6497 * gdb.mi/mi-detach.exp
6498 * gdb.mi/mi-disassemble.exp
6499 * gdb.mi/mi-eval.exp
6500 * gdb.mi/mi-file-transfer.exp
6501 * gdb.mi/mi-file.exp
6502 * gdb.mi/mi-fill-memory.exp
6503 * gdb.mi/mi-inheritance-syntax-error.exp
6504 * gdb.mi/mi-linespec-err-cp.exp
6505 * gdb.mi/mi-logging.exp
6506 * gdb.mi/mi-memory-changed.exp
6507 * gdb.mi/mi-read-memory.exp
6508 * gdb.mi/mi-record-changed.exp
6509 * gdb.mi/mi-reg-undefined.exp
6510 * gdb.mi/mi-regs.exp
6511 * gdb.mi/mi-return.exp
6512 * gdb.mi/mi-reverse.exp
6513 * gdb.mi/mi-simplerun.exp
6514 * gdb.mi/mi-solib.exp
6515 * gdb.mi/mi-stack.exp
6516 * gdb.mi/mi-stepi.exp
6517 * gdb.mi/mi-syn-frame.exp
6518 * gdb.mi/mi-until.exp
6519 * gdb.mi/mi-var-block.exp
6520 * gdb.mi/mi-var-child.exp
6521 * gdb.mi/mi-var-cmd.exp
6522 * gdb.mi/mi-var-cp.exp
6523 * gdb.mi/mi-var-display.exp
6524 * gdb.mi/mi-var-invalidate.exp
6525 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
6526 * gdb.mi/mi-vla-fortran.exp
6527 * gdb.mi/mi-watch.exp
6528 * gdb.mi/mi2-var-child.exp
6529 * gdb.mi/user-selected-context-sync.exp
6530 * gdb.modula2/unbounded-array.exp
6531 * gdb.multi/dummy-frame-restore.exp
6532 * gdb.multi/multi-arch-exec.exp
6533 * gdb.multi/multi-arch.exp
6534 * gdb.multi/tids.exp
6535 * gdb.multi/watchpoint-multi.exp
6536 * gdb.opencl/callfuncs.exp
6537 * gdb.opencl/convs_casts.exp
6538 * gdb.opencl/datatypes.exp
6539 * gdb.opencl/operators.exp
6540 * gdb.opencl/vec_comps.exp
6541 * gdb.opt/clobbered-registers-O2.exp
6542 * gdb.opt/inline-break.exp
6543 * gdb.opt/inline-bt.exp
6544 * gdb.opt/inline-cmds.exp
6545 * gdb.opt/inline-locals.exp
6546 * gdb.pascal/case-insensitive-symbols.exp
6547 * gdb.pascal/floats.exp
6548 * gdb.pascal/gdb11492.exp
6549 * gdb.python/lib-types.exp
6550 * gdb.python/py-arch.exp
6551 * gdb.python/py-as-string.exp
6552 * gdb.python/py-bad-printers.exp
6553 * gdb.python/py-block.exp
6554 * gdb.python/py-breakpoint-create-fail.exp
6555 * gdb.python/py-breakpoint.exp
6556 * gdb.python/py-caller-is.exp
6557 * gdb.python/py-cmd.exp
6558 * gdb.python/py-explore-cc.exp
6559 * gdb.python/py-explore.exp
6560 * gdb.python/py-finish-breakpoint.exp
6561 * gdb.python/py-finish-breakpoint2.exp
6562 * gdb.python/py-frame-args.exp
6563 * gdb.python/py-frame-inline.exp
6564 * gdb.python/py-frame.exp
6565 * gdb.python/py-framefilter-mi.exp
6566 * gdb.python/py-infthread.exp
6567 * gdb.python/py-lazy-string.exp
6568 * gdb.python/py-linetable.exp
6569 * gdb.python/py-mi-events.exp
6570 * gdb.python/py-mi-objfile.exp
6571 * gdb.python/py-mi.exp
6572 * gdb.python/py-objfile.exp
6573 * gdb.python/py-pp-integral.exp
6574 * gdb.python/py-pp-maint.exp
6575 * gdb.python/py-pp-re-notag.exp
6576 * gdb.python/py-pp-registration.exp
6577 * gdb.python/py-recurse-unwind.exp
6578 * gdb.python/py-strfns.exp
6579 * gdb.python/py-symbol.exp
6580 * gdb.python/py-symtab.exp
6581 * gdb.python/py-sync-interp.exp
6582 * gdb.python/py-typeprint.exp
6583 * gdb.python/py-unwind-maint.exp
6584 * gdb.python/py-unwind.exp
6585 * gdb.python/py-value-cc.exp
6586 * gdb.python/py-xmethods.exp
6587 * gdb.reverse/amd64-tailcall-reverse.exp
6588 * gdb.reverse/break-precsave.exp
6589 * gdb.reverse/break-reverse.exp
6590 * gdb.reverse/consecutive-precsave.exp
6591 * gdb.reverse/consecutive-reverse.exp
6592 * gdb.reverse/finish-precsave.exp
6593 * gdb.reverse/finish-reverse-bkpt.exp
6594 * gdb.reverse/finish-reverse.exp
6595 * gdb.reverse/fstatat-reverse.exp
6596 * gdb.reverse/getresuid-reverse.exp
6597 * gdb.reverse/i386-precsave.exp
6598 * gdb.reverse/i386-reverse.exp
6599 * gdb.reverse/i386-sse-reverse.exp
6600 * gdb.reverse/i387-env-reverse.exp
6601 * gdb.reverse/i387-stack-reverse.exp
6602 * gdb.reverse/insn-reverse.exp
6603 * gdb.reverse/machinestate-precsave.exp
6604 * gdb.reverse/machinestate.exp
6605 * gdb.reverse/next-reverse-bkpt-over-sr.exp
6606 * gdb.reverse/pipe-reverse.exp
6607 * gdb.reverse/readv-reverse.exp
6608 * gdb.reverse/recvmsg-reverse.exp
6609 * gdb.reverse/rerun-prec.exp
6610 * gdb.reverse/s390-mvcle.exp
6611 * gdb.reverse/step-precsave.exp
6612 * gdb.reverse/step-reverse.exp
6613 * gdb.reverse/time-reverse.exp
6614 * gdb.reverse/until-precsave.exp
6615 * gdb.reverse/until-reverse.exp
6616 * gdb.reverse/waitpid-reverse.exp
6617 * gdb.reverse/watch-precsave.exp
6618 * gdb.reverse/watch-reverse.exp
6619 * gdb.rust/generics.exp
6620 * gdb.rust/methods.exp
6621 * gdb.rust/modules.exp
6622 * gdb.rust/simple.exp
6623 * gdb.server/connect-with-no-symbol-file.exp
6624 * gdb.server/ext-attach.exp
6625 * gdb.server/ext-restart.exp
6626 * gdb.server/ext-wrapper.exp
6627 * gdb.server/file-transfer.exp
6628 * gdb.server/server-exec-info.exp
6629 * gdb.server/server-kill.exp
6630 * gdb.server/server-mon.exp
6631 * gdb.server/wrapper.exp
6632 * gdb.stabs/exclfwd.exp
6633 * gdb.stabs/gdb11479.exp
6634 * gdb.threads/clone-new-thread-event.exp
6635 * gdb.threads/corethreads.exp
6636 * gdb.threads/current-lwp-dead.exp
6637 * gdb.threads/dlopen-libpthread.exp
6638 * gdb.threads/gcore-thread.exp
6639 * gdb.threads/sigstep-threads.exp
6640 * gdb.threads/watchpoint-fork.exp
6641 * gdb.trace/actions-changed.exp
6642 * gdb.trace/backtrace.exp
6643 * gdb.trace/change-loc.exp
6644 * gdb.trace/circ.exp
6645 * gdb.trace/collection.exp
6646 * gdb.trace/disconnected-tracing.exp
6647 * gdb.trace/ftrace.exp
6648 * gdb.trace/mi-trace-frame-collected.exp
6649 * gdb.trace/mi-trace-unavailable.exp
6650 * gdb.trace/mi-traceframe-changed.exp
6651 * gdb.trace/mi-tsv-changed.exp
6652 * gdb.trace/no-attach-trace.exp
6653 * gdb.trace/passc-dyn.exp
6654 * gdb.trace/qtro.exp
6655 * gdb.trace/range-stepping.exp
6656 * gdb.trace/read-memory.exp
6657 * gdb.trace/save-trace.exp
6658 * gdb.trace/signal.exp
6659 * gdb.trace/status-stop.exp
6660 * gdb.trace/tfile.exp
6661 * gdb.trace/trace-break.exp
6662 * gdb.trace/trace-buffer-size.exp
6663 * gdb.trace/trace-condition.exp
6664 * gdb.trace/tracefile-pseudo-reg.exp
6665 * gdb.trace/tstatus.exp
6666 * gdb.trace/unavailable.exp
6667 * gdb.trace/while-dyn.exp
6668 * gdb.trace/while-stepping.exp
6670 2016-12-22 Doug Evans <xdje42@gmail.com>
6672 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
6675 2016-12-19 Yao Qi <yao.qi@linaro.org>
6677 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
6678 (test_with_self): Don't call do_steps_and_nexts, and remove
6679 code about stepping into xmalloc.
6681 2016-12-09 Yao Qi <yao.qi@linaro.org>
6683 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
6685 2016-12-09 Yao Qi <yao.qi@linaro.org>
6687 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
6689 2016-12-09 Pedro Alves <palves@redhat.com>
6691 * gdb.base/all-architectures-0.exp: New file.
6692 * gdb.base/all-architectures-1.exp: New file.
6693 * gdb.base/all-architectures-2.exp: New file.
6694 * gdb.base/all-architectures-3.exp: New file.
6695 * gdb.base/all-architectures-4.exp: New file.
6696 * gdb.base/all-architectures-5.exp: New file.
6697 * gdb.base/all-architectures-6.exp: New file.
6698 * gdb.base/all-architectures-7.exp: New file.
6699 * gdb.base/all-architectures.exp.in: New file.
6701 2016-12-09 Yao Qi <yao.qi@linaro.org>
6703 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
6705 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
6707 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
6709 Remove useless pattern-matching code.
6711 2016-12-02 Pedro Alves <palves@redhat.com>
6713 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
6715 (top level): Call it.
6717 2016-12-02 Pedro Alves <palves@redhat.com>
6719 * gdb.base/commands.exp (user_defined_command_args_stack_test):
6721 (top level): Call it.
6723 2016-12-02 Pedro Alves <palves@redhat.com>
6726 * gdb.base/commands.exp (user_defined_command_args_eval): New
6728 (top level): Call it.
6730 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
6732 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
6735 2016-12-02 Tom Tromey <tom@tromey.com>
6737 * gdb.dwarf2/main-subprogram.c: New file.
6738 * gdb.dwarf2/main-subprogram.exp: New file.
6740 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6742 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
6743 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
6744 gdb_test_no_output for a couple of cases.
6745 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
6747 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6749 Fix test names and standardize compilation error messages throughout
6750 the following files:
6753 * gdb.arch/alpha-step.exp
6754 * gdb.arch/e500-prologue.exp
6755 * gdb.arch/ftrace-insn-reloc.exp
6756 * gdb.arch/gdb1291.exp
6757 * gdb.arch/gdb1431.exp
6758 * gdb.arch/gdb1558.exp
6759 * gdb.arch/i386-dr3-watch.exp
6760 * gdb.arch/i386-sse-stack-align.exp
6761 * gdb.arch/ia64-breakpoint-shadow.exp
6762 * gdb.arch/pa-nullify.exp
6763 * gdb.arch/powerpc-aix-prologue.exp
6764 * gdb.arch/thumb-bx-pc.exp
6765 * gdb.base/annota1.exp
6766 * gdb.base/annota3.exp
6767 * gdb.base/arrayidx.exp
6768 * gdb.base/assign.exp
6769 * gdb.base/attach.exp
6772 * gdb.base/bfp-test.exp
6773 * gdb.base/bigcore.exp
6774 * gdb.base/bitfields2.exp
6775 * gdb.base/break-fun-addr.exp
6776 * gdb.base/break-probes.exp
6777 * gdb.base/call-rt-st.exp
6778 * gdb.base/callexit.exp
6779 * gdb.base/catch-fork-kill.exp
6780 * gdb.base/charset.exp
6781 * gdb.base/checkpoint.exp
6782 * gdb.base/comprdebug.exp
6783 * gdb.base/constvars.exp
6784 * gdb.base/coredump-filter.exp
6785 * gdb.base/cursal.exp
6786 * gdb.base/cvexpr.exp
6787 * gdb.base/detach.exp
6788 * gdb.base/display.exp
6789 * gdb.base/dmsym.exp
6790 * gdb.base/dprintf-pending.exp
6791 * gdb.base/dso2dso.exp
6792 * gdb.base/dtrace-probe.exp
6794 * gdb.base/enum_cond.exp
6795 * gdb.base/exe-lock.exp
6796 * gdb.base/exec-invalid-sysroot.exp
6797 * gdb.base/execl-update-breakpoints.exp
6798 * gdb.base/exprs.exp
6799 * gdb.base/fileio.exp
6801 * gdb.base/finish.exp
6802 * gdb.base/fixsection.exp
6803 * gdb.base/foll-vfork.exp
6804 * gdb.base/frame-args.exp
6805 * gdb.base/gcore.exp
6806 * gdb.base/gdb1250.exp
6807 * gdb.base/global-var-nested-by-dso.exp
6808 * gdb.base/gnu-ifunc.exp
6809 * gdb.base/hashline1.exp
6810 * gdb.base/hashline2.exp
6811 * gdb.base/hashline3.exp
6812 * gdb.base/hbreak-in-shr-unsupported.exp
6814 * gdb.base/infcall-input.exp
6815 * gdb.base/info-fun.exp
6816 * gdb.base/info-shared.exp
6817 * gdb.base/jit-simple.exp
6818 * gdb.base/jit-so.exp
6821 * gdb.base/label.exp
6822 * gdb.base/lineinc.exp
6823 * gdb.base/logical.exp
6824 * gdb.base/longjmp.exp
6825 * gdb.base/macscp.exp
6826 * gdb.base/miscexprs.exp
6827 * gdb.base/new-ui-echo.exp
6828 * gdb.base/new-ui-pending-input.exp
6829 * gdb.base/new-ui.exp
6830 * gdb.base/nodebug.exp
6831 * gdb.base/nofield.exp
6832 * gdb.base/offsets.exp
6833 * gdb.base/overlays.exp
6834 * gdb.base/pending.exp
6835 * gdb.base/pointers.exp
6836 * gdb.base/pr11022.exp
6837 * gdb.base/printcmds.exp
6838 * gdb.base/prologue.exp
6839 * gdb.base/ptr-typedef.exp
6840 * gdb.base/realname-expand.exp
6841 * gdb.base/relativedebug.exp
6842 * gdb.base/relocate.exp
6843 * gdb.base/remote.exp
6844 * gdb.base/reread.exp
6845 * gdb.base/return2.exp
6846 * gdb.base/savedregs.exp
6848 * gdb.base/sepdebug.exp
6849 * gdb.base/sepsymtab.exp
6850 * gdb.base/set-inferior-tty.exp
6851 * gdb.base/setshow.exp
6852 * gdb.base/shlib-call.exp
6853 * gdb.base/sigaltstack.exp
6854 * gdb.base/siginfo-addr.exp
6855 * gdb.base/signals.exp
6856 * gdb.base/signull.exp
6857 * gdb.base/sigrepeat.exp
6858 * gdb.base/so-impl-ld.exp
6859 * gdb.base/solib-display.exp
6860 * gdb.base/solib-overlap.exp
6861 * gdb.base/solib-search.exp
6862 * gdb.base/solib-symbol.exp
6863 * gdb.base/structs.exp
6864 * gdb.base/structs2.exp
6865 * gdb.base/symtab-search-order.exp
6866 * gdb.base/twice.exp
6867 * gdb.base/unload.exp
6868 * gdb.base/varargs.exp
6869 * gdb.base/watchpoint-solib.exp
6870 * gdb.base/watchpoint.exp
6871 * gdb.base/whatis.exp
6872 * gdb.base/wrong_frame_bt_full.exp
6873 * gdb.btrace/dlopen.exp
6874 * gdb.cell/ea-standalone.exp
6875 * gdb.cell/ea-test.exp
6876 * gdb.cp/dispcxx.exp
6877 * gdb.cp/gdb2384.exp
6878 * gdb.cp/method2.exp
6879 * gdb.cp/nextoverthrow.exp
6880 * gdb.cp/pr10728.exp
6881 * gdb.disasm/am33.exp
6882 * gdb.disasm/h8300s.exp
6883 * gdb.disasm/mn10300.exp
6884 * gdb.disasm/sh3.exp
6885 * gdb.dwarf2/dw2-dir-file-name.exp
6886 * gdb.fortran/complex.exp
6887 * gdb.fortran/library-module.exp
6888 * gdb.guile/scm-pretty-print.exp
6889 * gdb.guile/scm-symbol.exp
6890 * gdb.guile/scm-type.exp
6891 * gdb.guile/scm-value.exp
6892 * gdb.linespec/linespec.exp
6895 * gdb.mi/mi-breakpoint-changed.exp
6896 * gdb.mi/mi-dprintf-pending.exp
6897 * gdb.mi/mi-dprintf.exp
6898 * gdb.mi/mi-exit-code.exp
6899 * gdb.mi/mi-pending.exp
6900 * gdb.mi/mi-solib.exp
6901 * gdb.mi/new-ui-mi-sync.exp
6902 * gdb.mi/pr11022.exp
6903 * gdb.mi/user-selected-context-sync.exp
6904 * gdb.opt/solib-intra-step.exp
6905 * gdb.python/py-events.exp
6906 * gdb.python/py-finish-breakpoint.exp
6907 * gdb.python/py-mi.exp
6908 * gdb.python/py-prettyprint.exp
6909 * gdb.python/py-shared.exp
6910 * gdb.python/py-symbol.exp
6911 * gdb.python/py-template.exp
6912 * gdb.python/py-type.exp
6913 * gdb.python/py-value.exp
6914 * gdb.reverse/solib-precsave.exp
6915 * gdb.reverse/solib-reverse.exp
6916 * gdb.server/solib-list.exp
6917 * gdb.stabs/weird.exp
6918 * gdb.threads/reconnect-signal.exp
6919 * gdb.threads/stepi-random-signal.exp
6920 * gdb.trace/actions.exp
6922 * gdb.trace/backtrace.exp
6923 * gdb.trace/change-loc.exp
6924 * gdb.trace/deltrace.exp
6925 * gdb.trace/ftrace-lock.exp
6926 * gdb.trace/ftrace.exp
6927 * gdb.trace/infotrace.exp
6928 * gdb.trace/mi-tracepoint-changed.exp
6929 * gdb.trace/packetlen.exp
6930 * gdb.trace/passcount.exp
6931 * gdb.trace/pending.exp
6932 * gdb.trace/range-stepping.exp
6933 * gdb.trace/report.exp
6934 * gdb.trace/stap-trace.exp
6935 * gdb.trace/tfind.exp
6936 * gdb.trace/trace-break.exp
6937 * gdb.trace/trace-condition.exp
6938 * gdb.trace/trace-enable-disable.exp
6939 * gdb.trace/trace-mt.exp
6940 * gdb.trace/tracecmd.exp
6941 * gdb.trace/tspeed.exp
6945 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6947 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
6948 with gdb_test_no_output.
6949 Use command as test name.
6951 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6953 Fix test names starting with uppercase throughout the files.
6955 * gdb.ada/assign_1.exp
6956 * gdb.ada/boolean_expr.exp
6957 * gdb.base/arrayidx.exp
6959 * gdb.base/gcore-buffer-overflow.exp
6960 * gdb.base/testenv.exp
6961 * gdb.compile/compile.exp
6962 * gdb.python/py-framefilter-invalidarg.exp
6963 * gdb.python/py-framefilter.exp
6965 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
6967 Fix test names starting with uppercase throughout the files.
6969 * gdb.ada/array_return.exp
6970 * gdb.ada/expr_delims.exp
6971 * gdb.ada/mi_dyn_arr.exp
6972 * gdb.ada/mi_interface.exp
6973 * gdb.ada/mi_var_array.exp
6974 * gdb.ada/watch_arg.exp
6975 * gdb.arch/alpha-step.exp
6976 * gdb.arch/altivec-regs.exp
6977 * gdb.arch/e500-regs.exp
6978 * gdb.arch/powerpc-d128-regs.exp
6979 * gdb.base/arrayidx.exp
6980 * gdb.base/break.exp
6981 * gdb.base/checkpoint.exp
6982 * gdb.base/debug-expr.exp
6983 * gdb.base/dmsym.exp
6984 * gdb.base/radix.exp
6985 * gdb.base/sepdebug.exp
6986 * gdb.base/testenv.exp
6987 * gdb.base/watch_thread_num.exp
6988 * gdb.base/watchpoint-cond-gone.exp
6989 * gdb.cell/break.exp
6990 * gdb.cell/ea-cache.exp
6991 * gdb.compile/compile.exp
6992 * gdb.cp/gdb2495.exp
6993 * gdb.gdb/selftest.exp
6994 * gdb.gdb/xfullpath.exp
6996 * gdb.go/integers.exp
6997 * gdb.objc/basicclass.exp
6998 * gdb.pascal/hello.exp
6999 * gdb.pascal/integers.exp
7000 * gdb.python/py-breakpoint.exp
7001 * gdb.python/py-cmd.exp
7002 * gdb.python/py-linetable.exp
7003 * gdb.python/py-xmethods.exp
7004 * gdb.python/python.exp
7005 * gdb.reverse/consecutive-precsave.exp
7006 * gdb.reverse/finish-precsave.exp
7007 * gdb.reverse/i386-precsave.exp
7008 * gdb.reverse/machinestate-precsave.exp
7009 * gdb.reverse/sigall-precsave.exp
7010 * gdb.reverse/solib-precsave.exp
7011 * gdb.reverse/step-precsave.exp
7012 * gdb.reverse/until-precsave.exp
7013 * gdb.reverse/watch-precsave.exp
7014 * gdb.threads/leader-exit.exp
7015 * gdb.threads/pthreads.exp
7016 * gdb.threads/wp-replication.exp
7017 * gdb.trace/actions.exp
7018 * gdb.trace/mi-tsv-changed.exp
7021 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7023 Fix test names starting with uppercase throughout the files.
7025 * gdb.arch/i386-bp_permanent.exp
7026 * gdb.arch/i386-gnu-cfi.exp
7027 * gdb.base/disasm-end-cu.exp
7028 * gdb.base/macscp.exp
7029 * gdb.base/pending.exp
7030 * gdb.base/watch_thread_num.exp
7031 * gdb.cp/exception.exp
7032 * gdb.cp/gdb2495.exp
7034 * gdb.python/py-evsignal.exp
7035 * gdb.python/python.exp
7036 * gdb.trace/tracecmd.exp
7038 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7040 Fix test names starting with uppercase throughout the files.
7042 * gdb.base/charset.exp
7044 * gdb.base/multi-forks.exp
7045 * gdb.guile/scm-progspace.exp
7046 * gdb.opencl/datatypes.exp
7047 * gdb.python/py-block.exp
7048 * gdb.python/py-function.exp
7049 * gdb.python/py-symbol.exp
7050 * gdb.python/py-symtab.exp
7051 * gdb.python/py-xmethods.exp
7052 * gdb.reverse/break-precsave.exp
7053 * gdb.reverse/break-reverse.exp
7054 * gdb.reverse/consecutive-precsave.exp
7055 * gdb.reverse/consecutive-reverse.exp
7056 * gdb.reverse/finish-precsave.exp
7057 * gdb.reverse/finish-reverse-bkpt.exp
7058 * gdb.reverse/finish-reverse.exp
7059 * gdb.reverse/fstatat-reverse.exp
7060 * gdb.reverse/getresuid-reverse.exp
7061 * gdb.reverse/i386-precsave.exp
7062 * gdb.reverse/i386-reverse.exp
7063 * gdb.reverse/i386-sse-reverse.exp
7064 * gdb.reverse/i387-stack-reverse.exp
7065 * gdb.reverse/insn-reverse.exp
7066 * gdb.reverse/machinestate-precsave.exp
7067 * gdb.reverse/machinestate.exp
7068 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7069 * gdb.reverse/pipe-reverse.exp
7070 * gdb.reverse/readv-reverse.exp
7071 * gdb.reverse/recvmsg-reverse.exp
7072 * gdb.reverse/rerun-prec.exp
7073 * gdb.reverse/s390-mvcle.exp
7074 * gdb.reverse/sigall-precsave.exp
7075 * gdb.reverse/sigall-reverse.exp
7076 * gdb.reverse/solib-precsave.exp
7077 * gdb.reverse/solib-reverse.exp
7078 * gdb.reverse/step-precsave.exp
7079 * gdb.reverse/step-reverse.exp
7080 * gdb.reverse/time-reverse.exp
7081 * gdb.reverse/until-precsave.exp
7082 * gdb.reverse/until-reverse.exp
7083 * gdb.reverse/waitpid-reverse.exp
7084 * gdb.reverse/watch-precsave.exp
7085 * gdb.reverse/watch-reverse.exp
7087 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7089 Fix test names starting with uppercase throughout the files.
7091 * gdb.arch/i386-mpx-simple_segv.exp
7092 * gdb.arch/i386-mpx.exp
7093 * gdb.arch/i386-permbkpt.exp
7094 * gdb.arch/pa-nullify.exp
7095 * gdb.arch/powerpc-d128-regs.exp
7096 * gdb.arch/vsx-regs.exp
7097 * gdb.base/bfp-test.exp
7098 * gdb.base/break.exp
7099 * gdb.base/breakpoint-shadow.exp
7100 * gdb.base/callfuncs.exp
7101 * gdb.base/charset.exp
7102 * gdb.base/commands.exp
7103 * gdb.base/completion.exp
7104 * gdb.base/dfp-test.exp
7106 * gdb.base/ending-run.exp
7108 * gdb.base/expand-psymtabs.exp
7109 * gdb.base/float128.exp
7110 * gdb.base/floatn.exp
7111 * gdb.base/foll-exec-mode.exp
7112 * gdb.base/gdb1056.exp
7113 * gdb.base/gdb11531.exp
7114 * gdb.base/kill-after-signal.exp
7115 * gdb.base/multi-forks.exp
7116 * gdb.base/overlays.exp
7117 * gdb.base/pending.exp
7118 * gdb.base/sepdebug.exp
7119 * gdb.base/testenv.exp
7120 * gdb.base/valgrind-db-attach.exp
7121 * gdb.base/watch_thread_num.exp
7122 * gdb.base/watchpoint-cond-gone.exp
7123 * gdb.base/watchpoint.exp
7124 * gdb.base/watchpoints.exp
7125 * gdb.cp/arg-reference.exp
7126 * gdb.cp/baseenum.exp
7127 * gdb.cp/operator.exp
7129 * gdb.dwarf2/dw2-op-out-param.exp
7130 * gdb.dwarf2/dw2-reg-undefined.exp
7133 * gdb.go/integers.exp
7134 * gdb.go/methods.exp
7135 * gdb.go/package.exp
7136 * gdb.guile/scm-parameter.exp
7137 * gdb.guile/scm-progspace.exp
7138 * gdb.guile/scm-value.exp
7139 * gdb.mi/mi-pending.exp
7140 * gdb.mi/user-selected-context-sync.exp
7141 * gdb.multi/multi-attach.exp
7142 * gdb.multi/tids.exp
7143 * gdb.opt/clobbered-registers-O2.exp
7144 * gdb.pascal/floats.exp
7145 * gdb.pascal/integers.exp
7146 * gdb.python/py-block.exp
7147 * gdb.python/py-events.exp
7148 * gdb.python/py-parameter.exp
7149 * gdb.python/py-symbol.exp
7150 * gdb.python/py-symtab.exp
7151 * gdb.python/py-type.exp
7152 * gdb.python/py-value.exp
7153 * gdb.python/py-xmethods.exp
7154 * gdb.python/python.exp
7155 * gdb.reverse/break-precsave.exp
7156 * gdb.reverse/consecutive-precsave.exp
7157 * gdb.reverse/finish-precsave.exp
7158 * gdb.reverse/i386-precsave.exp
7159 * gdb.reverse/machinestate-precsave.exp
7160 * gdb.reverse/sigall-precsave.exp
7161 * gdb.reverse/solib-precsave.exp
7162 * gdb.reverse/step-precsave.exp
7163 * gdb.reverse/until-precsave.exp
7164 * gdb.reverse/watch-precsave.exp
7165 * gdb.server/ext-attach.exp
7166 * gdb.server/ext-restart.exp
7167 * gdb.server/ext-run.exp
7168 * gdb.server/ext-wrapper.exp
7169 * gdb.stabs/gdb11479.exp
7170 * gdb.stabs/weird.exp
7171 * gdb.threads/attach-many-short-lived-threads.exp
7172 * gdb.threads/kill.exp
7173 * gdb.threads/watchpoint-fork.exp
7175 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7177 Fix test names starting with uppercase throughout all the files below.
7179 * gdb.ada/array_return.exp
7180 * gdb.ada/catch_ex.exp
7181 * gdb.ada/info_exc.exp
7182 * gdb.ada/mi_catch_ex.exp
7183 * gdb.ada/mi_dyn_arr.exp
7184 * gdb.ada/mi_ex_cond.exp
7185 * gdb.ada/mi_exc_info.exp
7186 * gdb.ada/mi_interface.exp
7187 * gdb.ada/mi_task_arg.exp
7188 * gdb.ada/mi_task_info.exp
7189 * gdb.ada/mi_var_array.exp
7190 * gdb.arch/alpha-step.exp
7191 * gdb.arch/amd64-disp-step.exp
7192 * gdb.arch/arm-disp-step.exp
7193 * gdb.arch/disp-step-insn-reloc.exp
7194 * gdb.arch/e500-prologue.exp
7195 * gdb.arch/ftrace-insn-reloc.exp
7196 * gdb.arch/gdb1558.exp
7197 * gdb.arch/i386-bp_permanent.exp
7198 * gdb.arch/i386-disp-step.exp
7199 * gdb.arch/i386-float.exp
7200 * gdb.arch/i386-gnu-cfi.exp
7201 * gdb.arch/ia64-breakpoint-shadow.exp
7202 * gdb.arch/mips16-thunks.exp
7203 * gdb.arch/pa-nullify.exp
7204 * gdb.arch/powerpc-aix-prologue.exp
7205 * gdb.arch/powerpc-power.exp
7206 * gdb.arch/ppc-dfp.exp
7207 * gdb.arch/s390-tdbregs.exp
7208 * gdb.arch/spu-info.exp
7209 * gdb.arch/spu-ls.exp
7210 * gdb.arch/thumb-bx-pc.exp
7211 * gdb.base/advance.exp
7212 * gdb.base/annota-input-while-running.exp
7213 * gdb.base/arrayidx.exp
7214 * gdb.base/asmlabel.exp
7215 * gdb.base/async.exp
7216 * gdb.base/attach-wait-input.exp
7217 * gdb.base/auto-connect-native-target.exp
7218 * gdb.base/batch-preserve-term-settings.exp
7219 * gdb.base/bfp-test.exp
7220 * gdb.base/bigcore.exp
7221 * gdb.base/bp-permanent.exp
7222 * gdb.base/break-always.exp
7223 * gdb.base/break-fun-addr.exp
7224 * gdb.base/break-idempotent.exp
7225 * gdb.base/break-main-file-remove-fail.exp
7226 * gdb.base/break-probes.exp
7227 * gdb.base/break-unload-file.exp
7228 * gdb.base/break.exp
7229 * gdb.base/call-ar-st.exp
7230 * gdb.base/call-rt-st.exp
7231 * gdb.base/call-sc.exp
7232 * gdb.base/call-signal-resume.exp
7233 * gdb.base/call-strs.exp
7234 * gdb.base/callexit.exp
7235 * gdb.base/callfuncs.exp
7236 * gdb.base/catch-gdb-caused-signals.exp
7237 * gdb.base/catch-signal-siginfo-cond.exp
7238 * gdb.base/catch-syscall.exp
7239 * gdb.base/compare-sections.exp
7240 * gdb.base/cond-eval-mode.exp
7241 * gdb.base/condbreak-call-false.exp
7242 * gdb.base/consecutive-step-over.exp
7243 * gdb.base/cursal.exp
7244 * gdb.base/disabled-location.exp
7245 * gdb.base/disasm-end-cu.exp
7246 * gdb.base/display.exp
7247 * gdb.base/double-prompt-target-event-error.exp
7248 * gdb.base/dprintf-bp-same-addr.exp
7249 * gdb.base/dprintf-detach.exp
7250 * gdb.base/dprintf-next.exp
7251 * gdb.base/dprintf-non-stop.exp
7252 * gdb.base/dprintf-pending.exp
7253 * gdb.base/dso2dso.exp
7254 * gdb.base/ending-run.exp
7255 * gdb.base/enum_cond.exp
7256 * gdb.base/examine-backward.exp
7257 * gdb.base/exe-lock.exp
7258 * gdb.base/exec-invalid-sysroot.exp
7259 * gdb.base/execl-update-breakpoints.exp
7260 * gdb.base/execution-termios.exp
7261 * gdb.base/fileio.exp
7262 * gdb.base/fixsection.exp
7263 * gdb.base/foll-exec-mode.exp
7264 * gdb.base/foll-exec.exp
7265 * gdb.base/fork-running-state.exp
7266 * gdb.base/frame-args.exp
7267 * gdb.base/fullpath-expand.exp
7268 * gdb.base/func-ptr.exp
7269 * gdb.base/gcore-relro-pie.exp
7270 * gdb.base/gdb1090.exp
7271 * gdb.base/gdb1555.exp
7272 * gdb.base/global-var-nested-by-dso.exp
7273 * gdb.base/gnu-ifunc.exp
7274 * gdb.base/hbreak-in-shr-unsupported.exp
7275 * gdb.base/hbreak-unmapped.exp
7276 * gdb.base/hook-stop.exp
7277 * gdb.base/infcall-input.exp
7278 * gdb.base/info-fun.exp
7279 * gdb.base/info-shared.exp
7280 * gdb.base/interrupt-noterm.exp
7281 * gdb.base/jit-so.exp
7283 * gdb.base/line-symtabs.exp
7285 * gdb.base/longjmp.exp
7286 * gdb.base/macscp.exp
7287 * gdb.base/max-value-size.exp
7288 * gdb.base/nodebug.exp
7289 * gdb.base/nofield.exp
7290 * gdb.base/overlays.exp
7291 * gdb.base/paginate-after-ctrl-c-running.exp
7292 * gdb.base/paginate-bg-execution.exp
7293 * gdb.base/paginate-inferior-exit.exp
7294 * gdb.base/pending.exp
7295 * gdb.base/pr11022.exp
7296 * gdb.base/printcmds.exp
7297 * gdb.base/ptr-typedef.exp
7298 * gdb.base/ptype.exp
7299 * gdb.base/randomize.exp
7300 * gdb.base/range-stepping.exp
7301 * gdb.base/realname-expand.exp
7302 * gdb.base/relativedebug.exp
7303 * gdb.base/remote.exp
7304 * gdb.base/savedregs.exp
7305 * gdb.base/sepdebug.exp
7306 * gdb.base/set-noassign.exp
7307 * gdb.base/shlib-call.exp
7308 * gdb.base/shreloc.exp
7309 * gdb.base/sigaltstack.exp
7310 * gdb.base/sigbpt.exp
7311 * gdb.base/siginfo-addr.exp
7312 * gdb.base/siginfo-obj.exp
7313 * gdb.base/siginfo-thread.exp
7314 * gdb.base/signest.exp
7315 * gdb.base/signull.exp
7316 * gdb.base/sigrepeat.exp
7318 * gdb.base/so-impl-ld.exp
7319 * gdb.base/solib-corrupted.exp
7320 * gdb.base/solib-disc.exp
7321 * gdb.base/solib-display.exp
7322 * gdb.base/solib-overlap.exp
7323 * gdb.base/solib-search.exp
7324 * gdb.base/solib-symbol.exp
7325 * gdb.base/source-execution.exp
7326 * gdb.base/sss-bp-on-user-bp-2.exp
7327 * gdb.base/sss-bp-on-user-bp.exp
7328 * gdb.base/stack-checking.exp
7329 * gdb.base/stale-infcall.exp
7330 * gdb.base/step-break.exp
7331 * gdb.base/step-line.exp
7332 * gdb.base/step-over-exit.exp
7333 * gdb.base/step-test.exp
7334 * gdb.base/structs.exp
7335 * gdb.base/sym-file.exp
7336 * gdb.base/symtab-search-order.exp
7338 * gdb.base/type-opaque.exp
7339 * gdb.base/unload.exp
7340 * gdb.base/until-nodebug.exp
7341 * gdb.base/until.exp
7342 * gdb.base/unwindonsignal.exp
7343 * gdb.base/watch-cond.exp
7344 * gdb.base/watch-non-mem.exp
7345 * gdb.base/watch_thread_num.exp
7346 * gdb.base/watchpoint-reuse-slot.exp
7347 * gdb.base/watchpoint-solib.exp
7348 * gdb.base/watchpoint.exp
7349 * gdb.btrace/dlopen.exp
7351 * gdb.cell/break.exp
7355 * gdb.cell/dwarfaddr.exp
7356 * gdb.cell/ea-cache.exp
7357 * gdb.cell/ea-standalone.exp
7358 * gdb.cell/ea-test.exp
7359 * gdb.cell/f-regs.exp
7361 * gdb.cell/gcore.exp
7362 * gdb.cell/mem-access.exp
7363 * gdb.cell/ptype.exp
7364 * gdb.cell/registers.exp
7365 * gdb.cell/sizeof.exp
7366 * gdb.cell/solib-symbol.exp
7367 * gdb.cell/solib.exp
7368 * gdb.compile/compile-tls.exp
7369 * gdb.cp/exception.exp
7370 * gdb.cp/gdb2495.exp
7372 * gdb.cp/mb-inline.exp
7373 * gdb.cp/mb-templates.exp
7374 * gdb.cp/pr10687.exp
7376 * gdb.cp/scope-err.exp
7377 * gdb.cp/templates.exp
7378 * gdb.cp/virtfunc.exp
7379 * gdb.dwarf2/dw2-dir-file-name.exp
7380 * gdb.dwarf2/dw2-single-line-discriminators.exp
7381 * gdb.fortran/complex.exp
7382 * gdb.fortran/library-module.exp
7383 * gdb.guile/guile.exp
7384 * gdb.guile/scm-cmd.exp
7385 * gdb.guile/scm-frame-inline.exp
7386 * gdb.guile/scm-objfile.exp
7387 * gdb.guile/scm-pretty-print.exp
7388 * gdb.guile/scm-symbol.exp
7389 * gdb.guile/scm-type.exp
7390 * gdb.guile/scm-value.exp
7391 * gdb.linespec/keywords.exp
7392 * gdb.linespec/ls-errs.exp
7393 * gdb.linespec/macro-relative.exp
7394 * gdb.linespec/thread.exp
7395 * gdb.mi/mi-breakpoint-changed.exp
7396 * gdb.mi/mi-dprintf-pending.exp
7397 * gdb.mi/mi-fullname-deleted.exp
7398 * gdb.mi/mi-logging.exp
7399 * gdb.mi/mi-pending.exp
7400 * gdb.mi/mi-solib.exp
7401 * gdb.mi/new-ui-mi-sync.exp
7402 * gdb.mi/user-selected-context-sync.exp
7403 * gdb.multi/dummy-frame-restore.exp
7404 * gdb.multi/multi-arch-exec.exp
7405 * gdb.multi/remove-inferiors.exp
7406 * gdb.multi/watchpoint-multi-exit.exp
7407 * gdb.opt/solib-intra-step.exp
7408 * gdb.perf/backtrace.exp
7409 * gdb.perf/single-step.exp
7410 * gdb.perf/skip-command.exp
7411 * gdb.perf/skip-prologue.exp
7412 * gdb.perf/solib.exp
7413 * gdb.python/lib-types.exp
7414 * gdb.python/py-as-string.exp
7415 * gdb.python/py-bad-printers.exp
7416 * gdb.python/py-block.exp
7417 * gdb.python/py-breakpoint.exp
7418 * gdb.python/py-cmd.exp
7419 * gdb.python/py-events.exp
7420 * gdb.python/py-evthreads.exp
7421 * gdb.python/py-finish-breakpoint.exp
7422 * gdb.python/py-finish-breakpoint2.exp
7423 * gdb.python/py-frame-inline.exp
7424 * gdb.python/py-frame.exp
7425 * gdb.python/py-inferior.exp
7426 * gdb.python/py-infthread.exp
7427 * gdb.python/py-mi.exp
7428 * gdb.python/py-objfile.exp
7429 * gdb.python/py-pp-maint.exp
7430 * gdb.python/py-pp-registration.exp
7431 * gdb.python/py-prettyprint.exp
7432 * gdb.python/py-recurse-unwind.exp
7433 * gdb.python/py-shared.exp
7434 * gdb.python/py-symbol.exp
7435 * gdb.python/py-symtab.exp
7436 * gdb.python/py-template.exp
7437 * gdb.python/py-type.exp
7438 * gdb.python/py-unwind-maint.exp
7439 * gdb.python/py-unwind.exp
7440 * gdb.python/py-value.exp
7441 * gdb.python/python.exp
7442 * gdb.reverse/finish-reverse-bkpt.exp
7443 * gdb.reverse/insn-reverse.exp
7444 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7445 * gdb.reverse/solib-precsave.exp
7446 * gdb.reverse/solib-reverse.exp
7447 * gdb.stabs/gdb11479.exp
7448 * gdb.stabs/weird.exp
7449 * gdb.threads/fork-child-threads.exp
7450 * gdb.threads/fork-plus-threads.exp
7451 * gdb.threads/fork-thread-pending.exp
7452 * gdb.threads/forking-threads-plus-breakpoint.exp
7453 * gdb.threads/hand-call-in-threads.exp
7454 * gdb.threads/interrupted-hand-call.exp
7455 * gdb.threads/linux-dp.exp
7456 * gdb.threads/local-watch-wrong-thread.exp
7457 * gdb.threads/next-while-other-thread-longjmps.exp
7458 * gdb.threads/non-ldr-exit.exp
7459 * gdb.threads/pending-step.exp
7460 * gdb.threads/print-threads.exp
7461 * gdb.threads/process-dies-while-detaching.exp
7462 * gdb.threads/process-dies-while-handling-bp.exp
7463 * gdb.threads/pthreads.exp
7464 * gdb.threads/queue-signal.exp
7465 * gdb.threads/reconnect-signal.exp
7466 * gdb.threads/signal-command-handle-nopass.exp
7467 * gdb.threads/signal-command-multiple-signals-pending.exp
7468 * gdb.threads/signal-delivered-right-thread.exp
7469 * gdb.threads/signal-sigtrap.exp
7470 * gdb.threads/sigthread.exp
7471 * gdb.threads/staticthreads.exp
7472 * gdb.threads/stepi-random-signal.exp
7473 * gdb.threads/thread-unwindonsignal.exp
7474 * gdb.threads/thread_check.exp
7475 * gdb.threads/thread_events.exp
7476 * gdb.threads/tid-reuse.exp
7477 * gdb.threads/tls-nodebug.exp
7478 * gdb.threads/tls-shared.exp
7479 * gdb.threads/tls-so_extern.exp
7480 * gdb.threads/tls.exp
7481 * gdb.threads/wp-replication.exp
7482 * gdb.trace/actions-changed.exp
7483 * gdb.trace/actions.exp
7484 * gdb.trace/backtrace.exp
7485 * gdb.trace/change-loc.exp
7486 * gdb.trace/collection.exp
7487 * gdb.trace/deltrace.exp
7488 * gdb.trace/disconnected-tracing.exp
7489 * gdb.trace/entry-values.exp
7490 * gdb.trace/ftrace-lock.exp
7491 * gdb.trace/ftrace.exp
7492 * gdb.trace/infotrace.exp
7493 * gdb.trace/mi-trace-frame-collected.exp
7494 * gdb.trace/mi-trace-unavailable.exp
7495 * gdb.trace/mi-traceframe-changed.exp
7496 * gdb.trace/mi-tracepoint-changed.exp
7497 * gdb.trace/mi-tsv-changed.exp
7498 * gdb.trace/no-attach-trace.exp
7499 * gdb.trace/packetlen.exp
7500 * gdb.trace/passc-dyn.exp
7501 * gdb.trace/passcount.exp
7502 * gdb.trace/pending.exp
7503 * gdb.trace/pr16508.exp
7504 * gdb.trace/qtro.exp
7505 * gdb.trace/range-stepping.exp
7506 * gdb.trace/read-memory.exp
7507 * gdb.trace/report.exp
7508 * gdb.trace/save-trace.exp
7509 * gdb.trace/signal.exp
7510 * gdb.trace/stap-trace.exp
7511 * gdb.trace/status-stop.exp
7512 * gdb.trace/strace.exp
7513 * gdb.trace/tfile.exp
7514 * gdb.trace/tfind.exp
7515 * gdb.trace/trace-break.exp
7516 * gdb.trace/trace-condition.exp
7517 * gdb.trace/trace-enable-disable.exp
7518 * gdb.trace/trace-mt.exp
7519 * gdb.trace/tracecmd.exp
7520 * gdb.trace/tracefile-pseudo-reg.exp
7521 * gdb.trace/tspeed.exp
7522 * gdb.trace/tstatus.exp
7524 * gdb.trace/unavailable.exp
7525 * gdb.trace/while-dyn.exp
7526 * gdb.trace/while-stepping.exp
7529 * lib/mi-support.exp
7532 * lib/prelink-support.exp
7533 * lib/selftest-support.exp
7535 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
7537 * Makefile.in: Include disable-implicit-rules.mk.
7539 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7541 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
7542 non-byte-aligned bit fields.
7544 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
7547 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
7548 respects the DW_AT_data_bit_offset attribute.
7550 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
7552 * gdb.base/default.exp: Fix output of "set language".
7554 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
7556 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
7557 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
7559 * configure.ac: Remove checks for the make program.
7560 * configure: Re-generate.
7562 2016-11-16 Kevin Buettner <kevinb@redhat.com>
7564 * gdb.python/py-recurse-unwind.c (main): Add loop.
7565 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
7566 to read_register() and gdb.parse_and_eval(). Make each code
7567 call a separate case that can be individually tested.
7568 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
7569 proc. Call cont_and_backtrace for each of the code paths that
7570 we want to test in the unwinder.
7572 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
7574 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
7575 the definition of struct S.
7577 2016-11-11 Catherine Moore <clm@codesourcery.com>
7579 * gdb.base/dump.exp: Identify verilog format dump tests as such.
7581 2016-11-09 Pedro Alves <palves@redhat.com>
7583 * gdb.base/commands.exp (runto_or_return): New procedure.
7584 (gdbvar_simple_if_test, gdbvar_simple_while_test)
7585 (gdbvar_complex_if_while_test, progvar_simple_if_test)
7586 (progvar_simple_while_test, progvar_complex_if_while_test)
7587 (if_while_breakpoint_command_test)
7588 (infrun_breakpoint_command_test, breakpoint_command_test)
7589 (user_defined_command_test, watchpoint_command_test)
7590 (test_command_prompt_position, redefine_hook_test)
7591 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
7592 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
7593 multi_line_input and multi_line. Remove gdb_expect and
7594 gdb_stop_suppressing_tests uses.
7595 * lib/gdb.exp (valnum_re): New global.
7596 (multi_line_input): New procedure.
7598 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
7600 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
7602 (test_setup): Define with proc_with_prefix.
7603 (test_cli_inferior): Likewise.
7604 (test_cli_thread): Likewise.
7605 (test_cli_frame): Likewise.
7606 (test_cli_select_frame): Likewise.
7607 (test_cli_up_down): Likewise.
7608 (test_mi_thread_select): Likewise.
7609 (test_mi_stack_select_frame): Likewise.
7610 (test_cli_in_mi_inferior): Likewise.
7611 (test_cli_in_mi_thread): Likewise.
7612 (test_cli_in_mi_frame): Likewise.
7613 (top level): Do not use with_test_prefix_procname.
7615 2016-11-09 Pedro Alves <palves@redhat.com>
7617 * gdb.base/commands.exp (gdbvar_simple_if_test)
7618 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
7619 (progvar_simple_if_test, progvar_simple_while_test)
7620 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
7621 (infrun_breakpoint_command_test, breakpoint_command_test)
7622 (user_defined_command_test, watchpoint_command_test)
7623 (test_command_prompt_position, deprecated_command_test)
7624 (bp_deleted_in_command, temporary_breakpoint_commands)
7625 (stray_arg0_test, source_file_with_indented_comment)
7626 (recursive_source_test, if_commands_test)
7627 (error_clears_commands_left, redefine_hook_test)
7628 (redefine_backtrace_test): Use proc_with_prefix.
7629 * lib/gdb.exp (proc_with_prefix): New proc.
7631 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7633 * gdb.base/tui-layout.c: New file.
7634 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
7635 disassembly window contains very long lines.
7637 2016-11-08 Tom Tromey <tom@tromey.com>
7639 * gdb.python/py-value.exp (test_value_creation): Make "long" test
7642 2016-11-08 Tom Tromey <tom@tromey.com>
7644 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
7647 2016-10-29 Manish Goregaokar <manish@mozilla.com>
7649 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
7651 2016-10-27 Manish Goregaokar <manish@mozilla.com>
7653 * gdb.rust/simple.rs: Add test for univariant enums without
7654 discriminants and for encoded struct-like enums.
7656 2016-10-28 Pedro Alves <palves@redhat.com>
7658 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
7659 gdb_test_multiple, tighten regexps and match symtabs and line
7660 tables incrementally.
7662 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
7664 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
7667 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
7669 * gdb.base/exec-invalid-sysroot.exp: New file.
7671 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7673 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
7675 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7677 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
7679 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
7681 * gdb.base/killed-outside.exp: Remove $options from a call to
7682 `prepare_for_testing'.
7684 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7686 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7687 Change test message.
7689 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7691 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
7694 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
7696 * gdb.trace/mi-trace-save.exp: New file.
7698 2016-10-13 Yao Qi <yao.qi@linaro.org>
7700 * gdb.base/code_elim.exp (get_var_address): Remove.
7701 * gdb.base/relocate.exp: Likewise.
7702 * gdb.base/shreloc.exp: Likewise.
7703 * lib/gdb.exp (get_var_address): New.
7705 2016-10-13 Yao Qi <yao.qi@linaro.org>
7707 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
7708 floating point tests if $skip_float_test is false.
7710 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
7712 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
7713 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
7715 Add 1 to argc so we guarantee distinct initial/modified argc values.
7717 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7719 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
7721 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7723 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
7724 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
7725 * gdb.arch/vsx-regs.exp: Likewise.
7727 2016-10-07 Yao Qi <yao.qi@linaro.org>
7729 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
7731 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
7733 * gdb.python/python.exp: Test decode_line("*0").
7735 2016-10-06 Doug Evans <dje@google.com>
7737 * gdb.python/py-value.exp (test_value_creation): Add test for large
7738 unsigned 64-bit value.
7740 2016-10-06 Tom Tromey <tom@tromey.com>
7742 * gdb.compile/compile.exp: Change java tests to rust.
7743 * gdb.base/setshow.exp: Change java tests to rust.
7744 * gdb.base/default.exp: Remove java from language list.
7745 * README (Examples): Update language example.
7746 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
7748 * lib/gdb.exp (skip_java_tests): Remove.
7749 * lib/java.exp: Remove.
7752 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
7754 * gdb.arch/mips-fcr.exp: New test.
7755 * gdb.arch/mips-fcr.c: Source for the new test.
7757 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
7759 * gdb.base/solib-disc.exp: Use `standard_output_file'
7762 2016-10-06 Pedro Alves <palves@redhat.com>
7764 * gdb.base/jit-simple-dl.c: New file.
7765 * gdb.base/jit-simple-jit.c: New file, factored out from ...
7766 * gdb.base/jit-simple.c: ... this.
7767 * gdb.base/jit-simple.exp (jit_run): Delete.
7768 (build_jit): New proc.
7769 (jit_test_reread): Recompile either the main program or the shared
7770 library, depending on what is being tested. Skip changing address
7771 if caller wants to. Compare before/after addresses. If testing
7772 standalone, explicitly load the binary. Test "maint info
7774 (top level): Add "standalone vs shared lib" and "change address"
7775 vs "same address" axes.
7777 2016-10-06 Pedro Alves <palves@redhat.com>
7779 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
7782 (jit_test_reread): Use with_test_prefix. Reload the main binary
7783 explicitly. Compare the before/after addresses of the JIT
7786 2016-08-15 Doug Evans <dje@google.com>
7788 * gdb.xml/extra-regs.xml: Update, end field now required, default type
7789 for single bitfields is bool.
7790 * gdb.xml/tdesc-regs.exp: Ditto.
7792 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7794 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
7796 2016-10-05 Yao Qi <yao.qi@linaro.org>
7798 * lib/gdb.exp (support_complex_tests): Return zero if
7799 gdb_skip_float_test return true.
7801 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
7802 Simon Marchi <simon.marchi@ericsson.com>
7805 * gdb.mi/user-selected-context-sync.exp: New file.
7806 * gdb.mi/user-selected-context-sync.c: New file.
7808 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
7809 Simon Marchi <simon.marchi@ericsson.com>
7812 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
7813 =thread-select-event check.
7815 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
7817 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
7818 the compulsory L operand changes.
7819 * gdb.arch/powerpc-power.s: Likewise.
7821 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7823 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
7824 * gdb.base/jit-attach-pie.c: New file.
7825 * gdb.base/jit-attach-pie.exp: New file.
7827 2016-09-28 Pedro Alves <palves@redhat.com>
7829 * gdb.base/infcall-input.c: New file.
7830 * gdb.base/infcall-input.exp: New file.
7832 2016-09-22 Yao Qi <yao.qi@linaro.org>
7834 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
7835 (gdb_exit): Rename it to ...
7836 (gdbserver_gdb_exit): ... Close GDBserver.
7837 (gdb_exit): New proc, call gdbserver_gdb_exit.
7838 (mi_gdb_exit): Likewise.
7840 2016-09-22 Yao Qi <yao.qi@linaro.org>
7842 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
7844 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
7847 2016-09-22 Yao Qi <yao.qi@linaro.org>
7849 * lib/gdbserver-support.exp: Check the existence of
7850 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
7852 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
7854 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
7856 2016-09-21 Tom Tromey <tom@tromey.com>
7859 * gdb.base/quit.exp: New file.
7861 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
7863 * .gitignore: New file.
7865 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
7867 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
7870 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7872 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
7874 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7876 * gdb.cp/casts.cc (decltype): Move it ...
7877 (main): ... with its call to ...
7878 * gdb.cp/casts03.cc: ... a new file.
7879 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
7881 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7883 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
7885 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
7887 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
7888 and sync up the test with tests in gas/testsuite/gas/ppc.
7889 * gdb.arch/powerpc-power.exp: Likewise.
7891 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7893 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
7895 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
7896 Jan Kratochvil <jan.kratochvil@redhat.com>
7898 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
7899 make m1's definition to be different from m2's. Use 'dummy' as an
7900 argument for probe 'two'.
7902 2016-09-10 Jon Beniston <jon@beniston.com>
7904 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
7907 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
7909 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
7910 variable declaration.
7911 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
7912 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
7913 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
7914 received HWCAP as its argument.
7916 2016-09-06 Pedro Alves <palves@redhat.com>
7918 * gdb.base/new-ui-pending-input.c: New file.
7919 * gdb.base/new-ui-pending-input.exp: New file.
7920 * gdb.exp (clear_gdb_spawn_id): New procedure.
7921 (with_spawn_id): Check whether gdb_spawn_id exists before
7922 referencing it. If gdb_spawn_id didn't exist on entry, clear it
7925 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7927 * gdb.base/float128.c: New file.
7928 * gdb.base/float128.exp: Likewise.
7929 * gdb.base/floatn.c: Likewise.
7930 * gdb.base/floatn.exp: Likewise.
7932 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
7934 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
7936 2016-09-05 Pedro Alves <palves@redhat.com>
7939 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
7940 unwinders are immediately called as side effect of "source" or
7941 "disable unwinder" commands.
7942 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
7944 2016-09-02 Yao Qi <yao.qi@linaro.org>
7946 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
7947 is true and $type is "float" or "double".
7949 2016-09-02 Yao Qi <yao.qi@linaro.org>
7951 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
7953 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
7954 * gdb.base/call-rt-st.exp: Likewise.
7955 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
7956 return value instead of gdb,skip_float_test.
7957 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
7958 (do_function_calls): Use its return value instead of
7959 gdb,skip_float_test.
7960 * gdb.base/finish.exp: Likewise.
7961 * gdb.base/funcargs.exp: Likewise.
7962 * gdb.base/return.exp: Likewise.
7963 * gdb.base/return2.exp: Likewise.
7964 * gdb.base/varargs.exp: Likewise.
7965 * lib/gdb.exp (gdb_skip_float_test): Change it to
7966 gdb_caching_proc. Detect the broken ptrace on arm-linux.
7968 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
7970 * gdb.multi/tids.exp: Test "thread apply all".
7972 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7974 * gdb.base/default.exp (tty): Remove.
7976 2016-08-24 Kevin Buettner <kevinb@redhat.com>
7978 * gdb.python/py-recurse-unwind.c: New file.
7979 * gdb.python/py-recurse-unwind.py: New file.
7980 * gdb.python/py-recurse-unwind.exp: New file.
7982 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
7984 * gdb.base/set-inferior-tty.exp: New file.
7985 * gdb.base/set-inferior-tty.c: New file.
7987 2016-08-23 Pedro Alves <palves@redhat.com>
7990 * gdb.base/new-ui-echo.c: New file.
7991 * gdb.base/new-ui-echo.exp: New file.
7993 2016-08-23 Yao Qi <yao.qi@linaro.org>
7995 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
7997 * gdb.server/connect-without-multi-process.exp (do_test):
8000 2016-08-23 Yao Qi <yao.qi@linaro.org>
8002 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
8003 standalone_txt. Delete gdb_txt and standalone_txt on host
8004 and target. Spawn the binary on target. Copy files from
8007 2016-08-22 Pedro Alves <palves@redhat.com>
8010 * gdb.base/vdso-warning.exp: Test core dumps too. Use
8011 with_test_prefix. Factor out bits to ...
8012 (test_no_vdso): ... this new procedure.
8014 2016-08-19 Carl Love <cel@us.ibm.com>
8016 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
8017 maintaining separate logic for constructing the output path.
8018 * gdb.arch/powerpc-d128-regs.exp: Likewise.
8019 * gdb.arch/ppc-dfp.exp: Likewise.
8020 * gdb.arch/ppc-fp.exp: Likewise.
8021 * gdb.arch/vsx-regs.exp: Likewise.
8022 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
8023 binprefix for generating the additional binary files.
8025 2016-08-19 Pedro Alves <palves@redhat.com>
8027 * gdb.trace/mi-trace-frame-collected.exp
8028 (test_trace_frame_collected): On x32, expect two registers.
8030 2016-08-18 Carl Love <cel@us.ibm.com>
8032 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
8033 and sync up the test with tests in gas/testsuite/gas/ppc.
8034 * gdb.arch/powerpc-power.exp: Likewise.
8036 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8038 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
8039 expected error message.
8041 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
8043 * gdb.multi/remove-inferiors.exp: New file.
8044 * gdb.multi/remove-inferiors.c: New file.
8046 2016-08-12 Yao Qi <yao.qi@linaro.org>
8048 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
8051 2016-08-10 Pedro Alves <palves@redhat.com>
8054 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
8057 2016-08-09 Pedro Alves <palves@redhat.com>
8058 Simon Marchi <simon.marchi@ericsson.com>
8061 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
8062 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
8064 2016-08-09 Pedro Alves <palves@redhat.com>
8067 * gdb.mi/mi-cmd-error.exp: New file.
8069 2016-08-09 Pedro Alves <palves@redhat.com>
8072 * gdb.base/signals-state-child.c: New file.
8073 * gdb.base/signals-state-child.exp: New file.
8074 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
8076 2016-08-09 Pedro Alves <palves@redhat.com>
8078 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
8080 2016-08-03 Tom Tromey <tom@tromey.com>
8083 * gdb.python/py-frame-inline.exp: Add Frame.function test.
8085 2016-08-01 Yao Qi <yao.qi@linaro.org>
8087 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
8088 variable mode to "multi-process" if $multi_process is 1, otherwise
8089 set it to "single-process".
8091 2016-08-01 Yao Qi <yao.qi@linaro.org>
8093 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
8094 * gdb.cp/cpexprs.exp: Likewise.
8095 * gdb.cp/m-static.exp: Likewise.
8097 2016-07-26 Tom Tromey <tom@tromey.com>
8100 * gdb.threads/tls.exp (check_thread_local): Add python symbol
8103 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
8105 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
8106 selecting assembly source files.
8107 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
8108 assembly source files.
8109 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
8110 assembly source files.
8111 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
8112 selecting assembly source files.
8114 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
8116 * gdb.base/new-ui.exp (do_test_invalid_args): New
8119 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
8121 * gdb.btrace/reconnect.c: New file.
8122 * gdb.btrace/reconnect.exp: New file.
8124 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
8126 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
8127 to test_catch_syscall_group.
8128 (test_catch_syscall_group): New.
8130 2016-07-21 Tom Tromey <tom@tromey.com>
8132 * gdb.rust/simple.rs (main): Use empty struct expression.
8133 * gdb.rust/simple.exp: Add tests for empty struct expression.
8135 2016-07-21 Yao Qi <yao.qi@linaro.org>
8137 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
8138 if gdb_skip_xml_test is true on some targets.
8140 2016-07-21 Yao Qi <yao.qi@linaro.org>
8142 * gdb.server/solib-list.exp: Unset last_loaded_file.
8144 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8146 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
8147 "step into captured_main (args)".
8149 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8151 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
8153 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8155 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
8157 2016-07-19 Pedro Alves <palves@redhat.com>
8159 * gdb.opt/inline-break.exp: Remove optimize=-O2.
8160 * gdb.opt/inline-bt.exp: Likewise.
8161 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
8162 additional_flags=-Winline.
8163 * gdb.opt/inline-locals.exp: Likewise.
8164 * gdb.opt/inline-markers.c (ATTR): Define.
8165 (inlined_fn): Use it.
8167 2016-07-19 Yao Qi <yao.qi@linaro.org>
8169 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
8170 (test_with_self): Remove some code. Remove argument executable.
8171 (top-level): Use do_self_tests.
8173 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
8174 Don Breazeal <donb@codesourcery.com>
8176 * gdb.base/maint.exp: Escape paths used in regular expressions.
8177 * gdb.stabs/weird.exp: Likewise.
8179 2016-07-13 Tom Tromey <tom@tromey.com>
8181 PR python/15620, PR python/18620:
8182 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
8183 (test_bkpt_events): New procs.
8185 2016-07-13 Tom Tromey <tom@tromey.com>
8188 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
8190 (test_watchpoints): Likewise.
8191 (test_bkpt_pending): New proc.
8193 2016-07-13 Tom Tromey <tom@tromey.com>
8196 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
8199 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8201 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
8202 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
8203 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
8205 (g): Rename g_end_lbl to g_label.
8206 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
8208 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
8210 2016-07-12 Tom Tromey <tom@tromey.com>
8213 * gdb.python/py-unwind-maint.exp: Update tests.
8215 2016-07-12 Yao Qi <yao.qi@linaro.org>
8217 * lib/selftest-support.exp (selftest_setup): Match the output
8218 when captured_main is inlined.
8220 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
8222 * gdb.fortran/derived-types.exp (result_line, result_line_2):
8224 (print this%a, print this%b, print this): New tests.
8225 * gdb.fortran/derived-types.f90 (this): New object and
8228 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8230 * gdb.ada/arraydim.exp: Remove extra directory level in build
8233 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
8235 * lib/ada.exp: Remove extra directory level in build directory.
8236 * gdb.ada/cond_lang.exp: Likewise.
8237 * gdb.ada/exec_changed.exp: Likewise.
8238 * gdb.ada/lang_switch.exp: Likewise.
8240 2016-07-06 Manish Goregaokar <manish@mozilla.com>
8242 * simple.rs: Add test for raw pointer subscripting.
8243 * simple.exp: Add test expectations.
8245 2016-07-05 Yao Qi <yao.qi@linaro.org>
8247 * gdb.mi/mi-reverse.exp: Match =record-started output.
8249 2016-07-01 Pedro Alves <palves@redhat.com>
8251 * gdb.base/jit-reader.exp (info_registers_current_frame): New
8253 (jit_reader_test): Test the jit reader's unwinder.
8254 * gdb.base/jithost.c (jit_function_00_code): New global.
8255 (main): Use memcpy to fill in the mmapped code, instead of poking
8256 bytes manually here.
8257 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
8259 (read_debug_info): Save the function's range.
8260 (read_sp): New function.
8261 (unwind_frame): Use it. Also unwind RBP.
8262 (get_frame_id): Use read_sp.
8263 (gdb_init_reader): Use calloc instead of malloc.
8264 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
8265 parameter. Use gdb_test_multiple.
8267 2016-07-01 Pedro Alves <palves@redhat.com>
8268 Antoine Tremblay <antoine.tremblay@ericsson.com>
8270 * gdb.threads/process-dies-while-detaching.c: New file.
8271 * gdb.threads/process-dies-while-detaching.exp: New file.
8273 2016-07-01 Pedro Alves <palves@redhat.com>
8275 * gdb.multi/watchpoint-multi-exit.c: New file.
8276 * gdb.multi/watchpoint-multi-exit.exp: New file.
8278 2016-06-30 Pedro Alves <palves@redhat.com>
8280 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
8281 unset inferior_spawn_id.
8283 2016-06-30 Pedro Alves <palves@redhat.com>
8285 * lib/mi-support.exp (default_mi_gdb_start): Declare global
8286 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
8288 2016-06-29 Yao Qi <yao.qi@linaro.org>
8290 * gdb.base/return.c: Add copyright header.
8292 2016-06-29 Tom Tromey <tom@tromey.com>
8295 * gdb.python/py-framefilter.exp: Add tests for setting priority
8296 and disabling of non-existent frame filter.
8298 2016-06-29 Yao Qi <yao.qi@linaro.org>
8300 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
8303 2016-06-28 Yao Qi <yao.qi@linaro.org>
8305 * gdb.base/catch-syscall.exp: Remove check on isnative and target
8306 triplets. Start gdb, execute catch syscall, and continue. Check
8307 gdb's output to determine catch syscall is supported.
8309 2016-06-27 Manish Goregaokar <manish@mozilla.com>
8311 * gdb.rust/simple.rs: Add test for returning unit in a function.
8312 * gdb.rust/simple.exp: Add expectation for functions returning
8315 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
8317 * gdb.python/py-breakpoint-create-fail.c,
8318 gdb.python/py-breakpoint-create-fail.exp,
8319 gdb.python/py-breakpoint-create-fail.py: New testcase.
8321 2016-06-25 Manish Goregaokar <manish@mozilla.com>
8324 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
8325 * gdb.rust/simple.exp: Add test expectations for new NonZero
8328 2016-06-24 David Taylor <dtaylor@emc.com>
8330 * gdb.base/offsets.exp: New file.
8331 * gdb.base/offsets.c: New file.
8333 2016-06-23 Tom Tromey <tom@tromey.com>
8336 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
8337 before any filters are loaded.
8339 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
8341 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
8342 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
8344 * gdb.fortran/derived-type-function.exp: New file.
8345 * gdb.fortran/derived-type-function.f90: New file.
8348 2016-06-21 Pedro Alves <palves@redhat.com>
8350 * gdb.base/new-ui.exp: New file.
8351 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
8352 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
8353 (with_spawn_id): New procedure.
8355 2016-06-21 Pedro Alves <palves@redhat.com>
8357 * gdb.mi/mi-exec-run.exp: New file.
8359 2016-06-21 Pedro Alves <palves@redhat.com>
8361 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
8362 breakpoint command's output on the main UI.
8363 (test_break): New procedure, factored out from calls in the top
8365 (top level): Use foreach_with_prefix to test MI as main UI and as
8368 2016-06-21 Pedro Alves <palves@redhat.com>
8370 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
8371 (test_awatch_creation_and_listing)
8372 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
8373 Remove 'type' parameter.
8374 (test_watchpoint_all): New parameter mi_mode. Remove
8376 (top level): Use foreach_with_prefix, and add main/separate UI MI
8379 2016-06-21 Pedro Alves <palves@redhat.com>
8381 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
8382 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
8383 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
8384 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
8385 (gdb_main_spawn_id, mi_spawn_id): Declare and
8387 (mi_create_inferior_pty): New procedure,
8388 factored out from default_mi_gdb_start.
8389 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
8391 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
8392 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
8393 Use mi_create_inferior_pty.
8394 (mi_gdb_start): Use eval to pass down args list.
8396 2016-06-21 Pedro Alves <palves@redhat.com>
8398 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
8399 * gdb.opt/inline-cmds.exp: Add MI tests.
8401 2016-06-21 Pedro Alves <palves@redhat.com>
8403 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
8405 2016-06-21 Pedro Alves <palves@redhat.com>
8407 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
8408 (top level): Use it instead of mi_execute_to.
8410 2016-06-21 Pedro Alves <palves@redhat.com>
8412 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
8413 (cont_handler_str): New.
8414 (signal_stop_handler): Set stop_handler_str instead of printing to
8416 (continue_handler): Set cont_handler_str instead of printing to
8418 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
8419 mi_send_resuming_command. Print stop_handler_str and
8420 cont_handler_str instead of expecting the python events print
8423 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
8425 * gdb.base/jit-reader.exp: New file.
8426 * gdb.base/jithost.c: New file.
8427 * gdb.base/jithost.h: New file.
8428 * gdb.base/jitreader.c : New file.
8429 * gdb.base/jit-protocol.h: New file.
8431 2016-06-17 Yao Qi <yao.qi@linaro.org>
8433 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
8434 parameters follow_fork and detach_on_fork. Set follow-fork-mode
8435 and detach-on-fork. Adjust tests.
8436 (top level): Invoke break_cond_on_syscall with combinations of
8437 syscall, follow-fork-mode and detach-on-fork.
8439 2016-06-17 Yao Qi <yao.qi@linaro.org>
8441 * gdb.base/step-over-exit.c: New.
8442 * gdb.base/step-over-exit.exp: New.
8444 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
8446 * gdb.base/float.exp: Add target check for nds32*-*-*.
8447 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
8449 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
8451 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
8452 for unsupported target features.
8453 * gdb.base/call-rt-st.exp: Likewise.
8454 * gdb.base/call-sc.exp: Likewise.
8455 * gdb.base/call-signal-resume.exp: Likewise.
8456 * gdb.base/call-strs.exp: Likewise.
8457 * gdb.base/callexit.exp: Likewise.
8458 * gdb.base/callfuncs.exp: Likewise.
8459 * gdb.base/nodebug.exp: Likewise.
8460 * gdb.base/printcmds.exp: Likewise.
8461 * gdb.base/ptype.exp: Likewise.
8462 * gdb.base/structs.exp: Likewise.
8463 * gdb.base/unwindonsignal.exp: Likewise.
8464 * gdb.cp/gdb2495.exp: Likewise.
8465 * gdb.cp/templates.exp: Likewise.
8466 * gdb.cp/virtfunc.exp: Likewise.
8467 * gdb.threads/hand-call-in-threads.exp: Likewise.
8468 * gdb.threads/interrupted-hand-call.exp: Likewise.
8469 * gdb.threads/thread-unwindonsignal.exp: Likewise.
8471 2016-06-10 Tom Tromey <tom@tromey.com>
8474 * gdb.rust/expr.exp: Add test for integer constant larger than
8477 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
8479 * gdb.fortran/nested-funcs.exp: New.
8480 * gdb.fortran/nested-funcs.f90: New.
8482 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
8484 * gdb.base/examine-backward.c: New file.
8485 * gdb.base/examine-backward.exp: New file.
8487 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
8489 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
8492 2016-06-02 Tom Tromey <tom@tromey.com>
8495 * gdb.python/py-shared.exp: Add solib_name test.
8497 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
8499 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
8501 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
8504 * gdb.dwarf2/implref.exp: Rename to...
8505 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
8506 * gdb.dwarf2/implref-array.c: New file.
8507 * gdb.dwarf2/implref-array.exp: Likewise.
8508 * gdb.dwarf2/implref-global.c: Likewise.
8509 * gdb.dwarf2/implref-global.exp: Likewise.
8510 * gdb.dwarf2/implref-struct.c: Likewise.
8511 * gdb.dwarf2/implref-struct.exp: Likewise.
8513 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8515 * gdb.trace/trace-condition.exp: Add 64bit tests.
8517 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8519 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
8521 (main): Adapt to 8 to 64 bits types.
8522 * gdb.trace/trace-condition.exp: Add new tests.
8524 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8526 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
8528 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8530 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
8531 Move condition tests...
8532 * gdb.trace/trace-condition.exp: Here.
8534 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
8536 * gdb.trace/trace-condition.exp: Add counter-case tests.
8538 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8541 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
8542 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
8544 2016-05-27 Pedro Alves <palves@redhat.com>
8546 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
8548 (top level): Call it, and bail out of DejaGnu is known to be bad.
8550 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
8552 * gdb.base/whatis.c: Extend the test case.
8553 * gdb.base/whatis.exp: Add additional tests.
8555 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8557 * gdb.fortran/type.f90: Add pointer variable.
8558 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
8560 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8562 * gdb.fortran/vla-type.exp: Fix testcase name.
8564 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8566 * gdb.fortran/vla-type.exp: Access elements in nested structs.
8568 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8570 * gdb.fortran/type.f90: Add nested structures.
8571 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
8572 * gdb.fortran/derived-type.exp: Adapt expected output.
8573 * gdb.fortran/vla-type.exp: Adapt expected output.
8575 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8577 * gdb.fortran/whatis_type.exp: Adapt expected output.
8579 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8581 * gdb.fortran/print_type.exp: Fix expected output.
8582 * gdb.fortran/whatis_type.exp: Fix expected output.
8584 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
8586 * gdb.fortran/whatis_type.exp: Use multi_line.
8588 2016-05-24 Tom Tromey <tom@tromey.com>
8591 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
8592 use value as an index.
8594 2016-05-23 Tom Tromey <tom@tromey.com>
8597 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
8600 2016-05-24 Pedro Alves <palves@redhat.com>
8603 * gdb.threads/clone-attach-detach.c: New file.
8604 * gdb.threads/clone-attach-detach.exp: New file.
8606 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
8608 * gdb.base/annota-input-while-running.exp: Fix syntax error.
8610 2016-05-23 Tom Tromey <tom@tromey.com>
8612 PR python/19438, PR python/18393:
8613 * gdb.python/py-progspace.exp: Add "dir" test.
8614 * gdb.python/py-objfile.exp: Add "dir" test.
8616 2016-05-23 Yao Qi <yao.qi@linaro.org>
8618 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
8619 * gdb.arch/thumb2-it.exp: Likewise.
8621 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
8623 * gdb.mi/mi-threads-interrupt.c: New file.
8624 * gdb.mi/mi-threads-interrupt.exp: New file.
8626 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
8629 * gdb.mi/mi-async-run.exp: New file.
8630 * gdb.mi/mi-async-run.c: New file.
8632 2016-05-17 Tom Tromey <tom@tromey.com>
8633 Manish Goregaokar <manishsmail@gmail.com>
8635 * lib/rust-support.exp: New file.
8636 * lib/gdb.exp (skip_rust_tests): New proc.
8637 (build_executable_from_specs): Handle rust.
8638 * lib/future.exp (gdb_find_rustc): New proc.
8639 (gdb_default_target_compile): Handle rust.
8640 * gdb.rust/expr.exp: New file.
8641 * gdb.rust/generics.exp: New file.
8642 * gdb.rust/generics.rs: New file.
8643 * gdb.rust/methods.exp: New file.
8644 * gdb.rust/methods.rs: New file.
8645 * gdb.rust/modules.exp: New file.
8646 * gdb.rust/modules.rs: New file.
8647 * gdb.rust/simple.exp: New file.
8648 * gdb.rust/simple.rs: New file.
8650 2016-05-17 Tom Tromey <tom@tromey.com>
8652 * gdb.base/default.exp (set language): Add rust.
8654 2016-05-17 Tom Tromey <tom@tromey.com>
8656 * gdb.gdb/unittest.exp: New file.
8658 2016-05-16 Yao Qi <yao.qi@linaro.org>
8660 * gdb.base/batch-preserve-term-settings.exp: Remove variable
8661 shell_prompt. Update shell_prompt_re.
8663 2016-05-12 Doug Evans <dje@google.com>
8666 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
8667 $options when building executable.
8668 * gdb.dwarf2/fission-loclists-pie.S: New file.
8669 * gdb.dwarf2/fission-loclists-pie.exp: New file.
8671 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8673 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
8674 of [is_remote target],
8676 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
8678 * lib/gdb.exp (use_gdb_stub): New procedure.
8680 2016-05-03 Yunlian Jiang <yunlian@google.com>
8681 Doug Evans <dje@google.com>
8684 * gdb.dwarf2/dwp-sepdebug.c: New file.
8685 * gdb.dwarf2/dwp-sepdebug.exp: New file.
8687 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8689 * gdb.base/detach.exp: Remove is_remote check.
8691 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
8693 * gdb.base/annota-input-while-running.exp: Don't check for
8694 [is_remote target]. Enable annotations after running to main.
8695 Remove unused "set test..." line.
8697 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8699 * gdb.trace/trace-enable-disable.exp: New file.
8700 * gdb.trace/trace-enable-disable.c: New file.
8702 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
8704 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
8705 use it in info sharedlibrary test.
8706 * gdb.trace/ftrace-lock.exp: Likewise.
8707 * gdb.trace/ftrace.exp: Likewise.
8708 * gdb.trace/range-stepping.exp: Likewise.
8709 * gdb.trace/trace-break.exp: Likewise.
8710 * gdb.trace/trace-condition.exp: Likewise.
8711 * gdb.trace/trace-mt.exp: Likewise.
8713 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
8715 * lib/gdb.exp (gdb_load_shlibs): Rename to...
8716 (gdb_load_shlib): ... this.
8717 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
8719 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
8720 * gdb.base/ctxobj.exp: Likewise.
8721 * gdb.base/dprintf-pending.exp: Likewise.
8722 * gdb.base/dso2dso.exp: Likewise.
8723 * gdb.base/fixsection.exp: Likewise.
8724 * gdb.base/gcore-relro.exp: Likewise.
8725 * gdb.base/gdb1555.exp: Likewise.
8726 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8727 * gdb.base/gnu-ifunc.exp: Likewise.
8728 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
8729 * gdb.base/jit-so.exp (one_jit_test): Likewise.
8730 * gdb.base/pending.exp: Likewise.
8731 * gdb.base/print-file-var.exp: Likewise.
8732 * gdb.base/print-symbol-loading.exp: Likewise.
8733 * gdb.base/shlib-call.exp: Likewise.
8734 * gdb.base/shreloc.exp: Likewise.
8735 * gdb.base/so-impl-ld.exp: Likewise.
8736 * gdb.base/solib-disc.exp: Likewise.
8737 * gdb.base/solib-nodir.exp: Likewise.
8738 * gdb.base/solib-overlap.exp: Likewise.
8739 * gdb.base/solib-symbol.exp: Likewise.
8740 * gdb.base/solib-weak.exp (do_test): Likewise.
8741 * gdb.base/sym-file.exp: Likewise.
8742 * gdb.base/symtab-search-order.exp: Likewise.
8743 * gdb.base/type-opaque.exp: Likewise.
8744 * gdb.base/unload.exp: Likewise.
8745 * gdb.base/watchpoint-solib.exp: Likewise.
8746 * gdb.compile/compile.exp: Likewise.
8747 * gdb.cp/gdb2384.exp: Likewise.
8748 * gdb.cp/infcall-dlopen.exp: Likewise.
8749 * gdb.cp/re-set-overloaded.exp: Likewise.
8750 * gdb.fortran/library-module.exp: Likewise.
8751 * gdb.opt/solib-intra-step.exp: Likewise.
8752 * gdb.python/py-finish-breakpoint.exp: Likewise.
8753 * gdb.python/py-shared.exp: Likewise.
8754 * gdb.reverse/solib-precsave.exp: Likewise.
8755 * gdb.reverse/solib-reverse.exp: Likewise.
8756 * gdb.server/solib-list.exp: Likewise.
8757 * gdb.threads/dlopen-libpthread.exp: Likewise.
8758 * gdb.threads/tls-shared.exp: Likewise.
8759 * gdb.threads/tls-so_extern.exp: Likewise.
8760 * gdb.trace/change-loc.exp: Likewise.
8761 * gdb.trace/ftrace-lock.exp: Likewise.
8762 * gdb.trace/ftrace.exp: Likewise.
8763 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
8764 * gdb.trace/pending.exp: Likewise.
8765 * gdb.trace/range-stepping.exp: Likewise.
8766 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
8767 (strace_info_marker): Likewise.
8768 (strace_probe_marker): Likewise.
8769 (strace_trace_on_same_addr): Likewise.
8770 (strace_trace_on_diff_addr): Likewise.
8771 * gdb.trace/trace-break.exp: Likewise.
8772 * gdb.trace/trace-condition.exp: Likewise.
8773 * gdb.trace/trace-mt.exp: Likewise.
8775 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
8777 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
8778 result of gdb_remote_download.
8779 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
8780 * gdb.base/dso2dso.exp: Likewise.
8781 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8782 * gdb.base/print-file-var.exp: Likewise.
8783 * gdb.base/shlib-call.exp: Likewise.
8784 * gdb.base/shreloc.exp: Likewise.
8785 * gdb.base/solib-overlap.exp: Likewise.
8786 * gdb.base/solib-weak.exp (do_test): Likewise.
8787 * gdb.base/unload.exp: Likewise.
8789 2016-04-27 Yao Qi <yao.qi@linaro.org>
8791 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
8794 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8796 * vla-type.exp: Print structure from toplevel.
8798 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8800 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
8802 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
8805 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
8807 * gdb.fortran/vla-type.f90: New file.
8808 * gdb.fortran/vla-type.exp: New file.
8810 2016-04-25 Yao Qi <yao.qi@linaro.org>
8812 * gdb.base/branch-to-self.c: New file.
8813 * gdb.base/branch-to-self.exp: New file.
8815 2016-04-22 Yao Qi <yao.qi@linaro.org>
8817 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
8820 2016-04-22 Yao Qi <yao.qi@linaro.org>
8822 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
8823 * gdb.base/annota3.exp: Likewise.
8825 2016-04-22 Yao Qi <yao.qi@linaro.org>
8827 * gdb.reverse/step-precsave.exp: Do one step and test program
8828 stops in "callee" and do multiple steps until program goes out
8830 * gdb.reverse/step-reverse.exp: Likewise.
8832 2016-04-22 Yao Qi <yao.qi@linaro.org>
8834 * gdb.trace/signal.exp: Also pass if
8835 $tracepoint_hits($i) > $iterations.
8837 2016-04-22 Yao Qi <yao.qi@linaro.org>
8839 * gdb.trace/signal.c: New file.
8840 * gdb.trace/signal.exp: New file.
8842 2016-04-19 Doug Evans <xdje42@gmail.com>
8844 * gdb.base/bad-file.exp: New file.
8846 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
8848 * gdb.dwarf2/implref.exp: New file.
8850 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
8852 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
8853 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
8854 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
8855 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
8856 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
8857 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
8858 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
8859 * lib/fortran.exp (fortran_int4): New procedure.
8860 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
8861 (fortran_logical4): Likewise.
8863 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
8865 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
8867 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
8869 * lib/compiler.c: Add Intel specific preprocessor macros.
8870 * lib/compiler.cc: Likewise.
8872 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
8874 * gdb.server/connect-with-no-symbol-file.c: New file.
8875 * gdb.server/connect-with-no-symbol-file.exp: New file.
8877 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
8879 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
8881 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
8883 * boards/gdbserver-base.exp (${board}_download): Copy source file to
8884 standard output directory.
8886 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
8888 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
8890 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
8892 * gdb.btrace/instruction_history.c (loop): Add declaration.
8894 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
8896 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
8898 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
8900 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
8901 parentheses to print.
8902 (continue_handler): Likewise.
8904 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
8906 * gdb.server/solib-list.exp: Remove is_remote check.
8907 Pass shlib= to gdb_compile. Don't link shared library with
8908 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
8909 Run binary filename through "readlink -f" on the target.
8911 2016-04-08 Pedro Alves <palves@redhat.com>
8913 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
8914 interpreter filename as argument to gdbserver_spawn.
8915 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8916 Return empty if $last_loaded_file does not exist.
8918 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8920 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
8921 * gdb.base/jit-main.c: Use exit after usage.
8923 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8925 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
8926 GDBHISTSIZE prior to the tests.
8927 * gdb.base/gdbinit-history.exp: Likewise.
8929 2016-04-07 Pedro Alves <palves@redhat.com>
8931 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
8932 instead of build_executable. Use gdb_load_shlibs.
8934 2016-04-07 Yao Qi <yao.qi@linaro.org>
8936 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
8937 Execute "si" command.
8939 2016-04-07 Yao Qi <yao.qi@linaro.org>
8941 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
8942 number instead of the comments on some line.
8944 2016-04-06 Don Breazeal <donb@codesourcery.com>
8946 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
8947 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
8949 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
8951 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
8952 standard_output_file. Remove unused binfile variable.
8954 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
8956 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
8957 * gdb.python/py-mi-objfile.exp: Match "list main" output
8960 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
8962 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
8965 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8967 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
8969 * gdb.trace/ftrace.exp: Likewise.
8970 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
8972 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
8973 (gdb_load_shlibs): Copy libraries to test directory when testing
8974 natively. Only set solib-search-path if testing remotely.
8975 * lib/mi-support.exp (mi_load_shlibs): Likewise.
8977 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
8979 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
8980 gdb_download. Use it even if the target is not remote.
8981 * gdb.base/jit.exp (compile_jit_test): Likewise.
8982 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
8983 output directory if the destination board is local, otherwise use
8984 the standard remote_download from DejaGnu.
8985 (gdb_download): Remove.
8986 (gdb_load_shlibs): Use gdb_remote_download instead of
8988 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
8989 Use gdb_remote_download instead of gdb_download. Use it even if
8990 the target is not remote.
8991 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
8992 instead of gdb_download.
8994 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
8996 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
8997 (test_insert_delete_modify): Call mi_load_shlibs before trying to
9000 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
9003 * gdb.base/printcmds.exp: Add artificial arrays tests.
9005 2016-03-31 Pedro Alves <palves@redhat.com>
9008 * gdb.base/jit-main.c: Include unistd.h.
9009 (ATTACH): Define to 0 if not already defined.
9010 (wait_for_gdb, mypid): New globals.
9011 (WAIT_FOR_GDB): New macro.
9012 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
9013 some breakpoint locations.
9014 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
9016 (one_jit_test): Add REATTACH parameter, and handle it. Use
9017 continue_to_test_location.
9018 (top level): Test attach, and adjusts calls to one_jit_test.
9020 2016-03-31 Pedro Alves <palves@redhat.com>
9023 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
9024 BINSUFFIX parameter, and handle it.
9025 (top level): Adjust calls compile_jit_test.
9027 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
9030 * gdb.python/py-mi-events-gdb.py: New file.
9031 * gdb.python/py-mi-events.c: New file.
9032 * gdb.python/py-mi-events.exp: New file.
9034 2016-03-30 Yao Qi <yao.qi@linaro.org>
9036 * gdb.reverse/until-precsave.exp: Match function name only.
9037 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
9038 Move malloc to a condition block.
9039 * gdb.reverse/until-reverse.exp: Match function name only.
9041 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
9043 * gdb.trace/ftrace.exp: Set arg0exp for s390.
9044 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
9045 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
9046 variable for GPR 0 instead of assuming it is register 0.
9047 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
9048 * lib/trace-support.exp: Add s390 registers.
9050 2016-03-29 Yao Qi <yao.qi@linaro.org>
9052 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
9054 2016-03-24 Yao Qi <yao.qi@linaro.org>
9056 * gdb.reverse/break-reverse.exp: Add quotation mark in the
9059 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
9061 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
9062 maintaining separate logic for constructing the output path.
9064 2016-03-16 Don Breazeal <donb@codesourcery.com>
9066 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
9067 Retry fork and waitpid on interrupted system call errors.
9068 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9069 Use with_timeout_factor to increase timeout by factor of 10.
9071 2016-03-15 Don Breazeal <donb@codesourcery.com>
9073 * gdb.cp/scope-err.cc: New test program.
9074 * gdb.cp/scope-err.exp: New test script.
9075 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
9076 lines and "set breakpoint here" comment.
9077 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
9078 Fixed some whitespace and format issues.
9079 * gdb.mi/mi-linespec-err-cp.cc: New test program.
9080 * gdb.mi/mi-linespec-err-cp.exp: New test script.
9082 2016-03-15 Doug Evans <dje@google.com>
9084 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
9085 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
9086 All callers updated. Add tests for enums, mixed flags register.
9088 2016-03-15 Doug Evans <dje@google.com>
9090 * gdb.base/skip.c (main): Call test_skip_file_and_function.
9091 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
9093 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
9095 * gdb.base/default.exp: Add $_as_string to the list of expected
9096 convenience functions.
9098 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
9100 * gdb.base/maint.exp: New tests for 'maint info line-table'.
9102 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
9104 * gdb.python/py-as-string.exp: New file.
9105 * gdb.python/py-as-string.c: New file.
9107 2016-03-09 Pedro Alves <palves@redhat.com>
9109 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
9110 signal" -> "Thread NN received signal" output change.
9111 * gdb.threads/ia64-sigill.exp: Likewise.
9112 * gdb.threads/linux-dp.exp: Likewise.
9113 * gdb.threads/manythreads.exp: Likewise.
9114 * gdb.threads/pending-step.exp: Likewise.
9115 * gdb.threads/print-threads.exp: Likewise.
9116 * gdb.threads/sigstep-threads.exp: Likewise.
9117 * gdb.threads/staticthreads.exp: Likewise.
9118 * gdb.threads/tls.exp: Likewise.
9120 2016-03-09 Pedro Alves <palves@redhat.com>
9122 * gdb.base/command-line-input.exp: New file.
9124 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9126 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
9127 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
9128 * gdb.trace/pending.exp: Accept leading dot before function name.
9129 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
9130 * lib/trace-support.exp: Set registers for ppc.
9132 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9134 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
9135 use it for disassembly; accept .main in addition to main in backtrace.
9137 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
9138 Marcin Kościelnicki <koriakin@0x04.net>
9140 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
9141 (gdb_recursion_test_ptr): New global variable.
9142 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
9144 (gdb_c_test): Ditto.
9146 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9148 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
9151 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
9153 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
9154 (bar): Add bar_start_lbl label.
9155 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
9156 of foo/bar for emitting DWARF and tracing.
9158 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
9160 * analyze-racy-logs.py: Set executable bit.
9162 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
9164 * Makefile.in (DEFAULT_RACY_ITER): New variable.
9165 (CHECK_TARGET_TMP): Likewise.
9166 (check-single-racy): New rule.
9167 (check-parallel-racy): Likewise.
9168 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
9169 (do-check-parallel-racy): New rule.
9170 (check-racy/%.exp): Likewise.
9171 * README (Racy testcases): New section.
9172 * analyze-racy-logs.py: New file.
9174 2016-03-03 Doug Evans <dje@google.com>
9176 * gdb.base/skip.exp: Use with_test_prefix.
9178 2016-03-03 Yao Qi <yao.qi@linaro.org>
9180 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
9181 Invoke step_over_syscall "clone" and break_cond_on_syscall
9183 * gdb.base/step-over-clone.c: New file.
9185 2016-03-03 Yao Qi <yao.qi@linaro.org>
9187 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
9190 2016-03-03 Yao Qi <yao.qi@linaro.org>
9192 * gdb.base/disp-step-fork.c: Rename to ...
9193 * gdb.base/step-over-fork.c: ... it. New file.
9194 * gdb.base/disp-step-vfork.c: Rename to ...
9195 * gdb.base/step-over-vfork.c: ... it. New file.
9196 * gdb.base/disp-step-syscall.exp: Rename to ...
9197 * gdb.base/step-over-syscall.exp: ... it. New file.
9198 (disp_step_cross_syscall): Rename to ...
9199 (step_over_syscall): ... it.
9201 2016-03-03 Yao Qi <yao.qi@linaro.org>
9203 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
9204 If target supports condition evaluation on target, invoke
9205 break_cond_on_syscall for fork and vfork.
9207 2016-03-03 Yao Qi <yao.qi@linaro.org>
9209 * gdb.base/disp-step-syscall.exp: Don't invoke
9210 support_displaced_stepping.
9211 (disp_step_cross_syscall): Test with displaced stepping off and
9214 2016-03-03 Yao Qi <yao.qi@linaro.org>
9216 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
9219 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
9222 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9224 * gdb.fortran/vla-history.exp: Remove breakpoint.
9226 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9228 * gdb.fortran/vla-history.exp: Lookup array elements and printing
9231 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9233 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
9236 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
9238 * gdb.mi/vla.f90: Nullify pointer after declaration.
9240 2016-03-01 Pedro Alves <palves@redhat.com>
9242 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
9244 2016-03-01 Pedro Alves <palves@redhat.com>
9246 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
9247 before anything else.
9248 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
9250 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
9251 before anything else.
9252 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
9254 2016-03-01 Pedro Alves <palves@redhat.com>
9256 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
9258 2016-03-01 Yao Qi <yao.qi@linaro.org>
9260 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
9261 prepare_for_testing.
9263 2016-03-01 Yao Qi <yao.qi@linaro.org>
9265 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
9267 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9269 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
9270 manually constructing the output path.
9272 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
9274 * gdb.arch/s390-stackless.S: New.
9275 * gdb.arch/s390-stackless.exp: New.
9277 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
9279 * gdb.dlang/circular.c: New file.
9280 * gdb.dlang/circular.exp: New file.
9282 2016-02-26 Yao Qi <yao.qi@linaro.org>
9284 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
9285 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
9286 (testcases): Update.
9288 2016-02-26 Yao Qi <yao.qi@linaro.org>
9290 * gdb.reverse/aarch64.c: Rename to ...
9291 * gdb.reverse/insn-reverse.c: ... it.
9292 * gdb.reverse/aarch64.exp: Rename to ...
9293 * gdb.reverse/insn-reverse.exp: ... it.
9295 2016-02-26 Yao Qi <yao.qi@linaro.org>
9297 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
9298 (testcase_ftype): New.
9299 (testcases): New array.
9301 (main): Call each element in testcases.
9302 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
9303 (read_testcase): New.
9304 Do the tests in a loop.
9306 2016-02-25 Yao Qi <yao.qi@linaro.org>
9308 * gdb.base/branches.c: Remove.
9310 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9313 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
9315 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9317 * gdb.trace/ftrace.exp: Remove unnecessary target check.
9319 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
9321 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
9322 change x86_64 call_insn to 'callq'.
9324 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
9326 * gdb.trace/tfile-avx.c: Move to...
9327 * gdb.trace/tracefile-pseudo-reg.c: Here.
9328 * gdb.trace/tfile-avx.exp: Move to...
9329 * gdb.trace/tracefile-pseudo-reg.exp: Here.
9331 2016-02-24 Gary Benson <gbenson@redhat.com>
9333 * gdb.base/attach-pie-noexec.exp: Do not expect an error
9336 2016-02-23 Doug Evans <dje@google.com>
9338 * gdb.base/skip.c (test_skip): New function.
9339 (end_test_skip_file_and_function): New function.
9340 (test_skip_file_and_function): New function.
9341 * gdb.base/skip1.c (test_skip): New function.
9342 (skip1_test_skip_file_and_function): New function.
9343 * gdb.base/skip.exp: Add tests for new skip options.
9344 * gdb.base/skip-solib.exp: Update expected output.
9345 * gdb.perf/skip-command.cc: New file.
9346 * gdb.perf/skip-command.exp: New file.
9347 * gdb.perf/skip-command.py: New file.
9349 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
9351 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
9352 info registers pattern.
9354 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
9356 * lib/future.exp: Add D support.
9357 (gdb_find_gdc): New proc.
9358 (gdb_default_target_compile): Add D support.
9360 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
9362 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
9364 (trace_speed_test): Determine the iteration count for a time
9365 between 15..30 seconds.
9367 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
9369 * gdb.arch/i386-mpx-sigsegv.c: New file.
9370 * gdb.arch/i386-mpx-sigsegv.exp: New file.
9371 * gdb.arch/i386-mpx-simple_segv.c: New file.
9372 * gdb.arch/i386-mpx-simple_segv.exp: New file.
9374 2016-02-18 Yao Qi <yao.qi@linaro.org>
9376 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
9377 Don't call setup_kfail.
9379 2016-02-18 Yao Qi <yao.qi@linaro.org>
9381 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9382 Set "set breakpoint condition-evaluation" per $cond_bp_target.
9384 2016-02-16 Doug Evans <dje@google.com>
9386 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
9387 * gdb.base/skip1.c: Ditto.
9388 * gdb.base/skip.exp: Whitespace cleanup.
9390 2016-02-16 Don Breazeal <donb@codesourcery.com>
9393 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
9394 Remove kfail for PR remote/19496.
9396 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9398 * lib/gdb.exp (standard_temp_file): Return a path specific to
9399 the runtest invocation.
9401 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
9403 * gdb.trace/save-trace.exp: Change relative path to be in the
9404 standard output directory.
9406 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9408 * gdb.arch/i386-prologue.c: Add missing prototypes.
9410 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9412 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
9413 * gdb.arch/i386-prologue.exp: Likewise.
9414 * gdb.arch/i386-size.exp: Likewise.
9416 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
9418 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
9419 define object file path.
9420 * gdb.btrace/gcore.exp: Use standard_output_file to define core
9422 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
9423 standard_output_file to define binfile.
9425 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9427 Fix compatibility with recent gfortran-5.3.1.
9428 * gdb.fortran/vla-history.exp (print vla1 allocated)
9429 (print vla2 allocated, print $2, print $3): Remove
9430 (print $4): Rename to ...
9431 (print $2): ... here.
9432 (print $9): Rename to ...
9433 (print $5): ... here.
9434 (print $10): Rename to ...
9435 (print $6): ... here.
9436 * gdb.fortran/vla.f90: Add pvla initialization.
9438 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9440 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
9442 * gdb.fortran/vla-value-sub.exp: Likewise.
9444 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
9446 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
9448 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
9450 * i386-biarch-core.exp: Define corefile using
9451 standard_output_file.
9453 2016-02-12 Yao Qi <yao.qi@linaro.org>
9455 * gdb.arch/arm-single-step-kernel-helper.c: New.
9456 * gdb.arch/arm-single-step-kernel-helper.exp: New.
9458 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
9460 * gdb.btrace/tailcall-only.exp: New.
9461 * gdb.btrace/tailcall-only.c: New.
9462 * gdb.btrace/x86_64-tailcall-only.S: New.
9463 * gdb.btrace/i686-tailcall-only.S: New.
9465 2016-02-11 Pedro Alves <palves@redhat.com>
9467 * README (Parallel testing): Add missing double quotes.
9469 2016-02-11 Pedro Alves <palves@redhat.com>
9471 * README (Parallel testing): New section.
9472 (GDB_PARALLEL): Rewrite.
9473 (FORCE_PARALLEL): Document.
9475 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
9477 * gdb.trace/tfile-avx.c: New test.
9478 * gdb.trace/tfile-avx.exp: New test.
9480 2016-02-09 Keith Seitz <keiths@redhat.com>
9482 PR breakpoints/19546
9483 * gdb.base/infcall-exec.c: New file.
9484 * gdb.base/infcall-exec2.c: New file.
9485 * gdb.base/infcall-exec.exp: New file.
9487 2016-02-09 Keith Seitz <keiths@redhat.com>
9489 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
9490 (toplevel): Call test_bkpt_address.
9492 2016-02-09 Keith Seitz <keiths@redhat.com>
9495 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
9496 (toplevel): Call test_bkpt_address.
9498 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
9500 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
9502 * configure: Regenerate.
9504 2016-02-09 Pedro Alves <palves@redhat.com>
9506 PR breakpoints/19548
9507 * gdb.base/execl-update-breakpoints.c (some_function): New
9510 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
9511 Tighten expected GDB output.
9513 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9515 * Makefile.in (ALL_SUBDIRS): Remove.
9516 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
9517 (distclean maintainer-clean realclean): Likewise.
9518 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
9519 * configure: Regenerate.
9520 * gdb.ada/Makefile.in: Delete.
9521 * gdb.arch/Makefile.in: Likewise.
9522 * gdb.asm/Makefile.in: Likewise.
9523 * gdb.base/Makefile.in: Likewise.
9524 * gdb.btrace/Makefile.in: Likewise.
9525 * gdb.cell/Makefile.in: Likewise.
9526 * gdb.compile/Makefile.in: Likewise.
9527 * gdb.cp/Makefile.in: Likewise.
9528 * gdb.disasm/Makefile.in: Likewise.
9529 * gdb.dlang/Makefile.in: Likewise.
9530 * gdb.dwarf2/Makefile.in: Likewise.
9531 * gdb.fortran/Makefile.in: Likewise.
9532 * gdb.gdb/Makefile.in: Likewise.
9533 * gdb.go/Makefile.in: Likewise.
9534 * gdb.guile/Makefile.in: Likewise.
9535 * gdb.java/Makefile.in: Likewise.
9536 * gdb.linespec/Makefile.in: Likewise.
9537 * gdb.mi/Makefile.in: Likewise.
9538 * gdb.modula2/Makefile.in: Likewise.
9539 * gdb.multi/Makefile.in: Likewise.
9540 * gdb.objc/Makefile.in: Likewise.
9541 * gdb.opencl/Makefile.in: Likewise.
9542 * gdb.opt/Makefile.in: Likewise.
9543 * gdb.pascal/Makefile.in: Likewise.
9544 * gdb.perf/Makefile.in: Likewise.
9545 * gdb.python/Makefile.in: Likewise.
9546 * gdb.reverse/Makefile.in: Likewise.
9547 * gdb.server/Makefile.in: Likewise.
9548 * gdb.stabs/Makefile.in: Likewise.
9549 * gdb.threads/Makefile.in: Likewise.
9550 * gdb.trace/Makefile.in: Likewise.
9551 * gdb.xml/Makefile.in: Likewise.
9552 * lib/gdb.exp (make_gdb_parallel_path): Add check for
9554 (standard_output_file): Remove check for GDB_PARALLEL, always
9555 return path in outputs/$subdir/$testname.
9557 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
9559 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
9560 (site.exp): Assign abs_srcdir to tcl's srcdir.
9562 2016-02-04 Yao Qi <yao.qi@linaro.org>
9564 * gdb.base/foll-exec-mode.c: Include limits.h.
9565 (main): Add parameters argc and argv. Get directory from
9567 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
9569 * gdb.base/foll-exec.c: Include limits.h.
9570 (main): Add parameters argc and argv.
9571 Get directory from argv[0].
9572 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
9573 Adjust tests on the number of lines as source code changed.
9574 * gdb.base/foll-vfork-exit.c: Include limits.h.
9575 (main): Add one line of statement before vfork.
9576 * gdb.base/foll-vfork.c: Include limits.h and string.h.
9577 (main): Add parameters argc and argv. Get directory from
9579 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
9580 (setup_gdb): Set tbreak to skip some source lines.
9581 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
9582 (main): Add parameters argc and argv. Get directory from
9584 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
9586 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
9587 (main): Add parameters argc and argv. Get directory from
9589 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
9592 2016-02-01 Doug Evans <dje@google.com>
9594 * gdb.base/skip.exp: Clean up multiple references to same test name.
9596 2016-02-01 Pedro Alves <palves@redhat.com>
9599 * gdb.threads/forking-threads-plus-breakpoint.exp
9600 (displaced_stepping_supported): New global.
9601 (probe_displaced_stepping_support): New procedure.
9602 (do_test): Add 'displaced' parameter, and use it.
9603 (top level): Check for displaced stepping support. Add displaced
9604 stepping on/off testing axis.
9606 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9608 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
9609 pointer. Don't perform further tests on the unassociated pointer
9610 if the first test fails.
9612 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
9614 * gdb.base/max-value-size.c: New file.
9615 * gdb.base/max-value-size.exp: New file.
9616 * gdb.base/huge.exp: Disable max-value-size for this test.
9618 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
9620 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9622 2016-01-28 Yao Qi <yao.qi@linaro.org>
9624 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
9626 2016-01-25 Pedro Alves <palves@redhat.com>
9629 * gdb.base/fork-running-state.c: New file.
9630 * gdb.base/fork-running-state.exp: New file.
9632 2016-01-25 Pedro Alves <palves@redhat.com>
9635 * gdb.base/catch-fork-kill.c: New file.
9636 * gdb.base/catch-fork-kill.exp: New file.
9638 2016-01-25 Pedro Alves <palves@redhat.com>
9640 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
9641 Delete, moved to lib/gdb.exp.
9642 * gdb.threads/forking-threads-plus-breakpoint.exp
9643 (foreach_with_prefix): Likewise.
9644 * gdb.threads/process-dies-while-handling-bp.exp
9645 (foreach_with_prefix): Likewise.
9646 * lib/gdb.exp (foreach_with_prefix): New procedure.
9648 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
9650 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
9651 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
9653 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
9655 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
9658 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9659 Pedro Alves <palves@redhat.com>
9661 Fix testsuite compatibility with Guile.
9662 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
9665 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9667 Fix testsuite compatibility with Guile.
9668 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
9669 (thread 1): New test for backtrace through signal handler.
9671 2016-01-22 Yao Qi <yao.qi@linaro.org>
9674 * gdb.base/multi-forks.c: Include
9675 ../lib/unbuffer_output.c
9676 (main): Call gdb_unbuffer_output.
9678 2016-01-21 Doug Evans <dje@google.com>
9680 * lib/ada.exp (gdb_compile_ada): Fix typo.
9682 2016-01-21 Joel Brobecker <brobecker@adacore.com>
9684 * gdb.base/break-fun-addr.exp: New file.
9685 * gdb.base/break-fun-addr1.c: New file.
9686 * gdb.base/break-fun-addr2.c: New file.
9688 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
9690 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
9691 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
9694 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9696 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
9697 when GDB can not set the vector return value. Add more comments
9700 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
9702 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
9705 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9707 * Makefile.in (DO_RUNTEST): Add --status and update usages.
9709 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9711 * Makefile.in (check-single): Pass --status to runtest.
9712 (check/%.exp): Likewise.
9714 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
9716 * Makefile.in (check-parallel): Propagate return code from make
9719 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
9721 * gdb.trace/ftrace.exp: Fix expected message on continue.
9722 * gdb.trace/pending.exp: Fix expected message on continue.
9723 * gdb.trace/trace-break.exp: Fix expected message on continue.
9725 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
9727 * lib/gdb.exp (gdb_test): Remove unused global references.
9729 2016-01-18 Pedro Alves <palves@redhat.com>
9731 * gdb.base/async-shell.exp: Adjust expected output.
9732 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
9733 * gdb.base/siginfo-thread.exp: Adjust expected output.
9734 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
9735 * gdb.java/jnpe.exp: Adjust expected output.
9736 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
9737 * gdb.threads/continue-pending-status.exp: Adjust expected output.
9738 * gdb.threads/leader-exit.exp: Adjust expected output.
9739 * gdb.threads/manythreads.exp: Adjust expected output.
9740 * gdb.threads/pthreads.exp: Adjust expected output.
9741 * gdb.threads/schedlock.exp: Adjust expected output.
9742 * gdb.threads/siginfo-threads.exp: Adjust expected output.
9743 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
9745 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
9747 * gdb.threads/sigthread.exp: Adjust expected output.
9748 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
9750 2016-01-18 Yao Qi <yao.qi@linaro.org>
9752 * gdb.guile/scm-section-script.c: Replace @progbits with
9754 * gdb.python/py-section-script.c: Likewise.
9756 2016-01-15 Pedro Alves <palves@redhat.com>
9758 * gdb.multi/tids.exp: Test star wildcard ranges.
9760 2016-01-15 Pedro Alves <palves@redhat.com>
9762 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
9763 command from "thread apply" invocation.
9764 (thr_apply_info_thr_invalid): Default the expected output to the
9766 (top level): Add tests that use convenience variables. Add tests
9767 for "thread apply" with a valid TID list, but missing the command.
9769 2016-01-13 Pedro Alves <palves@redhat.com>
9771 * gdb.base/default.exp: Expect $_gthread as well.
9772 * gdb.multi/tids.exp: Test $_gthread.
9773 * gdb.threads/thread-specific.exp: Test $_gthread.
9775 2016-01-13 Pedro Alves <palves@redhat.com>
9777 * gdb.multi/tids.exp: Test "info threads -gid".
9779 2016-01-13 Pedro Alves <palves@redhat.com>
9781 * gdb.multi/tids.exp: Test InferiorThread.global_num and
9783 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
9785 2016-01-07 Pedro Alves <palves@redhat.com>
9787 * gdb.base/break.exp: Adjust to output changes.
9788 * gdb.base/hbreak2.exp: Likewise.
9789 * gdb.base/sepdebug.exp: Likewise.
9790 * gdb.base/watch_thread_num.exp: Likewise.
9791 * gdb.linespec/keywords.exp: Likewise.
9792 * gdb.multi/info-threads.exp: Likewise.
9793 * gdb.threads/thread-find.exp: Likewise.
9794 * gdb.multi/tids.c: New file.
9795 * gdb.multi/tids.exp: New file.
9797 2016-01-13 Pedro Alves <palves@redhat.com>
9799 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
9801 2016-01-13 Pedro Alves <palves@redhat.com>
9803 * gdb.base/default.exp: Expect $_inferior as well.
9804 * gdb.multi/base.exp: Test $_inferior.
9806 2016-01-13 Pedro Alves <palves@redhat.com>
9808 PR breakpoints/19388
9809 * gdb.base/catch-signal-siginfo-cond.c: New file.
9810 * gdb.base/catch-signal-siginfo-cond.exp: New file.
9812 2016-01-12 Josh Stone <jistone@redhat.com>
9813 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9815 * gdb.base/catch-syscall.c (do_execve): New variable.
9816 (main): Conditionally trigger an execve.
9817 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
9818 (test_catch_syscall_execve): New, check entry/return across execve.
9819 (do_syscall_tests): Call test_catch_syscall_execve.
9821 2016-01-12 Pedro Alves <palves@redhat.com>
9823 * gdb.base/random-signal.exp (do_test): New procedure, with body
9824 of testcase moved in.
9826 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9827 Pedro Alves <palves@redhat.com>
9829 * gdb.base/funcargs.exp (finish from indirectly called function):
9830 Reintroduce the case for 'First'.
9832 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9833 Pedro Alves <palves@redhat.com>
9835 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9836 (tcatch_vfork_then_child_follow_exec)
9837 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
9840 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9842 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
9843 and repeats to unlimited.
9844 * gdb.python/py-value.exp: Likewise.
9845 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
9846 and repeats to unlimited.
9848 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9850 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
9851 and reordering the functions.
9852 * gdb.multi/hangout.c: Likewise.
9853 * gdb.multi/hello.c: Likewise.
9855 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
9857 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
9859 (SingleStatisticTestResult.report): Use dict.keys instead of
9862 2016-01-06 Pedro Alves <palves@redhat.com>
9864 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
9866 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
9868 * gdb.btrace/dlopen.exp: New.
9869 * gdb.btrace/dlopen.c: New.
9870 * gdb.btrace/dlopen-dso.c: New.
9872 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
9874 * lib/gdb.exp (gdb_test): Update comments to clarify that the
9875 PATTERN argument is optional.
9877 2015-12-24 Joel Brobecker <brobecker@adacore.com>
9879 * lib/ada.exp (target_compile_ada_from_dir): New function.
9880 (gdb_compile_ada): Reimplement avoiding the use of project files.
9881 * gdb.ada/gnat_ada.gpr: Delete.
9882 * gdb.ada/cond_lang.exp: Adjust test to make path before
9884 * gdb.ada/small_reg_param.exp: Likewise.
9886 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
9888 * gdb.base/foll-vork.exp: Remove HP-UX special case.
9890 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
9892 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
9895 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
9897 * gdb.base/break.exp: Remove dead code.
9898 * gdb.base/sepdebug.exp: Likewise.
9900 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
9902 * gdb.asm/asm-source.exp: Remove HP-UX references.
9903 * gdb.base/annota1.exp: Likewise.
9904 * gdb.base/annota3.exp: Likewise.
9905 * gdb.base/attach.exp: Likewise.
9906 * gdb.base/bigcore.exp: Likewise.
9907 * gdb.base/break.exp: Likewise.
9908 * gdb.base/call-ar-st.exp: Likewise.
9909 * gdb.base/callfuncs.exp: Likewise.
9910 * gdb.base/catch-fork-static.exp: Likewise.
9911 * gdb.base/display.exp: Likewise.
9912 * gdb.base/foll-exec-mode.exp: Likewise.
9913 * gdb.base/foll-exec.exp: Likewise.
9914 * gdb.base/foll-fork.exp: Likewise.
9915 * gdb.base/foll-vfork.exp: Likewise.
9916 * gdb.base/funcargs.exp: Likewise.
9917 * gdb.base/hbreak2.exp: Likewise.
9918 * gdb.base/inferior-died.exp: Likewise.
9919 * gdb.base/interrupt.exp: Likewise.
9920 * gdb.base/multi-forks.exp: Likewise.
9921 * gdb.base/nodebug.exp: Likewise.
9922 * gdb.base/sepdebug.exp: Likewise.
9923 * gdb.base/solib1.c: Likewise.
9924 * gdb.base/step-test.exp: Likewise.
9925 * gdb.mi/non-stop.c: Likewise.
9926 * gdb.mi/pthreads.c: Likewise.
9927 * gdb.multi/bkpt-multi-exec.ex: Likewise.
9928 * gdb.threads/pthreads.c: Likewise.
9929 * gdb.threads/staticthreads.exp: Likewise.
9930 * lib/future.exp: Likewise.
9931 * lib/gdb.exp: Likewise.
9932 * gdb.base/so-indr-cl.c: Remove.
9933 * gdb.base/so-indr-cl.exp: Likewise.
9934 * gdb.base/solib.c: Likewise.
9935 * gdb.base/solib.exp: Likewise.
9936 * gdb.base/solib2.c: Likewise.
9938 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
9940 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
9941 * gdb.base/call-ar-st.exp: Likewise.
9942 * gdb.base/callfuncs.exp: Likewise.
9943 * gdb.base/condbreak.exp: Likewise.
9944 * gdb.base/constvars.exp: Likewise.
9945 * gdb.base/hbreak2.exp: Likewise.
9946 * gdb.base/langs.exp: Likewise.
9947 * gdb.base/list.exp: Likewise.
9948 * gdb.base/long_long.exp: Likewise.
9949 * gdb.base/ptype.exp: Likewise.
9950 * gdb.base/scope.exp: Likewise.
9951 * gdb.base/signals.exp: Likewise.
9952 * gdb.base/so-impl-ld.exp: Likewise.
9953 * gdb.base/varargs.exp: Likewise.
9954 * gdb.base/volatile.exp: Likewise.
9955 * gdb.base/whatis.exp: Likewise.
9956 * gdb.cp/cplusfuncs.exp: Likewise.
9957 * gdb.cp/inherit.exp: Likewise.
9958 * gdb.cp/local.exp: Likewise.
9959 * gdb.cp/member-ptr.exp: Likewise.
9960 * gdb.cp/method.exp: Likewise.
9961 * gdb.cp/overload.exp: Likewise.
9962 * gdb.cp/templates.exp: Likewise.
9963 * gdb.stabs/weird.exp: Likewise.
9964 * lib/compiler.c: Likewise.
9965 * lib/compiler.cc: Likewise.
9966 * lib/cp-support.exp: Likewise.
9967 * lib/gdb.exp: Likewise.
9969 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
9971 * configure.ac: Remove HP-UX case.
9972 * configure: Regenerate.
9974 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
9976 * lib/gdb.exp (gdb_compile): Add function doc.
9978 2015-12-17 Pedro Alves <palves@redhat.com>
9981 * gdb.multi/info-threads.exp: New file.
9983 2015-12-15 Yao Qi <yao.qi@linaro.org>
9985 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
9988 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9990 * gdb.base/history-duplicates.exp: Skip if no readline support.
9992 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9994 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
9996 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
9998 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
10000 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
10002 * gdb.base/completion.exp: Skip tests that interrupt GDB with
10003 ctrl-C if nointerrupts target property is set.
10004 * gdb.base/double-prompt-target-event-error.exp: Likewise.
10005 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
10006 * gdb.base/paginate-bg-execution.exp: Likewise.
10007 * gdb.base/paginate-execution-startup.exp: Likewise.
10008 * gdb.base/random-signal.exp: Likewise.
10009 * gdb.base/range-stepping.exp: Likewise.
10010 * gdb.cp/annota2.exp: Likewise.
10011 * gdb.cp/annota3.exp: Likewise.
10012 * gdb.gdb/selftest.exp: Likewise.
10013 * gdb.threads/continue-pending-status.exp: Likewise.
10014 * gdb.threads/leader-exit.exp: Likewise.
10015 * gdb.threads/manythreads.exp: Likewise.
10016 * gdb.threads/pthreads.exp: Likewise.
10017 * gdb.threads/schedlock.exp: Likewise.
10018 * gdb.threads/sigthread.exp: Likewise.
10020 2015-12-11 Don Breazeal <donb@codesourcery.com>
10022 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
10024 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
10025 * gdb.base/foll-exec.exp (main): Enable for target remote.
10026 * gdb.base/foll-fork.exp (main): Likewise.
10027 * gdb.base/foll-vfork.exp (main): Likewise.
10028 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
10029 (proc continue_to_exit_bp_loc): Use clean_restart.
10030 * gdb.base/pie-execl.exp (main): Disable for target remote.
10031 * gdb.base/watch-vfork.exp (main): Enable for target remote.
10032 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
10033 * gdb.threads/execl.exp (main): Likewise.
10034 * gdb.threads/fork-child-threads.exp (main): Likewise.
10035 * gdb.threads/fork-plus-threads.exp (main): Disable for target
10037 * gdb.threads/fork-thread-pending.exp (main): Enable for target
10039 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
10040 pid.tid style ptids, instead of just tid.
10041 * gdb.threads/thread-execl.exp (main): Enable for target remote.
10042 * gdb.threads/watchpoint-fork.exp (main): Likewise.
10043 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
10044 ptids, instead of just tid.
10046 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10048 * gdb.base/list.exp (test_list_forward): Add end of file error
10050 (test_repeat_list_command): Add end of file error test.
10051 (test_list_backwards): Add beginning of file error test.
10053 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10055 * gdb.base/list.exp (test_list_invalid_args): New function,
10056 defined, and called.
10058 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
10060 * gdb.base/list.exp (test_list): Make test names unique.
10062 2015-12-11 Yao Qi <yao.qi@linaro.org>
10064 * gdb.base/coremaker2.c: Remove.
10066 2015-12-10 Pedro Alves <palves@redhat.com>
10068 * gdb.multi/base.exp: Remove stale "spaces" references.
10070 2015-12-10 Pedro Alves <palves@redhat.com>
10072 * gdb.multi/base.exp: Don't use nowarnings.
10073 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
10074 * gdb.multi/hangout.c: Include stdio.h.
10075 * gdb.multi/hello.c: Include stdlib.h.
10076 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
10077 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
10078 * gdb.multi/multi-arch.exp: Don't use nowarnings.
10080 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
10082 * gdb.dwarf2/dw2-ranges-base.c: New file.
10083 * gdb.dwarf2/dw2-ranges-base.exp: New file.
10084 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
10085 support additional line table, and debug ranges generation.
10086 (Dwarf::ranges): New function, generate .debug_ranges.
10087 (Dwarf::lines): Support generating simple line table programs.
10088 (Dwarf::assemble): Initialise new namespace variables.
10090 2015-12-09 Kevin Buettner <kevinb@redhat.com>
10092 * gdb.base/async.exp (proc test_background): Add case for
10093 asynchronous execution not supported.
10095 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
10097 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
10098 format and change test names to make them unique.
10100 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
10101 Pedro Alves <pedro@redhat.com>
10104 Add checking of floatformats setup on x86_64 hosts.
10105 * gdb.arch/i386-float.S (main): Load bigval and smallval.
10106 (smallval, bigval): New labels/constants.
10107 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
10108 float" after loading bigval and smallval.
10110 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
10112 * gdb.ada/fun_overload_menu.exp: New testcase.
10113 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
10115 2015-12-04 Josh Stone <jistone@redhat.com>
10117 * gdb.base/catch-fork-static.exp: New.
10119 2015-12-03 Yao Qi <yao.qi@linaro.org>
10121 * gdb.base/sizeof.c: Don't include stdio.h and
10122 ../lib/unbuffer_output.c.
10123 (main): New variable 'size' and 'value'. Remove printf and
10124 gdb_unbuffer_output. Assign return value to size and value.
10125 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
10127 (check_sizeof): Check the result by printing variable 'size'.
10128 (check_valueof): Check the result by printing variable 'value'.
10130 2015-12-01 Yao Qi <yao.qi@linaro.org>
10132 * gdb.base/disp-step-syscall.exp: Define syscall instruction
10133 for aarch64*-*-linux* target.
10135 2015-11-30 Pedro Alves <palves@redhat.com>
10137 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
10139 2015-11-30 Pedro Alves <palves@redhat.com>
10141 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
10142 Handle non-stop mode vCont replies.
10144 2015-11-30 Pedro Alves <palves@redhat.com>
10146 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
10147 prepare_for_testing. Start gdb with "set non-stop on" appended to
10148 GDBFLAGS. Lax expected stop output.
10150 2015-11-27 Yao Qi <yao.qi@linaro.org>
10152 * gdb.arch/arm-neon.exp: New.
10153 * gdb.arch/arm-neon.c: New.
10155 2015-11-27 Yao Qi <yao.qi@linaro.org>
10157 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
10159 2015-11-27 Yao Qi <yao.qi@linaro.org>
10161 * gdb.cp/annota2.exp: Allow multiple occurrences of the
10162 frames-invalid annotation.
10164 2015-11-27 Yao Qi <yao.qi@linaro.org>
10166 * gdb.cp/annota2.exp: Use ${frames_invalid}.
10168 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
10170 * gdb.threads/names.exp: New file.
10171 * gdb.threads/names.c: New file.
10172 * README: Mention gdb,no_thread_names.
10174 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
10177 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
10180 2015-11-24 Pedro Alves <palves@redhat.com>
10183 * gdb.base/display.exp: Expect displays to be sorted in ascending
10184 order. Use multi_line.
10185 * gdb.base/solib-display.exp: Likewise.
10187 2015-11-24 Pedro Alves <palves@redhat.com>
10190 * gdb.base/display.exp: Expect displays to be sorted in ascending
10191 order. Use multi_line.
10192 * gdb.base/solib-display.exp: Likewise.
10194 2015-11-24 Pedro Alves <palves@redhat.com>
10197 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
10198 threads in ascending order.
10199 * gdb.base/foll-fork.exp: Likewise.
10200 * gdb.base/foll-vfork.exp: Likewise.
10201 * gdb.base/multi-forks.exp: Likewise.
10202 * gdb.mi/mi-nonstop.exp: Likewise.
10203 * gdb.mi/mi-nsintrall.exp: Likewise.
10204 * gdb.multi/base.exp: Likewise.
10205 * gdb.multi/multi-arch.exp: Likewise.
10206 * gdb.python/py-inferior.exp: Likewise.
10207 * gdb.threads/break-while-running.exp: Likewise.
10208 * gdb.threads/execl.exp: Likewise.
10209 * gdb.threads/gcore-thread.exp: Likewise.
10210 * gdb.threads/info-threads-cur-sal.exp: Likewise.
10211 * gdb.threads/kill.exp: Likewise.
10212 * gdb.threads/linux-dp.exp: Likewise.
10213 * gdb.threads/multiple-step-overs.exp: Likewise.
10214 * gdb.threads/next-bp-other-thread.exp: Likewise.
10215 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
10216 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
10217 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
10218 * gdb.threads/thread-find.exp: Likewise.
10219 * gdb.threads/tls.exp: Likewise.
10220 * lib/mi-support.exp (mi_reverse_list): Delete.
10221 (mi_check_thread_states): No longer reverse list.
10223 2015-11-24 Pedro Alves <palves@redhat.com>
10225 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
10228 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10230 * gdb.trace/actions.c: Include trace-common.h.
10231 (main): Add a location for a fast tracepoint.
10232 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
10233 the normal tracepoints.
10234 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
10236 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
10238 * save-trace.exp: Factor out code to these...
10239 (gdb_save_tracepoints): New.
10240 (gdb_load_tracepoints): New.
10241 (do_save_load_test): New.
10243 2015-11-23 Kevin Buettner <kevinb@redhat.com>
10245 * gdb.base/asmlabel.exp: New test.
10246 * gdb.base/asmlabel.c: New test case.
10248 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10250 * gdb.base/wrong_frame_bt_full-main.c: New file.
10251 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
10252 * gdb.base/wrong_frame_bt_full.exp: New file.
10254 2015-11-23 Joel Brobecker <brobecker@adacore.com>
10256 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
10258 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10260 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
10261 pstate register when comparing registers values in
10262 sparc64-*-linux-gnu targets to avoid spurious differences.
10264 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
10266 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
10268 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
10270 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
10271 as type argument to gdb_compile.
10272 * gdb.base/nested-subp2.exp: Likewise.
10273 * gdb.base/nested-subp3.exp: Likewise.
10275 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
10277 * lib/dwarf.exp (_note): Fix left shift of negative value.
10278 * gdb.trace/trace-condition.exp: Likewise.
10280 2015-11-13 Yao Qi <yao.qi@linaro.org>
10282 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
10283 comments about d10v.
10284 (test_scalar_returns): Likewise.
10285 * gdb.base/d10v.ld: Remove.
10286 * gdb.base/overlays.exp: Remove the target triplet checking for
10288 * gdb.base/structs.exp (test_struct_returns): Remove the
10289 comments about d10v.
10290 (test_struct_calls): Likewise.
10292 2015-11-13 Yao Qi <yao.qi@linaro.org>
10294 * gdb.base/gnu_vector.exp: Check the return value by "p res".
10295 * gdb.base/gnu_vector.c: Don't include stdio.h.
10296 (main): Don't print res and call add_some_intvecs.
10298 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
10300 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
10303 (func4): Use FAST_TRACEPOINT_LABEL.
10304 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
10307 (thread_function): Use FAST_TRACEPOINT_LABEL.
10308 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
10310 (marker): Use FAST_TRACEPOINT_LABEL.
10311 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
10312 (pendfunc1): Remove.
10313 (pendfunc): Use FAST_TRACEPOINT_LABEL.
10314 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
10316 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
10317 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
10320 (marker): Use FAST_TRACEPOINT_LABEL.
10321 * gdb.trace/trace-common.h: New header.
10322 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
10325 (marker): Use FAST_TRACEPOINT_LABEL.
10326 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
10328 (thread_function): Use FAST_TRACEPOINT_LABEL.
10330 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
10332 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
10334 * gdb.trace/change-loc.exp: Use global pcreg definition.
10335 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
10336 * gdb.trace/entry-values.exp: Use global spreg definition, add $
10338 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
10339 * gdb.trace/pending.exp: Likewise.
10340 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
10341 * gdb.trace/trace-break.exp: Likewise.
10342 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
10344 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
10345 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
10347 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
10349 2015-11-09 Joel Brobecker <brobecker@adacore.com>
10351 * gdb.ada/fin_fun_out: New testcase.
10353 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10355 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
10356 value associated with DW_AT_byte_size.
10357 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
10358 constants for DW_AT_byte_size, DW_AT_lower_bound, and
10361 2015-11-07 Kevin Buettner <kevinb@redhat.com>
10363 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
10364 (gdb_target_symbol_prefix_flags): Define in terms of _asm
10366 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
10367 gdb.dwarf2/dw2-canonicalize-type.exp,
10368 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
10369 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
10370 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
10371 provided by gdb_target_symbol_prefix_flags_asm.
10372 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
10373 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
10374 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
10375 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
10376 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
10377 macros where needed). Use this macro for symbols which require
10378 the prefix provided by SYMBOL_PREFIX.
10380 2015-11-05 Kevin Buettner <kevinb@redhat.com>
10382 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
10384 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
10385 representing expressions, of more than one list element.
10386 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
10387 to prepend linker symbol prefix to f.
10388 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
10389 table_1 and table_2.
10390 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
10391 Likewise, for f and g.
10392 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
10394 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
10396 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
10397 table_1_ptr and table_2_ptr.
10399 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10400 Joel Brobecker <brobecker@adacore.com>
10402 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
10404 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
10406 * gdb.reverse/s390-mvcle.c: New test.
10407 * gdb.reverse/s390-mvcle.exp: New file.
10408 * lib/gdb.exp: Enable reverse tests on s390*-linux.
10410 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10412 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
10414 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
10416 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
10418 * gdb.reverse/getresuid-reverse.exp: Likewise.
10419 * gdb.reverse/pipe-reverse.exp: Likewise.
10420 * gdb.reverse/readv-reverse.exp: Likewise.
10421 * gdb.reverse/recvmsg-reverse.exp: Likewise.
10422 * gdb.reverse/time-reverse.exp: Likewise.
10423 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
10425 2015-10-30 Yao Qi <yao.qi@linaro.org>
10427 * gdb.threads/wp-replication.c (watch_count_done): Remove.
10428 (empty_cycle): Remove.
10429 (main): Don't call empty_cycle. Don't use watch_count_done.
10430 * gdb.threads/wp-replication.exp: Don't set breakpoint on
10431 empty_cycle. Rewrite the code counting HW watchpoints.
10433 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
10435 * gdb.reverse/fstatat-reverse.c: New test.
10436 * gdb.reverse/fstatat-reverse.exp: New file.
10437 * gdb.reverse/getresuid-reverse.c: New test.
10438 * gdb.reverse/getresuid-reverse.exp: New file.
10439 * gdb.reverse/pipe-reverse.c: New test.
10440 * gdb.reverse/pipe-reverse.exp: New file.
10441 * gdb.reverse/readv-reverse.c: New test.
10442 * gdb.reverse/readv-reverse.exp: New file.
10443 * gdb.reverse/recvmsg-reverse.c: New test.
10444 * gdb.reverse/recvmsg-reverse.exp: New file.
10445 * gdb.reverse/time-reverse.c: New test.
10446 * gdb.reverse/time-reverse.exp: New file.
10447 * gdb.reverse/waitpid-reverse.c: New test.
10448 * gdb.reverse/waitpid-reverse.exp: New file.
10450 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10452 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
10454 2015-10-26 Doug Evans <dje@google.com>
10457 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
10458 * gdb.dwarf2/bad-regnum.c: New file.
10459 * gdb.dwarf2/bad-regnum.exp: New file.
10461 2015-10-26 Doug Evans <dje@google.com>
10464 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
10467 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10469 * gdb.compile/compile.exp (compile code globalvar): Update expectation
10470 for a change by "Mention language in compile error message".
10472 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
10475 * gdb.python/py-type.c (C::a_method): New.
10476 (C::a_const_method): New.
10477 (C::a_static_method): New.
10479 * gdb.python/py-type.exp (test_fields): Test getting fields
10480 from function and method.
10482 2015-10-21 Keven Boell <keven.boell@intel.com>
10484 * gdb.fortran/vla-alloc-assoc.exp: New file.
10485 * gdb.fortran/vla-datatypes.exp: New file.
10486 * gdb.fortran/vla-datatypes.f90: New file.
10487 * gdb.fortran/vla-history.exp: New file.
10488 * gdb.fortran/vla-ptype-sub.exp: New file.
10489 * gdb.fortran/vla-ptype.exp: New file.
10490 * gdb.fortran/vla-sizeof.exp: New file.
10491 * gdb.fortran/vla-sub.f90: New file.
10492 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
10493 * gdb.fortran/vla-value-sub-finish.exp: New file.
10494 * gdb.fortran/vla-value-sub.exp: New file.
10495 * gdb.fortran/vla-value.exp: New file.
10496 * gdb.fortran/vla-ptr-info.exp: New file.
10497 * gdb.mi/mi-vla-fortran.exp: New file.
10498 * gdb.mi/vla.f90: New file.
10500 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
10502 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
10503 of hardwired timeout value.
10505 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10506 Pedro Alves <palves@redhat.com>
10508 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
10509 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
10511 2015-10-19 Josh Stone <jistone@redhat.com>
10513 * gdb.base/catch-syscall.c: Include <sched.h>.
10514 (unknown_syscall): New variable.
10515 (main): Trigger a vfork and an unknown syscall.
10516 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
10517 (unknown_syscall_number): Likewise.
10518 (check_call_to_syscall): Accept an optional syscall pattern.
10519 (check_return_from_syscall): Likewise.
10520 (check_continue): Likewise.
10521 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
10522 (test_catch_syscall_skipping_return): New test toggling off 'catch
10523 syscall' to step over the syscall return, then toggling back on.
10524 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
10525 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
10526 (do_syscall_tests): Call test_catch_syscall_without_args and
10527 test_catch_syscall_mid_vfork.
10528 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
10529 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
10531 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
10533 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
10534 print g_vE): Add new pass patterns.
10535 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
10536 print various symbol names for vptr fields.
10538 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
10540 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
10543 2015-10-12 Yao Qi <yao.qi@linaro.org>
10545 * gdb.arch/disp-step-insn-reloc.exp: New test case.
10547 2015-10-12 Yao Qi <yao.qi@linaro.org>
10549 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
10550 is aarch64*-*-linux*.
10552 2015-10-12 Yao Qi <yao.qi@linaro.org>
10554 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
10555 (can_relocate_bcond_true): ... it.
10556 (can_relocate_bcond_false): New function.
10558 (can_relocate_bl): Likewise.
10559 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
10562 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
10564 * gdb.base/nested-addr.c: New file.
10565 * gdb.base/nested-addr.exp: New testcase.
10567 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
10569 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
10570 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
10571 its output. Ignore the output of "record goto begin" and instead
10572 check that GDB is replaying.
10574 2015-10-09 Pedro Alves <palves@redhat.com>
10576 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
10577 (top level): Use it in the run with no args test.
10579 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
10581 * gdb.dlang/properties.exp: New file.
10583 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
10585 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
10586 whether or not address 0x1000 is mapped on the target.
10588 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
10590 * gdb.python/py-type.exp: Do not run tests if binaries fail to
10593 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
10595 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
10596 instruction-history test.
10598 2015-09-28 Doug Evans <dje@google.com>
10600 * gdb.base/gcore.c (array_func): Add reference to static_array.
10602 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
10604 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
10607 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
10609 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
10610 short or char as base type.
10612 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
10614 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
10615 to allow any size enum.
10617 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
10619 * gdb.ada/array_ptr_renaming.exp: New testcase.
10620 * gdb.ada/array_ptr_renaming/foo.adb: New file.
10621 * gdb.ada/array_ptr_renaming/pack.ads: New file.
10623 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10625 * gdb.trace/ftrace-lock.c: New file.
10626 * gdb.trace/ftrace-lock.exp: New file.
10628 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10630 * gdb.arch/insn-reloc.c: New file.
10631 * gdb.arch/ftrace-insn-reloc.exp: New file.
10633 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
10635 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
10637 * gdb.trace/pendshr1.c (pendfunc): Likewise.
10638 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
10639 * gdb.trace/range-stepping.c: Likewise.
10640 * gdb.trace/trace-break.c: Likewise.
10641 * gdb.trace/trace-mt.c (thread_function): Likewise.
10642 * gdb.trace/ftrace.c (marker): Likewise.
10643 * gdb.trace/trace-condition.c (marker): Likewise.
10644 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
10645 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
10648 2015-09-18 Doug Evans <xdje42@gmail.com>
10650 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
10651 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
10653 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10655 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
10658 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10660 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
10661 the pending breakpoint. Remove timeout override for "Run till
10662 MI pending breakpoint on pendfunc3 on thread 2" test.
10664 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10666 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
10669 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10671 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
10672 in breakpoint filename pattern.
10674 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10676 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
10678 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
10680 * gdb.linespec/explicit.exp: Check for readline support for
10681 tab-completion tests. Fix obvious typo.
10683 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10685 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
10688 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
10690 * gdb.btrace/non-stop.c: New.
10691 * gdb.btrace/non-stop.exp: New.
10693 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
10694 Yao Qi <yao.qi@linaro.org>
10696 * gdb.trace/trace-condition.c: New file.
10697 * gdb.trace/trace-condition.exp: New file.
10699 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
10701 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
10702 for testing bytecode compilation.
10704 2015-09-16 Pedro Alves <palves@redhat.com>
10705 Sandra Loosemore <sandra@codesourcery.com>
10707 * gdb.threads/non-stop-fair-events.c (timeout): New global.
10708 (SECONDS): Redefine.
10709 (main): Call pthread_kill and alarm early.
10710 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
10712 (test): If the target can't hardware step and doesn't support
10713 displaced stepping, increase the timeout.
10715 2015-09-16 Pedro Alves <palves@redhat.com>
10717 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
10718 (enable_debug): New procedures.
10719 (test): Use them. Bail out if waiting for threads fails.
10720 (top level): Bail out if a test fails.
10722 2015-09-16 Yao Qi <yao.qi@linaro.org>
10724 * gdb.asm/asm-source.exp: Set asm-arch for
10725 aarch64*-*-* target.
10726 * gdb.asm/aarch64.inc: New file.
10728 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
10730 * gdb.ada/array_of_variable_length.exp: New testcase.
10731 * gdb.ada/array_of_variable_length/foo.adb: New file.
10732 * gdb.ada/array_of_variable_length/pck.adb: New file.
10733 * gdb.ada/array_of_variable_length/pck.ads: New file.
10735 2015-09-15 Doug Evans <dje@google.com>
10737 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
10738 of function static local variable.
10740 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10742 * gdb.threads/tls-so_extern.exp: New test file.
10743 * gdb.threads/tls-so_extern.c: New test file.
10744 * gdb.threads/tls-so_extern_main.c: New test file.
10746 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10748 * gdb.opt/solib-intra-step-lib.c: New file.
10749 * gdb.opt/solib-intra-step-main.c: New file.
10750 * gdb.opt/solib-intra-step.exp: New file.
10752 2015-09-15 Pedro Alves <palves@redhat.com>
10754 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
10755 gdb_continue_to_breakpoint instead of gdb_test_multiple.
10757 2015-09-14 Pedro Alves <palves@redhat.com>
10759 * gdb.base/hook-stop-continue.c: Delete.
10760 * gdb.base/hook-stop-continue.exp: Delete.
10761 * gdb.base/hook-stop-frame.c: Delete.
10762 * gdb.base/hook-stop-frame.exp: Delete.
10763 * gdb.base/hook-stop.c: New file.
10764 * gdb.base/hook-stop.exp: New file.
10766 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
10768 * gdb.ada/access_to_packed_array.exp: New testcase.
10769 * gdb.ada/access_to_packed_array/foo.adb: New file.
10770 * gdb.ada/access_to_packed_array/pack.adb: New file.
10771 * gdb.ada/access_to_packed_array/pack.ads: New file.
10773 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
10775 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
10778 2015-09-11 Don Breazeal <donb@codesourcery.com>
10780 * gdb.base/foll-exec.c: Add copyright header. Fix
10782 * gdb.base/foll-exec.exp (zap_session): Delete proc.
10783 (do_exec_tests): Use clean_restart in place of zap_session,
10784 and for test initialization. Fix formatting issues. Use
10785 fail in place of perror.
10786 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
10787 an expect statement to match an expression with output from
10788 the program under debug.
10789 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
10790 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
10791 * gdb.threads/non-ldr-exc-2.exp: Likewise.
10792 * gdb.threads/non-ldr-exc-3.exp: Likewise.
10793 * gdb.threads/non-ldr-exc-4.exp: Likewise.
10795 2015-09-09 Doug Evans <dje@google.com>
10797 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
10799 2015-09-09 Doug Evans <dje@google.com>
10801 * gdb.base/pie-execl.exp: Fix result test of build_executable.
10803 2015-09-09 Doug Evans <dje@google.com>
10805 * gdb.base/savedregs.exp: Fix typo.
10807 2015-09-09 Pedro Alves <palves@redhat.com>
10809 * gdb.mi/mi-cli.exp: Add CLI finish tests.
10811 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
10813 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
10814 command actually switches threads. Give up on remaining
10815 tests if target fails to stop at breakpoint.
10817 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
10819 * gdb.ada/funcall_char.exp: New testcase.
10820 * gdb.ada/funcall_char/foo.adb: New file.
10822 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
10824 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
10825 expected outputs. Add two testcases for completing ambiguous
10827 * gdb.ada/complete/aux_pck.adb: New file.
10828 * gdb.ada/complete/aux_pck.ads: New file.
10829 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
10830 Ambiguous_Func functions.
10831 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
10832 * gdb.ada/complete/pck.adb: Likewise.
10834 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
10836 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
10837 failures to run the test program under GDB.
10839 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
10841 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
10844 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
10846 * gdb.base/run-after-attach.exp: New test file.
10847 * gdb.base/run-after-attach.c: New test file.
10849 2015-08-26 Don Breazeal <donb@codesourcery.com>
10851 * gdb.base/foll-exec-2.c: New test program.
10852 * gdb.base/foll-exec-2.exp: New test.
10854 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
10856 * gdb.base/nested-subp1.exp: New file.
10857 * gdb.base/nested-subp1.c: New file.
10858 * gdb.base/nested-subp2.exp: New file.
10859 * gdb.base/nested-subp2.c: New file.
10860 * gdb.base/nested-subp3.exp: New file.
10861 * gdb.base/nested-subp3.c: New file.
10863 2015-08-24 Pedro Alves <palves@redhat.com>
10865 * gdb.server/connect-without-multi-process.c: New file.
10866 * gdb.server/connect-without-multi-process.exp: New file.
10868 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
10870 * gdb.opt/inline-markers.c: Make z int.
10872 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
10874 * gdb.opt/inline-markers.c: Make z volatile.
10876 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
10878 * gdb.opt/inline-bt.c: New volatile global z.
10879 * gdb.opt/inline-cmds.c: Likewise.
10880 * gdb.opt/inline-locals.c: Likewise.
10881 * gdb.opt/inline-markers.c: New extern global z.
10883 (inline_fn): Likewise.
10885 2015-08-24 Pedro Alves <palves@redhat.com>
10887 * config/m32r-stub.exp: Remove file.
10888 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
10889 * gdb.base/call-rt-st.exp: Likewise.
10890 * gdb.base/call-strs.exp: Likewise.
10891 * gdb.base/default.exp: Remove references to h8300-*-hms and
10893 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
10895 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
10897 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
10898 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
10899 and "return" use KFAIL when GDB can not read/write the vector
10902 2015-08-21 Gary Benson <gbenson@redhat.com>
10904 * gdb.trace/pending.exp: Cope with remote transfer warnings.
10906 2015-08-20 Pedro Alves <palves@redhat.com>
10908 * gdb.server/solib-list.exp: No longer expect an interior stop in
10911 2015-08-20 Pedro Alves <palves@redhat.com>
10913 * gdb.server/connect-stopped-target.c: New file.
10914 * gdb.server/connect-stopped-target.exp: New file.
10916 2015-08-20 Pedro Alves <palves@redhat.com>
10918 * gdb.dwarf2/comp-unit-lang.exp: New file.
10919 * gdb.dwarf2/comp-unit-lang.c: New file.
10921 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
10923 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
10924 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
10926 2015-08-19 Kevin Buettner <kevinb@redhat.com>
10928 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
10929 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
10931 2015-08-18 Doug Evans <dje@google.com>
10932 Adrian Sendroiu <adrian.sendroiu@freescale.com>
10934 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
10935 skip_python_tests. New arg prompt_regexp.
10936 (skip_python_tests): New function.
10937 * lib/mi-support.exp (mi_skip_python_tests): New function.
10938 * gdb.python/py-mi-objfile-gdb.py: New file.
10939 * gdb.python/py-mi-objfile.c: New file.
10940 * gdb.python/py-mi-objfile.exp: New file.
10942 2015-08-17 Keith Seitz <keiths@redhat.com>
10944 * gdb.linespec/explicit.exp: Move strace test from here ...
10945 * gdb.trace/strace.exp: ... to here.
10947 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
10949 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
10950 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
10952 2015-08-14 Doug Evans <xdje42@gmail.com>
10954 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
10955 inferior before selecting a new file.
10957 2015-08-14 Doug Evans <xdje42@gmail.com>
10959 * gdb.mi/mi-disassemble.exp: Update.
10960 * gdb.base/disasm-optim.S: New file.
10961 * gdb.base/disasm-optim.c: New file.
10962 * gdb.base/disasm-optim.h: New file.
10963 * gdb.base/disasm-optim.exp: New file.
10965 2015-08-14 Keith Seitz <keiths@redhat.com>
10967 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
10970 2015-08-13 Joel Brobecker <brobecker@adacore.com>
10972 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
10974 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
10976 * gdb.ada/fun_renaming.exp: New testcase.
10977 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
10978 * gdb.ada/fun_renaming/pack.adb: New file.
10979 * gdb.ada/fun_renaming/pack.ads: New file.
10981 2015-08-12 Keith Seitz <keiths@redhat.com>
10983 * gdb.base/dso2dso.exp: Pass basename of source file in call to
10984 gdb_get_line_number.
10986 2015-08-12 Joel Brobecker <brobecker@adacore.com>
10988 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
10989 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
10990 gdb.base/dso2dso.exp: New files.
10992 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
10993 Pedro Alves <palves@redhat.com>
10994 Keith Seitz <keiths@redhat.com>
10996 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
10999 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11001 * gdb.base/gdbhistsize-history.exp
11002 (test_histsize_history_setting): Use save_vars.
11003 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11005 (test_no_truncation_of_unlimited_history_file): Use save_vars.
11006 * gdb.base/readline.exp: Use save_vars.
11008 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
11010 * lib/gdb.exp (save_vars): New proc.
11012 2015-08-11 Keith Seitz <keiths@redhat.com>
11014 * gdb.base/help.exp: Update help_breakpoint_text.
11016 2015-08-11 Keith Seitz <keiths@redhat.com>
11018 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
11019 (at toplevel): Call test_explicit_breakpoints.
11020 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
11022 * lib/mi-support.exp (mi_make_breakpoint): Add support for
11023 breakpoint conditions, "-cond".
11025 2015-08-11 Keith Seitz <keiths@redhat.com>
11027 * gdb.linespec/3explicit.c: New file.
11028 * gdb.linespec/cpexplicit.cc: New file.
11029 * gdb.linespec/cpexplicit.exp: New file.
11030 * gdb.linespec/explicit.c: New file.
11031 * gdb.linespec/explicit.exp: New file.
11032 * gdb.linespec/explicit2.c: New file.
11033 * gdb.linespec/ls-errs.exp: Add explicit location tests.
11034 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
11035 before using in the matching pattern.
11036 Clarify that `prefix' is a regular expression.
11038 2015-08-11 Keith Seitz <keiths@redhat.com>
11040 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
11042 Add tests for missing ",FMT" and ",".
11044 2015-08-10 Doug Evans <dje@google.com>
11045 Keith Seitz <keiths@redhat.com>
11048 * gdb.base/completion.exp: Add location completer tests.
11050 2015-08-07 Pedro Alves <palves@redhat.com>
11052 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
11054 (top level): Run do_test with and without displaced stepping.
11056 2015-08-07 Pedro Alves <palves@redhat.com>
11058 * gdb.base/valgrind-disp-step.c: New file.
11059 * gdb.base/valgrind-disp-step.exp: New file.
11061 2015-08-07 Pedro Alves <palves@redhat.com>
11063 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
11065 (main): Add alarm. Run an infinite loop instead of calling
11067 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
11069 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
11071 (main): Add alarm. Run an infinite loop instead of calling
11073 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
11076 2015-08-07 Pedro Alves <palves@redhat.com>
11078 * gdb.base/checkpoint-ns.exp: New file.
11079 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
11082 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
11084 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
11085 * gdb.btrace/instruction_history.exp: Update.
11086 * gdb.btrace/tsx.exp: New.
11087 * gdb.btrace/tsx.c: New.
11089 2015-08-06 Pedro Alves <palves@redhat.com>
11091 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
11093 * gdb.reverse/until-precsave.exp: Bump timeouts.
11095 2015-08-06 Pedro Alves <palves@redhat.com>
11097 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
11099 2015-08-06 Pedro Alves <palves@redhat.com>
11102 * gdb.threads/process-dies-while-handling-bp.c: New file.
11103 * gdb.threads/process-dies-while-handling-bp.exp: New file.
11105 2015-08-06 Pedro Alves <palves@redhat.com>
11107 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
11108 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
11110 2015-08-05 Pedro Alves <palves@redhat.com>
11112 * gdb.threads/next-while-other-thread-longjmps.c: New file.
11113 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
11115 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
11117 * gdb.base/bp-permanent.exp: Report test as unsupported if
11118 the target cannot stop at the permanent breakpoint.
11120 2015-08-03 Doug Evans <dje@google.com>
11122 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
11125 2015-08-03 Doug Evans <dje@google.com>
11127 * Makefile.in (workers/%.worker, build-perf): New rule.
11128 (GDB_PERFTEST_MODE): New variable.
11129 (check-perf): Use it.
11130 (clean): Clean up gdb.perf parallel build subdirs.
11131 * lib/build-piece.exp: New file.
11132 * lib/gdb.exp (make_gdb_parallel_path): New function
11133 (standard_output_file, standard_temp_file): Call it.
11134 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11136 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
11138 2015-08-03 Doug Evans <dje@google.com>
11140 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
11141 (LOG_FILE_NAME): New global.
11142 (TextReporter.__init__): Initialize self.txt_sum.
11143 (TextReporter.report): Add support for multiple data-points.
11144 Move report to perftest.sum, put raw data in perftest.log.
11145 (TextReporter.start): Open sum and log files.
11146 (TextReporter.end): Close sum and log files.
11147 * gdb.perf/lib/perftest/testresult.py
11148 (SingleStatisticTestResult.record): Handle multiple data-points.
11150 2015-07-31 Pedro Alves <palves@redhat.com>
11152 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
11153 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11154 kill_wait_spawned_process instead of explicit "kill -9".
11155 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
11156 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11157 kill_wait_spawned_process.
11158 * gdb.base/attach-twice.exp: Likewise.
11159 * gdb.base/attach.exp: Likewise.
11160 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
11162 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
11163 returning a spawn id instead of a pid. Use spawn_id_get_pid and
11164 kill_wait_spawned_process.
11165 * gdb.base/valgrind-infcall.exp: Likewise.
11166 * gdb.multi/multi-attach.exp: Likewise.
11167 * gdb.python/py-prompt.exp: Likewise.
11168 * gdb.python/py-sync-interp.exp: Likewise.
11169 * gdb.server/ext-attach.exp: Likewise.
11170 * gdb.threads/attach-into-signal.exp (corefunc): Use
11171 spawn_wait_for_attach, spawn_id_get_pid and
11172 kill_wait_spawned_process.
11173 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
11174 spawn_wait_for_attach returning a spawn id instead of a pid. Use
11175 spawn_id_get_pid and kill_wait_spawned_process.
11176 * gdb.threads/attach-stopped.exp (corefunc): Use
11177 spawn_wait_for_attach, spawn_id_get_pid and
11178 kill_wait_spawned_process.
11179 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
11180 Use spawn_id_get_pid. Wait for spawn id after eof. Use
11181 kill_wait_spawned_process instead of explicit "kill -9".
11182 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
11183 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
11184 (spawn_wait_for_attach): Use spawn instead of exec to spawn
11185 processes. Don't map cygwin/windows pids here. Now returns a
11188 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11190 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
11191 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
11194 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11196 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
11198 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
11201 2014-05-21 Mark Wielaard <mjw@redhat.com>
11203 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
11205 2015-07-30 Pedro Alves <palves@redhat.com>
11207 * linux-low.c (handle_extended_wait): Set the child's last
11208 reported status to TARGET_WAITKIND_STOPPED.
11210 2015-07-30 Pedro Alves <palves@redhat.com>
11213 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
11214 only shows inferior 1.
11216 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
11217 Pedro Alves <palves@redhat.com>
11220 * gdb.threads/fork-plus-threads.c: New file.
11221 * gdb.threads/fork-plus-threads.exp: New file.
11223 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11225 * gdb.base/batch-preserve-term-settings.exp
11226 (test_terminal_settings_preserved_after_cli_exit): Use
11229 2015-07-29 Pedro Alves <palves@redhat.com>
11230 Don Breazeal <donb@codesourcery.com>
11232 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
11233 output from both inferior_spawn_id and gdb_spawn_id.
11235 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11237 * gdb.threads/attach-into-signal.exp (corefunc): Use
11238 with_test_prefix on nested loops, uniquefying the test messages.
11240 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
11242 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
11245 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11247 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
11249 (test_terminal_settings_preserved_after_sigterm): New test.
11251 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11253 * gdb.base/batch-preserve-term-settings.exp
11254 (test_terminal_settings_preserved_after_cli_exit): New test.
11256 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
11258 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
11259 manipulation of saved_gdbflags.
11260 (test_terminal_settings_preserved): Remove global declaration of
11261 the unused variable pagination_prompt. Remove manipulation of
11262 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
11265 2015-07-29 Pedro Alves <palves@redhat.com>
11267 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
11269 2015-07-29 Pedro Alves <palves@redhat.com>
11271 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
11274 2015-07-29 Pedro Alves <palves@redhat.com>
11276 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
11277 (main): Call gdb_unbuffer_output.
11278 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
11279 (main): Call gdb_unbuffer_output.
11280 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
11281 (main): Call gdb_unbuffer_output.
11282 * gdb.base/call-strs.exp: Adjust to step over the
11283 gdb_unbuffer_output call.
11284 * gdb.base/catch-gdb-caused-signals.c: Include
11285 "../lib/unbuffer_output.c".
11286 (main): Call gdb_unbuffer_output.
11287 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
11288 (main): Call gdb_unbuffer_output.
11289 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
11290 (main): Call gdb_unbuffer_output.
11291 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
11292 (main): Call gdb_unbuffer_output.
11293 * gdb.base/shlib-call.exp: Adjust to step over the
11294 gdb_unbuffer_output call.
11295 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
11296 (main): Call gdb_unbuffer_output.
11297 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
11298 (main): Call gdb_unbuffer_output.
11299 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
11300 (main): Rename to ...
11302 (main): Reimplement.
11303 * gdb.base/varargs.exp: Run to test instead of to main.
11304 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11305 (main): Call gdb_unbuffer_output.
11307 2015-07-29 Pedro Alves <palves@redhat.com>
11309 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
11310 factore out from mi_continue_dprintf. For call-style dprintfs,
11311 expect dprintf output out of $inferior_spawn_id.
11312 (mi_continue_dprintf): Use mi_expect_dprintf.
11313 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
11314 (main): Call gdb_unbuffer_output.
11316 2015-07-29 Pedro Alves <palves@redhat.com>
11318 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
11319 (default_mi_gdb_start): Set inferior_spawn_id instead of
11320 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
11322 (mi_gdb_test): Always expect inferior output from both
11323 $inferior_spawn_id and $gdb_spawn_id.
11325 2015-07-29 Pedro Alves <palves@redhat.com>
11327 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
11328 send_inferior and $inferior_spawn_id.
11330 2015-07-29 Pedro Alves <palves@redhat.com>
11332 * gdb.gdb/complaints.exp (test_initial_complaints)
11333 (test_serial_complaints, test_short_complaints): Use
11335 (test_empty_complaint): Handle $inferior_spawn_id !=
11338 2015-07-29 Pedro Alves <palves@redhat.com>
11340 * gdb.base/varargs.exp: Use gdb_test_stdio.
11342 2015-07-29 Pedro Alves <palves@redhat.com>
11344 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
11346 2015-07-29 Pedro Alves <palves@redhat.com>
11348 * gdb.base/ending-run.exp: Use gdb_test_stdio.
11350 2015-07-29 Pedro Alves <palves@redhat.com>
11352 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
11353 parameter into two new parameters, "inf_result" and "gdb_result".
11354 Expect inferior output and gdb output from $inferior_spawn_id and
11355 $gdb_spawn_id, respectively. Adjust all callers.
11357 2015-07-29 Pedro Alves <palves@redhat.com>
11359 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
11360 of gdb_test_sequence.
11362 2015-07-29 Pedro Alves <palves@redhat.com>
11364 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
11365 (saw_spurious_output): Expect inferior output from
11366 $inferior_spawn_id. Use gdb_test_stdio.
11368 2015-07-29 Pedro Alves <palves@redhat.com>
11370 * gdb.base/dprintf.exp: Use standard_testfile. Change
11371 prepare_for_testing call.
11372 (srcfile): Don't set.
11373 (restart): New procedure.
11374 (test_dprintf): New procecure, use to continue over dprintfs.
11375 (test_call, test_agent): New procedures, tests moved here.
11376 Restart gdb and recreate dprintfs. Adjust expected output.
11378 2015-07-29 Pedro Alves <palves@redhat.com>
11380 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
11382 2015-07-29 Pedro Alves <palves@redhat.com>
11384 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
11386 2015-07-29 Pedro Alves <palves@redhat.com>
11388 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
11391 2015-07-29 Pedro Alves <palves@redhat.com>
11393 * lib/gdb.exp (gdb_test_stdio): New procedure.
11395 2015-07-29 Pedro Alves <palves@redhat.com>
11397 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
11399 2015-07-29 Pedro Alves <palves@redhat.com>
11401 * gdb.base/call-signal-resume.exp: Remove check for
11402 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
11403 * gdb.base/unwindonsignal.exp: Likewise.
11404 * gdb.base/call-signals.c (gen_signal): Remove printf call.
11405 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
11407 2015-07-29 Pedro Alves <palves@redhat.com>
11409 * gdb.base/siginfo-addr.c (pass): New function.
11410 (handler): Call it iff si_addr is correct.
11411 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
11412 Set a breakpoint at "pass" and continue to it.
11414 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
11416 * gdb.python/py-objfile.exp: Make some tests have unique names.
11417 * gdb.python/py-pp-registration.exp: Likewise.
11419 2015-07-28 Pedro Alves <palves@redhat.com>
11421 * gdb.server/server-exec-info.exp: Issue a "disconnect".
11423 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11425 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
11427 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
11429 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
11431 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
11433 * gdb.base/gdb-sigterm-2.exp: New test.
11435 2015-07-25 Doug Evans <xdje42@gmail.com>
11438 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11439 (workers/%.worker, build-perf): New rule.
11440 (GDB_PERFTEST_MODE): New variable.
11441 (check-perf): Use it.
11442 (clean): Clean up gdb.perf parallel build subdirs.
11443 * lib/build-piece.exp: New file.
11444 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11445 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11447 (standard_temp_file): Ditto.
11448 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11451 2015-07-24 Doug Evans <dje@google.com>
11453 * gdb.perf/lib/perftest/utils.py: New file.
11454 * gdb.perf/gm-hello.cc: New file.
11455 * gdb.perf/gm-pervasive-typedef.cc: New file.
11456 * gdb.perf/gm-pervasive-typedef.h: New file.
11457 * gdb.perf/gm-std.cc: New file.
11458 * gdb.perf/gm-std.h: New file.
11459 * gdb.perf/gm-use-cerr.cc: New file.
11460 * gdb.perf/gm-utils.h: New file.
11461 * gdb.perf/gmonster-null-lookup.py: New file.
11462 * gdb.perf/gmonster-pervasive-typedef.py: New file.
11463 * gdb.perf/gmonster-print-cerr.py: New file.
11464 * gdb.perf/gmonster-ptype-string.py: New file.
11465 * gdb.perf/gmonster-runto-main.py: New file.
11466 * gdb.perf/gmonster-select-file.py: New file.
11467 * gdb.perf/gmonster1-null-lookup.exp: New file.
11468 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
11469 * gdb.perf/gmonster1-print-cerr.exp: New file.
11470 * gdb.perf/gmonster1-ptype-string.exp: New file.
11471 * gdb.perf/gmonster1-runto-main.exp: New file.
11472 * gdb.perf/gmonster1-select-file.exp: New file.
11473 * gdb.perf/gmonster1.cc: New file.
11474 * gdb.perf/gmonster1.exp: New file.
11475 * gdb.perf/gmonster2-null-lookup.exp: New file.
11476 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
11477 * gdb.perf/gmonster2-print-cerr.exp: New file.
11478 * gdb.perf/gmonster2-ptype-string.exp: New file.
11479 * gdb.perf/gmonster2-runto-main.exp: New file.
11480 * gdb.perf/gmonster2-select-file.exp: New file.
11481 * gdb.perf/gmonster2.cc: New file.
11482 * gdb.perf/gmonster2.exp: New file.
11484 2015-07-24 Doug Evans <dje@google.com>
11486 * gdb.perf/README: New file.
11487 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
11488 * lib/gen-perf-test.exp: New file.
11490 2015-07-24 Doug Evans <dje@google.com>
11492 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
11493 (PerfTest::startup): New function.
11494 (PerfTest::run): Return result of calling body.
11495 (PerfTest::assemble): Rewrite.
11496 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
11497 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
11498 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
11499 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
11500 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
11502 2015-07-24 Doug Evans <dje@google.com>
11504 * lib/gdb.exp (clean_restart): Make executable optional.
11506 2015-07-24 Doug Evans <dje@google.com>
11508 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
11509 compiler_info references.
11510 * gdb.cp/temargs.exp: Ditto.
11511 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
11512 (get_compiler_info): Early exit if already computed. Set compiler_info
11513 to "unknown" if there was a problem.
11514 (test_compiler_info): Add function comment. Call get_compiler_info.
11516 2015-07-24 Doug Evans <dje@google.com>
11518 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
11519 (workers/%.worker, build-perf): New rule.
11520 (GDB_PERFTEST_MODE): New variable.
11521 (check-perf): Use it.
11522 (clean): Clean up gdb.perf parallel build subdirs.
11523 * lib/build-piece.exp: New file.
11524 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
11525 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
11527 (standard_temp_file): Ditto.
11528 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
11531 2015-07-24 Doug Evans <dje@google.com>
11533 * lib/future.exp (gdb_default_target_compile): New option
11535 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
11538 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
11540 * gdb.base/catch-syscall.exp: Call gdb_exit before
11543 2015-07-24 Pedro Alves <palves@redhat.com>
11545 * gdb.python/py-events.exp: Accept output between the stop event
11547 * gdb.python/py-evsignal.exp: Likewise.
11548 * gdb.python/py-evthreads.exp: Likewise.
11550 2015-07-24 Pedro Alves <palves@redhat.com>
11553 * gdb.threads/non-ldr-exit.c: New file.
11554 * gdb.threads/non-ldr-exit.exp: New file.
11556 2015-07-24 Yao Qi <yao.qi@linaro.org>
11558 * gdb.server/ext-wrapper.exp: Test --wrapper option when
11559 restarting process.
11561 2015-07-24 Yao Qi <yao.qi@linaro.org>
11563 * gdb.server/ext-restart.exp: New file.
11565 2015-07-24 Yao Qi <yao.qi@linaro.org>
11567 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
11569 * gdb.server/ext-wrapper.exp: New file.
11571 2015-07-23 Doug Evans <dje@google.com>
11573 * gdb.dwarf2/dw2-dummy-cu.S: New file.
11574 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
11576 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
11578 * gdb.ada/var_arr_typedef.exp: New testcase.
11579 * gdb.ada/var_arr_typedef/pack.adb: New file.
11580 * gdb.ada/var_arr_typedef/pack.ads: New file.
11581 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
11583 2015-07-20 Joel Brobecker <brobecker@adacore.com>
11585 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
11587 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11589 * gdb.arch/i386-biarch-core.exp: Replace istarget
11590 by "complete set gnutarget". Remove expectation for the "core-file"
11593 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11595 Revert the previous commit:
11596 Tests for validate symbol file using build-id.
11598 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
11600 Tests for validate symbol file using build-id.
11601 * gdb.base/solib-mismatch-lib.c: New file.
11602 * gdb.base/solib-mismatch-libmod.c: New file.
11603 * gdb.base/solib-mismatch.c: New file.
11604 * gdb.base/solib-mismatch.exp: New file.
11606 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
11608 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
11610 * gdb.base/sigbpt.exp (stepi_out): Likewise.
11611 * gdb.base/siginfo.exp: Likewise.
11612 * gdb.base/sigstep.exp (advance, advancei): Likewise.
11614 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
11616 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
11618 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
11620 * gdb.trace/range-stepping.exp: Check that the target supports
11623 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11625 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
11627 2015-07-14 Pedro Alves <palves@redhat.com>
11629 * gdb.base/killed-outside.exp: New file.
11630 * gdb.base/killed-outside.c: New file.
11632 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11634 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
11636 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
11638 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11640 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
11641 infcall tests instead of setting up for KFAIL.
11643 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
11645 * gdb.btrace/record_goto-step.exp: New.
11647 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11650 * gdb.compile/compile.c (struct struct_type): Add volatile to
11652 * gdb.compile/compile.exp
11653 (compile code struct_object.selffield = &struct_object): Skip further
11654 struct_object tests if this one xfails.
11656 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
11659 * gdb.trace/ax.exp: Add test.
11661 2015-07-07 Yao Qi <yao.qi@linaro.org>
11663 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
11664 instead of istarget "aarch64*-*-*".
11665 * gdb.arch/aarch64-fp.exp: Likewise.
11666 * gdb.base/float.exp: Likewise.
11667 * gdb.reverse/aarch64.exp: Likewise.
11668 * lib/gdb.exp (is_aarch64_target): New proc.
11670 2015-07-07 Yao Qi <yao.qi@linaro.org>
11672 * lib/gdb.exp (is_aarch32_target): New proc.
11673 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
11674 instead of "istarget "arm*-*-*"".
11675 * gdb.arch/arm-disp-step.exp: Likewise.
11676 * gdb.arch/thumb-bx-pc.exp: Likewise.
11677 * gdb.arch/thumb-prologue.exp: Likewise.
11678 * gdb.arch/thumb-singlestep.exp: Likewise.
11679 * gdb.base/disp-step-syscall.exp: Likewise.
11680 * gdb.base/float.exp: Likewise.
11682 2015-07-07 Yao Qi <yao.qi@linaro.org>
11684 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
11685 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
11687 2015-07-07 Yao Qi <yao.qi@linaro.org>
11689 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
11690 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
11692 * gdb.multi/multi-arch.exp: Likewise.
11694 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
11696 * gdb.python/py-lazy-string.exp: Add missing parentheses to
11699 2015-07-07 Yao Qi <yao.qi@linaro.org>
11701 * gdb.arch/thumb-singlestep.exp: Do one more single step.
11703 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
11705 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
11706 '[' and ']' characters.
11708 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
11710 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
11712 2015-06-29 Pedro Alves <palves@redhat.com>
11715 * gdb.threads/hand-call-new-thread.c: New file.
11716 * gdb.threads/hand-call-new-thread.c: New file.
11718 2015-06-26 Keith Seitz <keiths@redhat.com>
11719 Doug Evans <dje@google.com>
11722 * gdb.cp/var-tag-2.cc: New file.
11723 * gdb.cp/var-tag-3.cc: New file.
11724 * gdb.cp/var-tag-4.cc: New file.
11725 * gdb.cp/var-tag.cc: New file.
11726 * gdb.cp/var-tag.exp: New file.
11728 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
11730 * gdb.base/history-duplicates.exp: New test.
11732 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
11734 * gdb.base/completion.exp: Test the completion of the "focus"
11737 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11739 * gdb.arch/amd64-prologue-skip.S: New file.
11740 * gdb.arch/amd64-prologue-skip.exp: New file.
11742 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
11744 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
11745 is_address_zero_readable check.
11747 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
11749 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
11750 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
11752 2015-06-24 Yao Qi <yao.qi@linaro.org>
11754 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
11757 2015-06-24 Yao Qi <yao.qi@linaro.org>
11759 * lib/gdb.exp (supports_get_siginfo_type): New proc.
11760 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
11761 * gdb.base/siginfo-thread.exp: Likewise.
11763 2015-06-22 Yao Qi <yao.qi@linaro.org>
11765 * boards/remote-gdbserver-on-localhost.exp: Add comments.
11767 2015-06-22 Yao Qi <yao.qi@linaro.org>
11769 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
11771 (skip_hw_watchpoint_tests): Likewise.
11773 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
11775 * gdb.base/gdbinit-history.exp: Test the interaction between
11776 setting GDBHISTSIZE and setting the history size via .gdbinit.
11778 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11781 * gdb.base/gdbhistsize-history.exp: New test.
11783 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11785 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
11787 * gdb.base/readline.exp: Likewise.
11789 2015-06-17 Yao Qi <yao.qi@linaro.org>
11791 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
11794 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
11796 * gdb.base/gdbinit-history.exp: Add test case to check that
11797 an unlimited history file does not get truncated on exit.
11799 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11801 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
11802 (VECTOR): New macro. Use it...
11803 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
11804 ...for these typedefs.
11805 (int8, char1, int1, double1): New typedefs.
11806 (struct just_int2, struct two_int2): New structures.
11807 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
11808 (add_structvecs, add_singlevecs): New functions.
11809 (main): Call add_some_intvecs twice.
11810 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
11811 the compile and exit upon failure. Try compiling for the "native"
11812 architecture. Test inferior function calls with vector arguments
11813 and vector return value handling with "finish" and "return".
11815 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
11817 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
11818 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
11820 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
11822 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
11824 PR breakpoints/16465
11825 * gdb.mi/mi-dprintf-pending.c: New file.
11826 * gdb.mi/mi-dprintf-pending.exp: New test.
11827 * gdb.mi/mi-dprintf-pendshr.c: New file.
11829 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11830 Mircea Gherzan <mircea.gherzan@intel.com>
11832 * gdb.arch/i386-mpx-map.c: New file.
11833 * gdb.arch/i386-mpx-map.exp: New File.
11835 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11837 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
11838 * gdb.arch/i386-mpx.exp: Indentation fixed.
11840 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11842 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
11843 function and improved indentation.
11844 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
11845 gdb_test_multiple. Added additional tests to skip the test.
11847 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
11849 * gdb.arch/i386-avx512.c: Change path in include file.
11850 * gdb.arch/i386-avx512.exp: Change include dir path
11852 * gdb.arch/i386-mpx.c: Change path in include file.
11853 * gdb.arch/i386-mpx.exp: Change include dir path compilation
11856 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
11858 * gdb.compile/compile-print.exp (compile print *vararray@3)
11859 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
11861 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11863 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
11864 (do not keep jit in memory): ... this.
11865 (expect 5): Change it to ...
11866 (expect no 5): ... this.
11868 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
11871 * gdb.mi/mi-detach.exp: New file.
11873 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11876 * gdb.arch/amd64-tailcall-self.S: New file.
11877 * gdb.arch/amd64-tailcall-self.c: New file.
11878 * gdb.arch/amd64-tailcall-self.exp: New file.
11880 2015-05-28 Don Breazeal <donb@codesourcery.com>
11882 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
11883 tests for remote targets by checking is_target_gdbserver.
11885 2015-05-27 Doug Evans <dje@google.com>
11887 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
11888 * gdb.dwarf2/opaque-type-lookup.c: New file.
11889 * gdb.dwarf2/opaque-type-lookup.exp: New file.
11891 2015-05-26 Doug Evans <dje@google.com>
11893 * gdb.cp/iostream.cc: New file.
11894 * gdb.cp/iostream.exp: New file.
11896 2015-05-26 Doug Evans <dje@google.com>
11898 * gdb.dwarf2/dw2-op-call.exp: Update.
11899 * gdb.dwarf2/dw4-sig-types.exp: Update.
11900 * gdb.dwarf2/implptr.exp: Update.
11901 * gdb.mi/mi-cmd-param-changed.exp: Update.
11903 2015-05-26 Doug Evans <dje@google.com>
11905 * gdb.python/py-lazy-string.c: New file.
11906 * gdb.python/py-lazy-string.exp: New file.
11907 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
11908 (main): Update. Add estring3.
11909 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
11910 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
11912 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
11913 Yao Qi <yao.qi@linaro.org>
11915 * gdb.reverse/aarch64.c: New.
11916 * gdb.reverse/aarch64.exp: New.
11918 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
11920 * lib/gdb.exp (supports_process_record): Return true for
11922 (supports_reverse): Likewise.
11924 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
11926 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11927 Use with_test_prefix.
11929 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
11931 * gdb.base/completion.exp: Add test for completion of layout
11934 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
11936 * lib/gdb.exp (skip_tui_tests): New proc.
11937 * gdb.base/tui-layout.exp: Check skip_tui_tests.
11939 2015-05-19 Pedro Alves <palves@redhat.com>
11941 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
11942 Save the whole env array instead of just HOME. Unset HISTSIZE in
11943 the environment while testing. Restore whole environment
11946 2015-05-16 Doug Evans <xdje42@gmail.com>
11948 * gdb.guile/scm-ports.c: New file.
11949 * gdb.guile/scm-ports.exp: Add memory port tests.
11951 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11953 * gdb.compile/compile-print.c: New file.
11954 * gdb.compile/compile-print.exp: New file.
11956 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11958 * gdb.compile/compile-ops.exp: Cast param to void.
11959 * gdb.compile/compile.exp: Complete type for _gdb_expr.
11960 (compile code struct_object.selffield = &struct_object): Add xfail.
11962 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11964 * gdb.ada/arr_enum_with_gap: New testcase.
11966 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11968 * gdb.ada/byte_packed_arr: New testcase.
11970 2015-05-15 Joel Brobecker <brobecker@adacore.com>
11972 * gdb.ada/pckd_neg: New testcase.
11974 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
11977 * gdb.base/gdbinit-history.exp: New test.
11978 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
11979 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
11981 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
11983 * gdb.python/py-xmethods.cc: Enhance test case.
11984 * gdb.python/py-xmethods.exp: New tests.
11985 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
11987 (B_indexoper): Likewise.
11988 (global_dm_list) : Add new xmethod worker functions.
11990 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
11992 * gdb.base/coredump-filter.exp: Correctly unset
11993 "coredump_var_addr" array.
11995 2015-05-08 Pedro Alves <palves@redhat.com>
11997 * gdb.server/non-existing-program.exp: Unset spawn_id.
11999 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
12002 * gdb.python/py-xmethods.exp: Add tests.
12004 2015-05-08 Yao Qi <yao.qi@linaro.org>
12007 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
12008 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
12009 function set_coredump_filter, and remove remote_exec call.
12010 Remove argument ipid. Callers update.
12011 (top level): Don't get inferior's PID.
12013 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
12015 * gdb.base/watch_thread_num.exp: Skip test on targets without
12016 access watchpoints.
12018 2015-05-06 Pedro Alves <palves@redhat.com>
12021 * gdb.server/non-existing-program.exp: New file.
12023 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12025 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
12027 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12029 * gdb.ada/out_of_line_in_inlined: New testcase.
12031 2015-05-05 Joel Brobecker <brobecker@adacore.com>
12033 * gdb.ada/var_rec_arr: New testcase.
12035 2015-04-30 Yao Qi <yao.qi@linaro.org>
12037 * gdb.base/break-idempotent.exp: If
12038 skip_hw_watchpoint_multi_tests returns true, skip the tests
12039 on "rwatch" and "awatch".
12041 2015-04-30 Yao Qi <yao.qi@linaro.org>
12043 * gdb.base/relativedebug.exp: Invoke gdb command
12044 "info sharedlibrary", and if libc.so doesn't have debug info,
12047 2015-04-29 Doug Evans <dje@google.com>
12049 * gdb.python/py-xmethods.exp: Add ptype tests.
12050 * gdb.python/py-xmethods.py (E_method_char_worker): Add
12051 get_result_type method.
12053 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12055 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
12056 the target does not support hardware watchpoints.
12058 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
12060 * gdb.base/break-always.exp: Abort testing if writing to memory
12063 2015-04-28 Doug Evans <dje@google.com>
12065 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
12066 * gdb.python/py-pp-registration.exp: ... here. New file.
12067 * gdb.python/py-pp-registration.c: New file.
12068 * gdb.python/py-pp-registration.py: New file.
12070 2015-04-28 Doug Evans <dje@google.com>
12072 * gdb.python/py-bad-printers.c: New file.
12073 * gdb.python/py-bad-printers.py: New file.
12074 * gdb.python/py-bad-printers.exp: New file.
12076 2015-04-28 Sasha Smundak <asmundak@google.com>
12078 * gdb.python/py-type.exp: New test.
12080 2015-04-28 Andy Wingo <wingo@igalia.com>
12082 * gdb.python/py-parameter.exp:
12083 * gdb.guile/scm-parameter.exp: Escape the path that we are
12084 matching against, as it might contain characters that are special
12085 to regular expressions.
12087 2015-04-27 Joel Brobecker <brobecker@adacore.com>
12089 * gdb.ada/rec_comp: New testcase.
12091 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
12093 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
12096 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
12098 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
12099 new tests for verilog output.
12101 2015-04-24 Yao Qi <yao.qi@linaro.org>
12103 * boards/remote-gdbserver-on-localhost.exp: New file.
12105 2015-04-23 Pedro Alves <palves@redhat.com>
12107 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
12108 $inferior_spawn_id instead of $inferior_spawn_id directly. On
12109 "end of file", remove $inferior_spawn_id from the indirect list.
12111 2015-04-23 Pedro Alves <palves@redhat.com>
12113 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
12115 2015-04-23 Pedro Alves <palves@redhat.com>
12117 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
12118 on $any_spawn_id instead of only on $gdb_spawn_id.
12120 2015-04-21 Pierre Muller <muller@sourceware.org>
12123 * lib/pascal.exp (gpc_compile): Add new option "class".
12124 (fpc_compile): Likewise.
12125 * gdb.pascal/case-insensitive-symbols.pas: New file.
12126 * gdb.pascal/case-insensitive-symbols.exp: New file.
12128 2015-04-20 Gary Benson <gbenson@redhat.com>
12130 * gdb.base/attach.exp: Fix three extended remote failures.
12132 2015-04-17 Gary Benson <gbenson@redhat.com>
12134 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
12135 the main executable over the remote protocol.
12137 2015-04-16 Pedro Alves <palves@redhat.com>
12139 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
12140 a new gdbserver if gdbserver_reconnect_p is set.
12142 2015-04-16 Pedro Alves <palves@redhat.com>
12144 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
12145 is set, don't exit gdbserver.
12147 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12149 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
12150 appropriate .insn, such that an older assembler can be used.
12151 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
12152 the z/Architecture instruction set on 31-bit targets as well.
12154 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
12156 * gdb.go/handcall.exp: Remove all logic related to the first
12157 breakpoint and rely on go_runto_main instead.
12158 * gdb.go/strings.exp: Likewise.
12159 * gdb.go/unsafe.exp: Likewise.
12160 * gdb.go/hello.exp: Likewise. Also rename the remaining
12161 breakpoint marker to "breakpoint 1".
12162 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
12163 * gdb.go/strings.go: Likewise.
12164 * gdb.go/unsafe.go: Likewise.
12165 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
12166 "set breakpoint 2 here" and rename the remaining breakpoint marker
12169 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
12171 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
12172 if itertools.imap is not present.
12173 * gdb.python/py-objfile.exp: Add parentheses.
12174 * gdb.python/py-type.exp: Same.
12175 * gdb.python/py-unwind-maint.py: Same.
12177 2015-04-15 Yao Qi <yao.qi@linaro.org>
12179 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
12180 of ":$ptr_size" and set its form explicitly.
12182 2015-04-15 Pedro Alves <palves@redhat.com>
12183 Yao Qi <yao.qi@linaro.org>
12185 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
12186 timeout by factor of 4.
12187 (test_regular_watch): Likewise.
12188 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
12189 * gdb.reverse/sigall-reverse.exp: Likewise.
12190 * gdb.reverse/until-precsave.exp: Likewise.
12191 * lib/gdb.exp (with_timeout_factor): New proc.
12192 (gdb_expect): Move some code to ...
12193 (get_largest_timeout): ... here. New procedure.
12195 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
12197 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
12199 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12201 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
12202 to write to the .text section.
12204 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
12206 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
12207 Handle the case of targets that do not provide PID information.
12209 2015-04-13 Yao Qi <yao.qi@linaro.org>
12211 * lib/gdbserver-support.exp (gdb_exit): Catch exception
12212 and use expect instead of gdb_expect.
12214 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
12216 * gdb.base/coredump-filter.exp: Rename variable "addr" to
12217 "coredump_var_addr" to avoid naming conflict with other testcases.
12219 2015-04-10 Pedro Alves <palves@redhat.com>
12221 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
12222 gdb_test_sequence and gdb_assert.
12224 2015-04-10 Pedro Alves <palves@redhat.com>
12226 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
12227 test messages that don't include the breakpoint address.
12229 2015-04-10 Yao Qi <yao.qi@linaro.org>
12231 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
12232 false for some offset and width combinations which aren't
12233 supported by linux kernel.
12235 2015-04-10 Pedro Alves <palves@redhat.com>
12237 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
12238 procedure, factored out from ...
12239 (top level): ... here. Add "set displaced-stepping" testing axis.
12240 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
12241 parameter "displaced". Use it.
12242 (top level): Use foreach and add "set displaced-stepping" testing
12245 2015-04-10 Pedro Alves <palves@redhat.com>
12247 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
12249 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
12250 both the address of the instruction that triggers the watchpoint
12251 and the address of the instruction immediately after, and use
12252 those addresses for the test. Fix comment.
12254 2015-04-10 Pedro Alves <palves@redhat.com>
12256 * gdb.base/sigstep.exp (breakpoint_to_handler)
12257 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
12258 Test "backtrace" in handler.
12259 (breakpoint_over_handler): New parameter 'displaced'. Use it.
12260 (top level): Add new "displaced" test axis to
12261 breakpoint_to_handler, breakpoint_to_handler_entry and
12262 breakpoint_over_handler.
12264 2015-04-10 Pedro Alves <palves@redhat.com>
12267 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
12269 2015-04-10 Yao Qi <yao.qi@linaro.org>
12271 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
12272 (test_add_rn_pc): New function.
12273 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
12274 (top level): Invoke test_add_rn_pc.
12276 2015-04-10 Pedro Alves <palves@redhat.com>
12279 * gdb.base/step-over-no-symbols.exp: New file.
12281 2015-04-09 Andy Wingo <wingo@igalia.com>
12283 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
12284 after the Python tests.
12286 2015-04-08 Keith Seitz <keiths@redhat.com>
12289 * gdb.python/py-completion.exp: New tests for completion.
12290 * gdb.python/py-completion.py (CompleteLimit1): New class.
12291 (CompleteLimit2): Likewise.
12292 (CompleteLimit3): Likewise.
12293 (CompleteLimit4): Likewise.
12294 (CompleteLimit5): Likewise.
12295 (CompleteLimit6): Likewise.
12296 (CompleteLimit7): Likewise.
12298 2015-04-08 Pedro Alves <palves@redhat.com>
12302 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
12304 (main): Install it as SIGUSR1 handler.
12305 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
12306 parameter. Always use "setup" as prefix. Toggle "set
12307 displaced-stepping" off/on depending on global. Don't switch to
12309 (top level): Add displaced stepping "off/on" test axis. Update
12310 "setup" calls. Wrap each subtest with with_test_prefix. Test
12311 continuing with a queued signal in each thread.
12313 2015-04-08 Pedro Alves <palves@redhat.com>
12315 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
12316 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
12317 gdb_breakpoint instead of gdb_test that doesn't expect anything.
12318 Return early if running to main fails.
12319 * gdb.trace/while-stepping.exp: Likewise.
12321 2015-04-07 Pedro Alves <palves@redhat.com>
12323 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
12324 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
12325 interact with inferior program.
12327 2015-04-07 Pedro Alves <palves@redhat.com>
12329 * lib/gdb.exp (inferior_spawn_id): New global.
12330 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
12331 spawn id after processing the user code.
12332 (default_gdb_start): Set inferior_spawn_id.
12333 (send_inferior): New procedure.
12334 * lib/gdbserver-support.exp (gdbserver_start): Set
12336 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
12338 2015-04-07 Pedro Alves <palves@redhat.com>
12340 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
12341 * lib/gdbserver-support.exp (gdbserver_start): Make
12342 $server_spawn_id global.
12343 (gdbserver_start): Don't wait for gdbserver's spawn id with
12345 (close_gdbserver): New procedure.
12346 (gdb_exit): Rename the default version and reimplement.
12348 2015-04-07 Pedro Alves <palves@redhat.com>
12350 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
12351 append the substituted item, not the original item.
12353 2015-04-07 Pedro Alves <palves@redhat.com>
12355 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
12358 2015-04-07 Pedro Alves <palves@redhat.com>
12360 * gdb.base/interrupt.exp: Don't handle the case of the inferior
12361 output appearing once only.
12363 2015-04-07 Pedro Alves <palves@redhat.com>
12365 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
12366 that doesn't expect anything. Return early if running to main
12369 2015-04-07 Yao Qi <yao.qi@linaro.org>
12371 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
12372 (child_function): Call alarm.
12373 (main): Move call to alarm into the loop.
12374 * gdb.threads/non-stop-fair-events.exp: Build program with
12375 -DTIMEOUT=$timeout.
12377 2015-04-06 Doug Evans <xdje42@gmail.com>
12379 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
12380 Fix dest parameter to board_info.
12381 (fpc_compile): Ditto.
12382 (gdb_compile_pascal): Rename dest arg to destfile.
12384 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
12386 * gdb.ada/funcall_ref.exp: New file.
12387 * gdb.ada/funcall_ref/foo.adb: New file.
12389 2015-04-02 Yao Qi <yao.qi@linaro.org>
12391 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
12394 2015-04-02 Gary Benson <gbenson@redhat.com>
12396 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
12398 2015-04-01 Sasha Smundak <asmundak@google.com>
12400 * gdb.python/py-unwind-maint.c: New file.
12401 * gdb.python/py-unwind-maint.exp: New test.
12402 * gdb.python/py-unwind-maint.py: New file.
12403 * gdb.python/py-unwind.c: New file.
12404 * gdb.python/py-unwind.exp: New test.
12405 * gdb.python/py-unwind.py: New test.
12407 2015-04-01 Pedro Alves <palves@redhat.com>
12409 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
12410 to fail instead of non-existent $test.
12412 2015-04-01 Pedro Alves <palves@redhat.com>
12414 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
12415 GDBFLAGS if not empty.
12417 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
12419 * gdb.ada/complete.exp: Remove "multi_line".
12420 * gdb.ada/info_exc.exp: Remove "multi_line".
12421 * gdb.ada/packed_tagged.exp: Remove "multi_line".
12422 * gdb.ada/ptype_field.exp: Remove "multi_line".
12423 * gdb.ada/sym_print_name.exp: Remove "multi_line".
12424 * gdb.ada/tagged.exp: Remove "multi_line".
12425 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
12427 * gdb.btrace/delta.exp: Likewise.
12428 * gdb.btrace/exception.exp: Likewise.
12429 * gdb.btrace/function_call_history.exp: Likewise.
12430 * gdb.btrace/instruction_history.exp: Likewise.
12431 * gdb.btrace/nohist.exp: Likewise.
12432 * gdb.btrace/record_goto.exp: Likewise.
12433 * gdb.btrace/segv.exp: Likewise.
12434 * gdb.btrace/stepi.exp: Likewise.
12435 * gdb.btrace/tailcall.exp: Likewise.
12436 * gdb.btrace/unknown_functions.exp: Likewise.
12437 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
12438 * lib/gdb.exp: Add the "multi_line" helper.
12440 2015-04-01 Pedro Alves <palves@redhat.com>
12442 * gdb.threads/tid-reuse.c: New file.
12443 * gdb.threads/tid-reuse.exp: New file.
12445 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
12448 * gdb.base/coredump-filter.c: New file.
12449 * gdb.base/coredump-filter.exp: Likewise.
12451 2015-03-27 Petr Machata <pmachata@redhat.com>
12453 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
12454 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
12455 (Dwarf::assemble): Initialize them.
12456 (Dwarf::lines): New function.
12458 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
12460 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
12461 SYMBOL_PREFIX for x86_64-*-cygwin.
12463 2015-03-26 Andy Wingo <wingo@igalia.com>
12466 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
12467 const_value but not a location.
12468 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
12469 location defined in non-main CUs are visible.
12471 2015-03-26 Yao Qi <yao.qi@linaro.org>
12474 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
12475 Add a line number entry for the same line.
12476 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
12477 Add a line number entry for the same line.
12479 2015-03-26 Yao Qi <yao.qi@linaro.org>
12481 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
12483 (func): Likewise. Add .Lfunc_1 label.
12484 Use .Lfunc_1 label.
12485 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
12488 Use .Lfunc_1 label.
12490 2015-03-26 Yao Qi <yao.qi@linaro.org>
12492 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
12493 Call gdb_compile instead to compile each .s files without debug
12496 2015-03-26 Yao Qi <yao.qi@linaro.org>
12498 * gdb.base/savedregs.exp (process_saved_regs): Make
12499 "Saved registers:" optional in the pattern.
12501 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12503 * gdb.btrace/next.exp: Merged into step.exp.
12504 * gdb.btrace/finish.exp: Merged into step.exp.
12505 * gdb.btrace/nexti.exp: Merged into stepi.exp.
12506 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
12507 "record goto" and checking the exact replay position.
12508 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
12509 check for "Recording format" in "info record" output.
12510 * gdb.btrace/record_goto.exp: Choose test file based on target.
12511 * gdb.btrace/x86-record_goto.S: Renamed into ...
12512 * gdb.btrace/x86_64-record_goto.S: ... this.
12513 * gdb.btrace/i686-record_goto.S: New.
12514 * gdb.btrace/x86-tailcall.S: Renamed into ...
12515 * gdb.btrace/x86_64-tailcall.S: ... this.
12516 * gdb.btrace/i686-tailcall.S: New.
12517 * gdb.btrace/x86-tailcall.c: Renamed into ...
12518 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
12519 separate statements. Update test.
12520 * gdb.btrace/delta.exp: Use record_goto.c as test file.
12521 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
12522 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
12523 * gdb.btrace/tailcall.exp: Choose test file based on target.
12524 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
12526 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
12528 * gdb.btrace/exception.exp: Increase BTS buffer size.
12530 2015-03-24 Pedro Alves <palves@redhat.com>
12532 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
12534 2015-03-24 Pedro Alves <palves@redhat.com>
12536 * gdb.threads/schedlock.exp (test_step): No longer expect that
12537 "set scheduler-locking step" with "next" over a function call runs
12540 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12542 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
12544 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
12546 PR breakpoints/16466
12547 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
12548 * gdb.mi/mi-pending.c (thread_func): New function.
12549 (int main): Add threading support required.
12550 * gdb.mi/mi-pending.exp: Add tests for this issue.
12551 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
12552 (pendfunc2): Remove stdio dependency.
12553 * gdb.mi/mi-pendshr2.c: New file.
12555 2015-03-23 Keith Seitz <keiths@redhat.com>
12557 * gdb.linespec/keywords.c: New file.
12558 * gdb.linespec/keywords.exp: New file.
12560 2015-03-23 Keith Seitz <keiths@redhat.com>
12563 * gdb.dwarf2/staticvirtual.exp: New test.
12565 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
12567 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
12568 * README: Remove HP-UX and gdb.hp.
12570 * configure: Regenerate.
12571 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
12572 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
12573 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
12574 gdb.hp/gdb.defects/Makefile.
12575 * gdb.hp/Makefile.in: File deleted.
12576 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
12577 * gdb.hp/gdb.aCC/optimize.c: File deleted.
12578 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
12579 * gdb.hp/gdb.aCC/run.c: File deleted.
12580 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
12581 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
12582 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
12583 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
12584 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
12585 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
12586 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
12587 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
12588 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
12589 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
12590 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
12591 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
12592 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
12593 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
12594 * gdb.hp/gdb.base-hp/reg.s: File deleted.
12595 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
12596 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
12597 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
12598 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
12599 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
12600 * gdb.hp/gdb.compat/Makefile.in: File deleted.
12601 * gdb.hp/gdb.compat/average.c: File deleted.
12602 * gdb.hp/gdb.compat/sum.c: File deleted.
12603 * gdb.hp/gdb.compat/xdb.c: File deleted.
12604 * gdb.hp/gdb.compat/xdb0.c: File deleted.
12605 * gdb.hp/gdb.compat/xdb0.h: File deleted.
12606 * gdb.hp/gdb.compat/xdb1.c: File deleted.
12607 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
12608 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
12609 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
12610 * gdb.hp/gdb.defects/Makefile.in: File deleted.
12611 * gdb.hp/gdb.defects/bs14602.c: File deleted.
12612 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
12613 * gdb.hp/gdb.defects/solib-d.c: File deleted.
12614 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
12615 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
12616 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
12617 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
12618 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
12619 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
12620 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
12621 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
12622 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
12623 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
12624 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
12625 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
12626 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
12627 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
12628 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
12629 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
12630 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
12631 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
12632 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
12633 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
12634 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
12635 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
12636 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
12637 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
12638 * gdb.hp/tools/odump: File deleted.
12640 2015-03-19 Pedro Alves <palves@redhat.com>
12642 * gdb.threads/continue-pending-status.exp (saw_thread_2)
12643 (saw_thread_3): New globals.
12644 (top level): Increment them when an event for the corresponding
12646 (no thread starvation): New test.
12648 2015-03-19 Pedro Alves <palves@redhat.com>
12650 * gdb.threads/continue-pending-status.c: New file.
12651 * gdb.threads/continue-pending-status.exp: New file.
12653 2015-03-18 Pedro Alves <palves@redhat.com>
12655 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
12656 Use gdb_is_target_remote instead of is_remote. Use
12657 gdb_test_multiple instead of gdb_expect. Exit early if
12658 gdb_test_multiple hits its internal matches. Tighten stepi tests
12659 expected output. Fail on exit with any signal, instead of just
12662 2015-03-18 Yao Qi <yao.qi@linaro.org>
12665 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
12667 * gdb.base/catch-syscall.exp: Don't skip it on
12668 aarch64*-*-linux* target. Remove elements in all_syscalls.
12669 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
12671 (setup_all_syscalls): New proc.
12673 2015-03-16 Yao Qi <yao.qi@linaro.org>
12675 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
12676 (top level): Skip tests if valid_addr_p returns false for
12679 2015-03-11 Andy Wingo <wingo@igalia.com>
12681 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
12683 2015-03-11 Yao Qi <yao.qi@linaro.org>
12685 * gdb.base/catch-syscall.exp: Fix typo in comments.
12687 2015-03-11 Yao Qi <yao.qi@linaro.org>
12689 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
12691 2015-03-09 Pedro Alves <palves@redhat.com>
12693 * dg-extract-results.py: Delete.
12695 2015-03-09 Pedro Alves <palves@redhat.com>
12697 Merge dg-extract-results.sh from GCC upstream (r218843).
12699 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
12700 * dg-extract-results.sh: Use --text with grep to avoid issues with
12701 binary files. Fall back to cat -v, if that doesn't work.
12703 2015-03-05 Pedro Alves <palves@redhat.com>
12705 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
12707 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
12709 * lib/mi-support.exp (mi_expect_interrupt): Accept
12710 alternative event for when in all-stop mode.
12712 2015-03-04 Pedro Alves <palves@redhat.com>
12714 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
12716 2015-03-04 Mark Kettenis <kettenis@gnu.org>
12718 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
12720 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
12722 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
12723 regexps for GDB's current line display, accept a hex address
12724 preceding the line number.
12726 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
12728 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
12729 the 'arch1' variable for "s390*-linux*" targets.
12731 2015-03-04 Pedro Alves <palves@redhat.com>
12733 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
12734 (main): Pass missing retval argument to pthread_join call.
12736 2015-03-02 Pedro Alves <palves@redhat.com>
12738 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
12739 (top level): Call do_test with non-stop as well.
12741 2015-03-02 Pedro Alves <palves@redhat.com>
12743 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
12746 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
12748 * gdb.arch/s390-vregs.exp: New test.
12749 * gdb.arch/s390-vregs.S: New file.
12751 2015-02-27 Pedro Alves <palves@redhat.com>
12753 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
12754 call to catch_command_errors.
12755 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
12756 catch_command_errors.
12758 2015-02-27 Pedro Alves <palves@redhat.com>
12760 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
12761 "true" for boolean result.
12762 * gdb.gdb/selftest.exp (test_with_self): Also accept full
12765 2015-02-27 Pedro Alves <palves@redhat.com>
12767 * lib/unbuffer_output.c: New file.
12768 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
12769 (main): Call gdb_unbuffer_output.
12771 2015-02-27 Yao Qi <yao.qi@linaro.org>
12773 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
12776 2015-02-26 Doug Evans <dje@google.com>
12778 * gdb.cp/class2.cc (Dbase, D): New classes.
12779 (main): New local delta.
12780 * gdb.cp/class2.exp: Test printing delta.
12781 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
12782 (dynbar): New global.
12783 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
12785 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12787 * gdb.compile/compile-ifunc.c: New file.
12788 * gdb.compile/compile-ifunc.exp: New file.
12790 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
12792 * gdb.base/structs.exp: Check for correct struct on finish.
12794 2015-02-26 Yao Qi <yao.qi@linaro.org>
12796 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
12799 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12801 * gdb.arch/cordic.ko.bz2: New file.
12802 * gdb.arch/cordic.ko.debug.bz2: New file.
12803 * gdb.arch/ppc64-symtab-cordic.exp: New file.
12805 2015-02-25 Yao Qi <yao.qi@linaro.org>
12807 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
12808 aarch64*-*-* target.
12810 2015-02-23 Pedro Alves <palves@redhat.com>
12812 * lib/gdb.exp (delete_breakpoints): Rewrite using
12815 2015-02-23 Pedro Alves <palves@redhat.com>
12817 * gdb.base/info-os.c: Include stdlib.h.
12819 2015-02-22 Doug Evans <xdje42@gmail.com>
12822 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
12823 is read after symbols have been re-read.
12824 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
12825 * gdb.ada/exec_changed/second.adb (Second): Ditto.
12827 2015-02-21 Doug Evans <dje@google.com>
12829 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
12831 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12834 * gdb.arch/i386-biarch-core.core.bz2: New file.
12835 * gdb.arch/i386-biarch-core.exp: New file.
12837 2015-02-21 Pedro Alves <palves@redhat.com>
12839 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
12842 2015-02-20 Pedro Alves <palves@redhat.com>
12844 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
12847 2015-02-20 Pedro Alves <palves@redhat.com>
12849 * gdb.threads/multi-create-ns-info-thr.exp: New file.
12851 2015-02-20 Pedro Alves <palves@redhat.com>
12853 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
12854 clean_restart before gdb_target_supports_trace.
12856 2015-02-20 Pedro Alves <palves@redhat.com>
12859 * gdb.threads/clone-thread_db.c: New file.
12860 * gdb.threads/clone-thread_db.exp: New file.
12862 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
12864 PR breakpoints/16812
12865 * gdb.base/catch-gdb-caused-signals.c: New file.
12866 * gdb.base/catch-gdb-caused-signals.exp: New file.
12868 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
12870 * configure: Regenerated.
12871 * configure.ac: Use GDB_AC_TRANSFORM.
12872 * aclocal.m4: sinclude ../transform.m4.
12874 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12876 * lib/dtrace.exp: New file.
12877 * gdb.base/dtrace-probe.exp: Likewise.
12878 * gdb.base/dtrace-probe.d: Likewise.
12879 * gdb.base/dtrace-probe.c: Likewise.
12880 * lib/pdtrace.in: Likewise.
12881 * configure.ac: Output variables with the transformed names of
12882 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
12883 * configure: Regenerated.
12885 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12887 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
12888 expected message when trying to access $_probe_* convenience
12889 variables while not on a probe.
12891 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12893 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
12895 2015-02-11 Pedro Alves <pedro@codesourcery.com>
12897 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
12898 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
12900 2015-02-10 Doug Evans <xdje42@gmail.com>
12902 * lib/gdb.exp (gdb_load): Always return a result.
12904 2015-02-10 Pedro Alves <palves@redhat.com>
12906 * gdb.threads/signal-sigtrap.c: New file.
12907 * gdb.threads/signal-sigtrap.exp: New file.
12909 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
12911 * gdb.trace/no-attach-trace.c: New file.
12912 * gdb.trace/no-attach-trace.exp: New file.
12914 2015-02-09 Mark Wielaard <mjw@redhat.com>
12916 * gdb.dwarf2/atomic.c: New file.
12917 * gdb.dwarf2/atomic-type.exp: Likewise.
12919 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12921 * gdb.btrace/buffer-size.exp: Update "info record" output.
12922 * gdb.btrace/delta.exp: Update "info record" output.
12923 * gdb.btrace/enable.exp: Update "info record" output.
12924 * gdb.btrace/finish.exp: Update "info record" output.
12925 * gdb.btrace/instruction_history.exp: Update "info record" output.
12926 * gdb.btrace/next.exp: Update "info record" output.
12927 * gdb.btrace/nexti.exp: Update "info record" output.
12928 * gdb.btrace/step.exp: Update "info record" output.
12929 * gdb.btrace/stepi.exp: Update "info record" output.
12930 * gdb.btrace/nohist.exp: Update "info record" output.
12932 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12934 * gdb.btrace/buffer-size: New.
12936 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
12938 * gdb.btrace/delta.exp: Update "info record" output.
12939 * gdb.btrace/enable.exp: Update "info record" output.
12940 * gdb.btrace/finish.exp: Update "info record" output.
12941 * gdb.btrace/instruction_history.exp: Update "info record" output.
12942 * gdb.btrace/next.exp: Update "info record" output.
12943 * gdb.btrace/nexti.exp: Update "info record" output.
12944 * gdb.btrace/step.exp: Update "info record" output.
12945 * gdb.btrace/stepi.exp: Update "info record" output.
12946 * gdb.btrace/nohist.exp: Update "info record" output.
12948 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
12951 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
12953 2015-02-06 Pedro Alves <palves@redhat.com>
12955 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
12957 (seconds_left, again): New globals.
12958 (main): Wait seconds_left in a 1-second sleep loop instead of
12959 sleeping 180 seconds. If 'again' is set, reset the seconds
12961 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
12962 'again' in the inferior before detaching. Print the seconds left.
12963 (options): New global.
12964 (top level): Build program with -DTIMEOUT=$timeout.
12966 2015-02-06 Pedro Alves <palves@redhat.com>
12968 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
12969 determine how many seconds to pass to 'alarm'.
12970 * gdb.base/gdb-sigterm.exp (top level): Build program with
12971 -DTIMEOUT=$timeout.
12972 (do_test): Return success/failure indication. Add more verbose
12973 logging. Don't fail if 200 single steps are seen. Instead, fail
12974 when the test times out.
12975 (passes): New global.
12976 (top level): Break the testing loop if testing fails on any
12977 iteration. Use gdb_assert.
12979 2015-02-04 Don Breazeal <donb@codesourcery.com>
12981 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
12982 and initialize them.
12983 (ipc_cleanup): New function.
12984 (main): Don't declare shmid, semid, and msqid. Add a call to
12985 atexit so that we call ipc_cleanup on exit.
12987 2015-02-04 Pedro Alves <palves@redhat.com>
12989 * boards/native-extended-gdbserver.exp: Remove any target variant
12990 specifications from the board name before clearing the isremote
12991 flag from board_info.
12993 2015-01-31 Doug Evans <xdje42@gmail.com>
12995 * gdb.base/maint.exp <maint print type argc>: Update expected output.
12997 2015-01-31 Gary Benson <gbenson@redhat.com>
12999 * gdb.base/completion.exp: Disable completion limiting for
13000 existing tests. Add new tests to check completion limiting.
13001 * gdb.linespec/ls-errs.exp: Disable completion limiting.
13003 2015-01-31 Doug Evans <xdje42@gmail.com>
13005 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
13007 2015-01-31 Doug Evans <xdje42@gmail.com>
13009 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
13010 entries. Duplicate file section script entries.
13011 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
13012 inlined entries. Add test for safe-path rejection.
13013 * gdb.python/py-section-script.c: Add duplicate inlined section script
13014 entries. Duplicate file section script entries.
13015 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
13016 inlined entries. Add test for safe-path rejection.
13018 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13020 * gdb.ada/disc_arr_bound: New testcase.
13022 2015-01-29 Joel Brobecker <brobecker@adacore.com>
13024 * gdb.ada/mi_var_array: New testcase.
13026 2015-01-27 Doug Evans <dje@google.com>
13028 * gdb.python/py-objfile.exp: Add tests for objfile.username.
13029 Add test for objfile.filename, objfile.username after objfile
13032 2015-01-26 Joel Brobecker <brobecker@adacore.com>
13034 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
13035 the second test to print the name attribute of value
13036 returned by the call to gdb.lookup_type, and adjust
13037 the expected output accordingly.
13039 2015-01-25 Mark Wielaard <mjw@redhat.com>
13041 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
13042 * gdb.base/disp-step-fork.c: Include unistd.h.
13043 * gdb.base/siginfo-obj.c: Include stdio.h.
13044 * gdb.base/siginfo-thread.c: Likewise.
13045 * gdb.mi/non-stop.c: Include unistd.h.
13046 * gdb.mi/nsthrexec.c: Include stdio.h.
13047 * gdb.mi/pthreads.c: Include unistd.h.
13048 * gdb.modula2/unbounded1.c (main): Declare returns int.
13049 * gdb.reverse/consecutive-reverse.c: Likewise.
13050 * gdb.threads/create-fail.c: Include unistd.h.
13051 * gdb.threads/killed.c: Likewise.
13052 * gdb.threads/linux-dp.c: Likewise.
13053 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
13054 * gdb.threads/non-ldr-exc-2.c: Likewise.
13055 * gdb.threads/non-ldr-exc-3.c: Likewise.
13056 * gdb.threads/non-ldr-exc-4.c: Likewise.
13057 * gdb.threads/pthreads.c: Include unistd.h.
13058 (main): Declare returns int.
13059 * gdb.threads/tls-main.c (foo): New declaration.
13060 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
13062 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
13064 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
13065 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
13067 2015-01-15 Mark Wielaard <mjw@redhat.com>
13069 * gdb.base/noreturn-return.c: New file.
13070 * gdb.base/noreturn-return.exp: New file.
13071 * gdb.base/noreturn-finish.c: New file.
13072 * gdb.base/noreturn-finish.exp: New file.
13074 2015-01-23 Pedro Alves <palves@redhat.com>
13076 * gdb.threads/continue-pending-after-query.c: New file.
13077 * gdb.threads/continue-pending-after-query.exp: New file.
13079 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
13080 Simon Marchi <simon.marchi@ericsson.com>
13082 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
13083 * gdb.base/valgrind-db-attach.exp: Same.
13084 * gdb.base/valgrind-infcall.exp: Same.
13085 * lib/mi-support.exp (default_mi_gdb_start): Same.
13086 * lib/prompt.exp (default_prompt_gdb_start): Same.
13087 * lib/gdb.exp (default_gdb_spawn): Same.
13088 (gdb_interact): New.
13091 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13093 * gdb.compile/compile.exp (pointer to jit function): New test.
13095 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
13097 * lib/gdb.exp (supports_process_record): Return true for
13099 (supports_reverse): Likewise.
13101 2015-01-15 Don Breazeal <donb@codesourcery.com>
13103 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
13104 instead of checking whether the target board is remote and
13105 use spawn_wait_for_attach instead of exec/sleep.
13106 * gdb.base/attach-twice.exp: Likewise.
13108 2015-01-15 Joel Brobecker <brobecker@adacore.com>
13110 * gdb.ada/var_arr_attrs: New testcase.
13112 2015-01-14 Pedro Alves <palves@redhat.com>
13113 Joel Brobecker <brobecker@adacore.com>
13116 * gdb.base/bp-cmds-execution-x-script.c: New file.
13117 * gdb.base/bp-cmds-execution-x-script.exp: New file.
13118 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
13120 2015-01-14 Pedro Alves <palves@redhat.com>
13123 * gdb.base/batch-preserve-term-settings.c: New file.
13124 * gdb.base/batch-preserve-term-settings.exp: New file.
13126 2015-01-13 Doug Evans <dje@google.com>
13128 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
13131 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13133 * Makefile.in (clean mostlyclean): Do not delete *.py.
13135 2015-01-13 Joel Brobecker <brobecker@adacore.com>
13137 * gdb.python/py-lookup-type.exp: New file.
13139 2015-01-12 Pedro Alves <palves@redhat.com>
13141 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
13142 restore GDBFLAGS before returning.
13144 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13146 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
13147 is_amd64_regs_target and is_x86_like_target.
13149 2015-01-11 Doug Evans <xdje42@gmail.com>
13151 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
13152 is given without an explicit form.
13153 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
13155 * gdb.dwarf/corrupt.exp: Ditto.
13156 * gdb.dwarf2/enum-type.exp: Ditto.
13157 * gdb.trace/entry-values.exp: Ditto.
13158 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
13160 2015-01-11 Doug Evans <xdje42@gmail.com>
13163 * gdb.base/maint.exp: Remove references to "maint demangle".
13164 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
13165 Add tests for explicitly specifying language to demangle.
13166 * gdb.dlang/demangle.exp: Ditto.
13168 2015-01-09 Pedro Alves <palves@redhat.com>
13170 * gdb.threads/non-stop-fair-events.c: New file.
13171 * gdb.threads/non-stop-fair-events.exp: New file.
13173 2015-01-09 Pedro Alves <palves@redhat.com>
13175 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
13176 the global scope. Set a breakpoint after all threads are started
13177 rather than stepping over two source lines. Expect the prompt.
13178 * gdb.base/watch_thread_num.c (threads_started_barrier): New
13181 (main): Use threads_started_barrier to wait for all threads to
13182 start. Main thread no longer calls thread_function. Exit after
13184 (loop): New function.
13185 (thread_function): Wait on threads_started_barrier barrier. Call
13186 'loop' at each iteration.
13187 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
13188 threads have started, instead of hardcoding number of "next"
13189 steps. Use an access watchpoint instead of a write watchpoint.
13191 2015-01-09 Pedro Alves <palves@redhat.com>
13193 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
13194 (thread_func): Wait on barrier.
13195 (main): Wait for all threads to start before stopping GDB.
13196 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
13198 (thread1_func, thread2_func): Wait on barrier.
13199 (main): Wait for all threads to start before stopping GDB.
13200 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
13202 (thread1_func, thread2_func): Wait on barrier.
13203 (main): Wait for all threads to start before stopping GDB.
13205 2015-01-09 Pedro Alves <palves@redhat.com>
13207 * gdb.threads/attach-many-short-lived-threads.c: New file.
13208 * gdb.threads/attach-many-short-lived-threads.exp: New file.
13210 2014-01-09 Pedro Alves <palves@redhat.com>
13212 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
13213 instead of to thread 2.
13214 * gdb.threads/signal-command-multiple-signals-pending.c (main):
13215 Add barrier around each pthread_create call instead of around all
13217 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
13218 Set a break on thread_function and have the child threads hit it
13221 2015-01-09 Pedro Alves <palves@redhat.com>
13223 * lib/gdb.exp (can_spawn_for_attach): New procedure.
13224 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
13226 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
13227 checking whether the target board is remote.
13228 * gdb.multi/multi-attach.exp: Likewise.
13229 * gdb.python/py-sync-interp.exp: Likewise.
13230 * gdb.server/ext-attach.exp: Likewise.
13231 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
13232 tests that need to attach, instead of checking whether the target
13233 board is remote at the top of the file.
13235 2015-01-08 Yao Qi <yao@codesourcery.com>
13237 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
13239 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13241 Fix testcase compilation.
13242 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
13244 2015-01-06 Joel Brobecker <brobecker@adacore.com>
13246 * gdb.python/py-type.exp: Add a couple test about empty
13247 array creation, and negative-length array creation.
13249 2015-01-02 Doug Evans <xdje42@gmail.com>
13251 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
13253 2015-01-02 Doug Evans <dje@google.com>
13255 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
13257 2014-12-29 Yao Qi <yao@codesourcery.com>
13259 * gdb.trace/entry-values.exp: Update comments. Rename variable
13260 bar_call_foo to returned_from_foo.
13262 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
13265 * gdb.linespec/break-asm-file.c: New file.
13266 * gdb.linespec/break-asm-file.exp: New file.
13267 * gdb.linespec/break-asm-file0.s: New file.
13268 * gdb.linespec/break-asm-file1.s: New file.
13270 2014-12-18 Nigel Stephens <nigel@mips.com>
13271 Maciej W. Rozycki <macro@codesourcery.com>
13273 * gdb.base/float.exp: Handle the new output from "info float" on
13276 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13278 Fix MinGW compilation.
13279 * gdb.compile/compile-ops.exp: Update untested message if
13280 !skip_compile_feature_tests.
13281 * gdb.compile/compile-setjmp.exp: Likewise.
13282 * gdb.compile/compile-tls.exp: Likewise.
13283 * gdb.compile/compile.exp: Likewise.
13284 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
13285 supported on this host".
13287 2014-12-16 Doug Evans <xdje42@gmail.com>
13289 * boards/stabs.exp: New file.
13291 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
13293 * gdb.base/completion.exp: Adjust to format changes of "maint
13294 print user-registers".
13296 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
13299 * gdb.arch/aarch64-fp.c: New file.
13300 * gdb.arch/aarch64-fp.exp: New file.
13302 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
13304 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
13305 r210637, r210913, r211666, r215400, r215817).
13307 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
13308 * dg-extract-results.py: New file.
13309 * dg-extract-results.sh: Use it if the environment seems
13312 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
13314 * dg-extract-results.py (parse_run): Handle warnings that
13315 are printed before a test harness is run.
13317 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
13319 * dg-extract-results.py (Named): Remove __cmp__ method.
13320 (output_variation): Use a key to sort variation.harnesses.
13322 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
13324 * dg-extract-results.py: For Python 3, force sys.stdout to
13325 handle surrogate escape sequences.
13326 (safe_open): New function.
13327 (output_segment, main): Use it.
13329 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
13331 * dg-extract-results.py (Prog.result_re): Include options
13334 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
13336 * dg-extract-results.py (output_variation): Always sort if
13339 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
13341 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
13342 as long as we get pagination notifications.
13344 2014-12-15 Jason Merrill <jason@redhat.com>
13346 * Makefile.in (check-gdb.%): Restore.
13347 * README: Mention it.
13349 2014-12-13 Joel Brobecker <brobecker@adacore.com>
13351 * gdb.ada/str_uninit: New testcase.
13353 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13356 * gdb.base/vla-stub-define.c: New file.
13357 * gdb.base/vla-stub.c: New file.
13358 * gdb.base/vla-stub.exp: New file.
13360 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
13361 Jan Kratochvil <jan.kratochvil@redhat.com>
13362 Tom Tromey <tromey@redhat.com>
13364 * configure.ac: Add gdb.compile/.
13365 * configure: Regenerate.
13366 * gdb.compile/Makefile.in: New file.
13367 * gdb.compile/compile-ops.exp: New file.
13368 * gdb.compile/compile-ops.c: New file.
13369 * gdb.compile/compile-tls.c: New file.
13370 * gdb.compile/compile-tls.exp: New file.
13371 * gdb.compile/compile-constvar.S: New file.
13372 * gdb.compile/compile-constvar.c: New file.
13373 * gdb.compile/compile-mod.c: New file.
13374 * gdb.compile/compile-nodebug.c: New file.
13375 * gdb.compile/compile-setjmp-mod.c: New file.
13376 * gdb.compile/compile-setjmp.c: New file.
13377 * gdb.compile/compile-setjmp.exp: New file.
13378 * gdb.compile/compile-shlib.c: New file.
13379 * gdb.compile/compile.c: New file.
13380 * gdb.compile/compile.exp: New file.
13381 * lib/gdb.exp (skip_compile_feature_tests): New proc.
13383 2014-12-12 Tom Tromey <tromey@redhat.com>
13385 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
13386 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
13388 2014-12-12 Doug Evans <dje@google.com>
13390 * lib/gdb-python.exp (get_python_valueof): New function.
13391 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
13393 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
13395 * gdb.base/completion.exp: Add test for completion of "info
13398 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
13400 * gdb.base/func-ptrs.c: New file.
13401 * gdb.base/func-ptrs.exp: New file.
13403 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13405 PR breakpoints/17012
13406 * gdb.base/dprintf-detach.c: New file.
13407 * gdb.base/dprintf-detach.exp: New file.
13409 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
13411 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
13412 * lib/gdb.exp (target_is_gdbserver): New procedure.
13414 2014-12-08 Doug Evans <dje@google.com>
13416 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
13418 2014-12-05 Yao Qi <yao@codesourcery.com>
13420 * gdb.guile/scm-error.exp: Remove the third argument to
13421 gdb_remote_download.
13422 * gdb.guile/scm-frame-args.exp: Likewise.
13423 * gdb.guile/scm-section-script.exp: Likewise.
13425 2014-12-05 Yao Qi <yao@codesourcery.com>
13427 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
13429 2014-12-04 Doug Evans <dje@google.com>
13431 * gdb.python/py-objfile.exp: Add tests for
13432 objfile.add_separate_debug_file.
13434 2014-12-04 Doug Evans <dje@google.com>
13436 * lib/gdb.exp (get_build_id): New function.
13437 (build_id_debug_filename_get): Rewrite to use it.
13438 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
13440 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
13442 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
13443 `method(long)', not just 0x0.
13444 * gdb.cp/nsalias.exp: Align code labels to 4.
13445 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
13446 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
13447 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
13448 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
13449 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
13450 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
13452 2014-12-02 Doug Evans <dje@google.com>
13455 * gdb.cp/anon-ns.cc: Move guts of this file to ...
13456 * gdb.cp/anon-ns2.cc: ... here. New file.
13457 * gdb.cp/anon-ns.exp: Update.
13459 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
13461 * gdb.python/py-events.py (inferior_call_handler): New.
13462 (register_changed_handler, memory_changed_handler): New.
13463 (test_events.invoke): Register new handlers.
13464 * gdb.python/py-events.exp: Add tests for inferior call,
13465 memory_changed and register_changed events.
13467 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13469 * gdb.base/execl-update-breakpoints.exp: Specify the link address
13470 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
13471 if the linker doesn't understand this.
13473 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
13475 * gdb.python/python.exp: Change expected reply to help().
13477 2014-12-01 Yao Qi <yao@codesourcery.com>
13479 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
13480 AC_CONFIG_SUBDIRS(gdb.gdbtk).
13481 * configure: Re-generated.
13483 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
13485 * gdb.cp/chained-calls.cc: New file.
13486 * gdb.cp/chained-calls.exp: New file.
13487 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
13489 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
13491 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
13492 * gdb.dwarf2/symtab-producer.exp: Same.
13493 * gdb.gdb/python-interrupts.exp: Same.
13494 * gdb.gdb/python-selftest.exp: Same.
13495 * gdb.python/py-linetable.exp: Same.
13496 * gdb.python/py-type.exp: Same.
13497 * gdb.python/py-value-cc.exp: Same.
13498 * gdb.python/py-value.exp: Same.
13500 2014-11-28 Yao Qi <yao@codesourcery.com>
13502 * gdb.base/break-probes.exp: Match library name prefixed with
13505 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
13507 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
13508 test expected output. Add parentheses for the call to print.
13509 Remove L suffix from integers.
13511 2014-11-26 Doug Evans <dje@google.com>
13513 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
13515 2014-11-22 Yao Qi <yao@codesourcery.com>
13517 * gdb.trace/entry-values.c: Remove asms.
13518 (foo): Add foo_label.
13519 (bar): Add bar_label.
13520 * gdb.trace/entry-values.exp: Remove code computing foo's
13521 length and bar's length.
13522 (Dwarf::assemble): Invoke function_range for bar and use
13523 MACRO_AT_func for foo.
13525 2014-11-22 Yao Qi <yao@codesourcery.com>
13527 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
13528 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
13529 Use .Lgcc43_procstart instead of gcc43.
13531 2014-11-21 Joel Brobecker <brobecker@adacore.com>
13533 * gdb.ada/n_arr_bound: New testcase.
13535 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
13537 PR breakpoints/10737
13538 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
13539 test_catch_syscall_multi_arch.
13540 (test_catch_syscall_multi_arch): New function.
13542 2014-11-20 Doug Evans <xdje42@gmail.com>
13544 * gdb.base/maint.exp: Update expected output.
13546 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
13548 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
13549 4-byte instruction on S390.
13551 2014-11-19 Joel Brobecker <brobecker@adacore.com>
13553 * gdb.ada/arr_arr: New testcase.
13555 2014-11-19 Joel Brobecker <brobecker@adacore.com>
13557 * gdb.ada/pkd_arr_elem: New Testcase.
13559 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
13561 * gdb.reverse/break-precsave: Expect completion message for
13563 * gdb.reverse/consecutive-precsave.exp: Likewise.
13564 * gdb.reverse/finish-precsave.exp: Likewise.
13565 * gdb.reverse/i386-precsave.exp: Likewise.
13566 * gdb.reverse/machinestate-precsave.exp: Likewise.
13567 * gdb.reverse/sigall-precsave.exp: Likewise.
13568 * gdb.reverse/solib-precsave.exp: Likewise.
13569 * gdb.reverse/step-precsave.exp: Likewise.
13570 * gdb.reverse/until-precsave.exp: Likewise.
13571 * gdb.reverse/watch-precsave.exp: Likewise.
13573 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13575 * gdb.base/bp-permanent.c: Include unistd.h.
13576 * gdb.python/py-framefilter-mi.c (main): Add return type.
13577 * gdb.python/py-framefilter.c (main): Likewise.
13578 * gdb.trace/actions-changed.c (main): Likewise.
13580 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13582 * gdb.mi/until.c: Add eye-catchers.
13583 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
13586 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
13588 * gdb.base/condbreak.exp: Drop references to removed non-prototype
13589 function header variants in break1.c.
13590 * gdb.base/ena-dis-br.exp: Likewise.
13591 * gdb.base/hbreak2.exp: Likewise.
13592 * gdb.reverse/until-precsave.exp: Drop references to removed
13593 non-prototype function header variants in ur1.c.
13594 * gdb.reverse/until-reverse.exp: Likewise.
13596 2014-11-17 Petr Machata <pmachata@redhat.com>
13598 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
13599 ${_cu_offset_size} bytes abbrev offset.
13601 2014-11-15 Doug Evans <xdje42@gmail.com>
13604 * gdb.base/line-symtabs.exp: New file.
13605 * gdb.base/line-symtabs.c: New file.
13606 * gdb.base/line-symtabs.h: New file.
13608 2014-11-14 Yao Qi <yao@codesourcery.com>
13610 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
13611 (func): Add label func_label.
13612 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
13613 Replace low_pc and high_pc with MACRO_AT_range.
13614 Replace name, low_pc and high_pc with MACRO_AT_func.
13616 2014-11-14 Yao Qi <yao@codesourcery.com>
13618 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
13619 Replace name, low_pc and high_pc with MACRO_AT_func.
13621 2014-11-14 Yao Qi <yao@codesourcery.com>
13623 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
13624 produce debug information.
13625 * gdb.dwarf2/implptr-optimized-out.S: Removed.
13627 2014-11-14 Yao Qi <yao@codesourcery.com>
13629 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
13630 object and get function length.
13631 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
13632 with MACRO_AT_func.
13633 (top-level): Replace gdb_compile and clean_restart with
13634 prepare_for_testing.
13635 * gdb.dwarf2/main.c (main): Add label main_label.
13637 2014-11-14 Yao Qi <yao@codesourcery.com>
13639 * lib/dwarf.exp (function_range): New procedure.
13640 (Dwarf::_handle_macro_at_func): New procedure.
13641 (Dwarf::_handle_macro_at_range): New procedure.
13642 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
13644 2014-11-14 Yao Qi <yao@codesourcery.com>
13646 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
13647 (_handle_attribute): New procedure.
13649 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13651 * gdb.ada/cond_lang/foo.c (callme): Add return type.
13652 * gdb.base/call-sc.c (zed): Likewise.
13653 * gdb.base/checkpoint.c (main): Likewise.
13654 * gdb.base/dump.c (main): Likewise.
13655 * gdb.base/gcore.c (main): Likewise.
13656 * gdb.base/huge.c (main): Likewise.
13657 * gdb.base/multi-forks.c (main): Likewise.
13658 * gdb.base/pr10179-a.c (main): Likewise.
13659 * gdb.base/savedregs.c (main): Likewise.
13660 * gdb.base/sigaltstack.c (main): Likewise.
13661 * gdb.base/siginfo.c (main): Likewise.
13662 * gdb.base/structs.c (zed): Likewise.
13663 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
13664 * gdb.mi/mi-syn-frame.c (main): Likewise.
13665 * gdb.mi/until.c (foo, main): Likewise.
13666 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
13667 * gdb.base/solib-weak.c (foo): Declare.
13668 * gdb.base/attach-twice.c: Include stdio.h.
13669 * gdb.base/weaklib1.c: Likewise.
13670 * gdb.base/weaklib2.c: Likewise.
13671 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
13672 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
13674 * gdb.base/attach-pie-misread.c: Include stdlib.h.
13675 * gdb.mi/mi-exit-code.c: Likewise.
13676 * gdb.base/break-interp-lib.c: Include string.h.
13677 * gdb.base/coremaker.c: Likewise.
13678 * gdb.base/testenv.c: Likewise.
13679 * gdb.python/py-finish-breakpoint.c: Likewise.
13680 * gdb.base/inferior-died.c: Include sys/wait.h.
13681 * gdb.base/fileio.c: Include time.h.
13682 * gdb.base/async-shell.c: Include unistd.h.
13683 * gdb.base/dprintf-non-stop.c: Likewise.
13684 * gdb.base/info-os.c: Likewise.
13685 * gdb.mi/mi-console.c: Likewise.
13686 * gdb.mi/watch-nonstop.c: Likewise.
13687 * gdb.python/py-events.c: Likewise.
13688 * gdb.base/async.c (baz): Move up before its invocation.
13689 * gdb.base/code_elim2.c (my_global_func): Likewise.
13690 * gdb.base/skip-solib-lib.c (multiply): Likewise.
13691 * gdb.base/advance.c (func2): Likewise.
13693 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13695 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
13697 * gdb.base/annota3.c: Likewise.
13698 * gdb.base/async.c: Likewise.
13699 * gdb.base/average.c: Likewise.
13700 * gdb.base/call-ar-st.c: Likewise.
13701 * gdb.base/call-rt-st.c: Likewise.
13702 * gdb.base/call-sc.c: Likewise.
13703 * gdb.base/call-strs.c: Likewise.
13704 * gdb.base/ending-run.c: Likewise.
13705 * gdb.base/execd-prog.c: Likewise.
13706 * gdb.base/exprs.c: Likewise.
13707 * gdb.base/foll-exec.c: Likewise.
13708 * gdb.base/foll-fork.c: Likewise.
13709 * gdb.base/foll-vfork.c: Likewise.
13710 * gdb.base/funcargs.c: Likewise.
13711 * gdb.base/gcore.c: Likewise.
13712 * gdb.base/jump.c: Likewise.
13713 * gdb.base/langs0.c: Likewise.
13714 * gdb.base/langs1.c: Likewise.
13715 * gdb.base/langs2.c: Likewise.
13716 * gdb.base/mips_pro.c: Likewise.
13717 * gdb.base/nodebug.c: Likewise.
13718 * gdb.base/opaque0.c: Likewise.
13719 * gdb.base/opaque1.c: Likewise.
13720 * gdb.base/recurse.c: Likewise.
13721 * gdb.base/run.c: Likewise.
13722 * gdb.base/scope0.c: Likewise.
13723 * gdb.base/scope1.c: Likewise.
13724 * gdb.base/setshow.c: Likewise.
13725 * gdb.base/setvar.c: Likewise.
13726 * gdb.base/shmain.c: Likewise.
13727 * gdb.base/shr1.c: Likewise.
13728 * gdb.base/shr2.c: Likewise.
13729 * gdb.base/sigall.c: Likewise.
13730 * gdb.base/signals.c: Likewise.
13731 * gdb.base/so-indr-cl.c: Likewise.
13732 * gdb.base/solib2.c: Likewise.
13733 * gdb.base/structs.c: Likewise.
13734 * gdb.base/sum.c: Likewise.
13735 * gdb.base/vforked-prog.c: Likewise.
13736 * gdb.base/watchpoint.c: Likewise.
13737 * gdb.reverse/shr2.c: Likewise.
13738 * gdb.reverse/until-reverse.c: Likewise.
13739 * gdb.reverse/ur1.c: Likewise.
13740 * gdb.reverse/watch-reverse.c: Likewise.
13742 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13744 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
13746 * gdb.base/sepdebug.exp: Drop references to removed code.
13748 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13750 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
13751 variant. Preserve original line numbering.
13752 * gdb.base/list1.c: Likewise.
13754 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13756 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
13758 * gdb.base/break1.c: Likewise.
13759 * gdb.base/break.exp: Drop references to removed code.
13761 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13763 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
13766 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13768 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
13770 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13772 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
13773 logic into perform_all_tests() and invoke it with and without
13774 function header prototypes.
13775 (do_function_calls): Remove conditional XFAIL for PR 5318.
13776 (rerun_and_prepare): Remove duplicate code.
13777 (perform_all_tests): New. Main logic moved here.
13779 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13781 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
13782 code guarded by #ifdef NO_PROTOTYPES.
13783 (t_double_many_args): Likewise.
13784 (DEF_FUNC_MANY_ARGS_1): Likewise.
13785 (DEF_FUNC_VALUES_1): Likewise.
13786 (t_structs_ldc): Renamed from t_structs_fc in conditional code
13787 guarded by #ifdef PROTOTYPES.
13789 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13791 * gdb.mi/mi-console.c: Add eye-catcher.
13792 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
13793 instead of literal line number.
13795 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13797 * gdb.base/shr2.c: Add eye-catcher.
13798 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
13801 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13803 * gdb.base/jump.c: Add eye-catchers.
13804 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
13807 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13809 * gdb.base/execd-prog.c: Add eye-catchers.
13810 * gdb.base/foll-exec.c: Likewise.
13811 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
13814 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13816 * gdb.base/ending-run.c: Add eye-catchers.
13817 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
13818 literal line numbers.
13820 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13822 * gdb.base/call-rt-st.c: Add eye-catchers.
13823 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
13824 literal line numbers.
13826 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13828 * gdb.base/call-ar-st.c: Add eye-catchers.
13829 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
13830 literal line numbers.
13832 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13834 * gdb.base/average.c: Add eye-catchers.
13835 * gdb.base/sum.c: Likewise.
13836 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
13837 regexps dynamically.
13839 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
13841 * gdb.base/solib1.c: Add eye-catchers.
13842 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
13843 literal line numbers.
13845 2014-11-12 Pedro Alves <palves@redhat.com>
13847 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
13850 2014-11-12 Pedro Alves <palves@redhat.com>
13852 * gdb.arch/i386-bp_permanent.c: New file.
13853 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
13854 (srcfile): Set to i386-bp_permanent.c.
13855 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
13856 that stepi does not execute the 'leave' instruction, instead of
13857 testing it does execute.
13858 * gdb.base/bp-permanent.c: New file.
13859 * gdb.base/bp-permanent.exp: New file.
13861 2014-11-10 Doug Evans <xdje42@gmail.com>
13864 * gdb.base/symtab-search-order.exp: New file.
13865 * gdb.base/symtab-search-order.c: New file.
13866 * gdb.base/symtab-search-order-1.c: New file.
13867 * gdb.base/symtab-search-order-shlib-1.c: New file.
13869 2014-11-07 Pedro Alves <palves@redhat.com>
13872 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
13875 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
13878 * gdb.cp/pr17494.cc: New file.
13879 * gdb.cp/pr17494.exp: New file.
13881 2014-11-02 Yao Qi <yao@codesourcery.com>
13883 * gdb.python/python.exp: Get working directory and match the
13884 output of "set extended-prompt \\w " with it.
13886 2014-10-30 Doug Evans <dje@google.com>
13888 * gdb.python/py-objfile.exp: Add tests for setting random attributes
13890 * gdb.python/py-progspace.exp: Add tests for setting random attributes
13893 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
13895 * gdb.base/fullpath-expand.exp: Skip for a remote host.
13896 * gdb.base/realname-expand.exp: Likewise.
13897 * gdb.linespec/macro-relative.exp: Likewise.
13899 2014-10-29 Pedro Alves <palves@redhat.com>
13902 * gdb.threads/schedlock.c (some_function): New function.
13903 (call_function): New global.
13904 (MAYBE_CALL_SOME_FUNCTION): New macro.
13905 (thread_function): Call it.
13906 * gdb.threads/schedlock.exp (get_args): Add description parameter,
13907 and use it instead of a global counter. Adjust all callers.
13908 (get_current_thread): Use "find current thread" for test message
13909 here rather than having all callers pass down the same string.
13910 (goto_loop): New procedure, factored out from ...
13911 (my_continue): ... this.
13912 (step_ten_loops): Change parameter from test message to command to
13914 (list_count): Delete global.
13915 (check_result): New procedure, factored out from duplicate top
13917 (continue tests): Wrap in with_test_prefix.
13918 (test_step): New procedure, factored out from duplicate top level
13920 (top level): Test "step" in combination with all scheduler-locking
13921 modes. Test "next" in combination with all scheduler-locking
13922 modes, and in combination with stepping over a function call or
13924 * gdb.threads/next-bp-other-thread.c: New file.
13925 * gdb.threads/next-bp-other-thread.exp: New file.
13927 2014-10-29 Pedro Alves <palves@redhat.com>
13930 * gdb.python/python.exp: Test a multi-line command that spawns
13931 interactive Python.
13932 * gdb.base/multi-line-starts-subshell.exp: New file.
13934 2014-10-29 Yao Qi <yao@codesourcery.com>
13936 * gdb.base/fileio.exp: Make directories on host.
13938 2014-10-29 Yao Qi <yao@codesourcery.com>
13940 * gdb.base/fileio.c (test_write): Close the file.
13942 2014-10-28 Pedro Alves <palves@redhat.com>
13945 * gdb.base/sigstep.c (no_handler): New global.
13946 (main): If 'no_handler is true, set the signal handlers to
13948 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
13949 with_sw_watch and no_handler parameters. Handle them.
13950 (top level) <stepping over handler when stopped at a breakpoint
13951 test>: Add a test axis for testing with a software watchpoint, and
13952 another for testing with the signal handler set to SIG_IGN.
13953 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
13954 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
13956 2014-10-28 Pedro Alves <palves@redhat.com>
13959 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
13960 * gdb.base/sigstep.exp (other_handler_location): New global.
13961 (advance): Support stepping into the signal handler, and running
13962 commands while in the handler.
13963 (in_handler_map): New global.
13964 (top level): In the advance test, add combinations for getting
13965 into the handler with stepping commands, and for running commands
13966 in the handler. Add comment descripting the advancei tests.
13968 2014-10-28 Pedro Alves <palves@redhat.com>
13970 * gdb.base/sigstep.exp: Use build_executable instead of
13971 prepare_for_testing.
13972 (top level): Move code that starts GDB, runs to main and creates a
13974 (restart): ... this new procedure.
13975 (top level): Move backtrace from signal handler test to ...
13976 (validate_backtrace): ... this new procedure.
13977 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
13978 with_test_prefix. Always restart GDB.
13979 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
13980 with_test_prefix. Always restart GDB. No need to delete
13981 breakpoints after the test.
13982 (test_skip_handler): Remove prefix parameter.
13983 (skip_over_handler, breakpoint_to_handler)
13984 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
13985 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
13986 restart GDB. No need to delete breakpoints after the test.
13987 (top level): Use foreach to call the test procedures with
13988 different commands.
13990 2014-10-28 Pedro Alves <palves@redhat.com>
13992 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
13993 instead of GNATS numbers.
13994 * gdb.base/sigbpt.exp: Likewise.
13995 * gdb.base/siginfo.exp: Likewise.
13996 * gdb.base/sigstep.exp: Likewise.
13998 2014-10-27 Pedro Alves <palves@redhat.com>
14000 * gdb.base/sigstep.c (dummy): New global.
14001 (main): Issue a couple writes to the new global.
14002 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
14004 (skip_over_handler): Use test_skip_handler.
14005 (top level): Call skip_over_handler for stepi and nexti too.
14006 (breakpoint_over_handler): Use test_skip_handler.
14007 (top level): Call breakpoint_over_handler for stepi and nexti too.
14009 2014-10-27 Yao Qi <yao@codesourcery.com>
14011 * gdb.trace/tfile.c (adjust_function_address)
14012 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
14013 function descriptor.
14015 2014-10-24 Don Breazeal <donb@codesourcery.com>
14017 * gdb.base/foll-fork.exp (test_follow_fork,
14018 catch_fork_child_follow): Check for updated fork messages emitted
14020 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
14021 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14022 vfork_and_exec_child_follow_through_step): Check for updated vfork
14023 messages emitted from infrun.c.
14025 2014-10-24 Pedro Alves <palves@redhat.com>
14027 * gdb.base/corefile.exp: Remove references to ultrix.
14028 * gdb.base/interrupt.exp: Likewise.
14029 * gdb.base/whatis.exp: Likewise.
14030 * gdb.gdb/selftest.exp: Likewise.
14031 * gdb.threads/manythreads.exp: Likewise.
14032 * gdb.threads/print-threads.exp: Likewise.
14033 * gdb.threads/pthreads.exp:: Likewise.
14034 * gdb.threads/schedlock.exp: Likewise.
14036 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
14038 * gdb.cp/non-trivial-retval.cc: Add a test case.
14039 * gdb.cp/non-trivial-retval.exp: Add a test.
14041 2014-10-20 Yao Qi <yao@codesourcery.com>
14043 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
14044 * gdb.python/py-objfile-script-gdb.py: New file.
14045 * gdb.python/py-objfile-script.exp: Update reference to
14046 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
14047 of remote_download. Remove the dest file.
14049 2014-10-20 Yao Qi <yao@codesourcery.com>
14051 * gdb.base/checkpoint.exp: Don't remove file copied on host.
14052 * gdb.base/step-line.exp: Likewise.
14053 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14054 * gdb.dwarf2/dw2-basic.exp: Likewise.
14055 * gdb.dwarf2/dw2-compressed.exp: Likewise.
14056 * gdb.dwarf2/dw2-filename.exp: Likewise.
14057 * gdb.dwarf2/dw2-intercu.exp: Likewise.
14058 * gdb.dwarf2/dw2-intermix.exp: Likewise.
14059 * gdb.dwarf2/dw2-producer.exp: Likewise.
14060 * gdb.dwarf2/mac-fileno.exp: Likewise.
14061 * gdb.python/py-frame-args.exp: Likewise.
14062 * gdb.python/py-framefilter.exp: Likewise.
14063 * gdb.python/py-mi.exp: Likewise.
14064 * gdb.python/py-objfile-script.exp: Likewise
14065 * gdb.python/py-pp-integral.exp: Likewise.
14066 * gdb.python/py-pp-re-notag.exp: Likewise.
14067 * gdb.python/py-prettyprint.exp: Likewise.
14068 * gdb.python/py-section-script.exp: Likewise.
14069 * gdb.python/py-typeprint.exp: Likewise.
14070 * gdb.python/py-xmethods.exp: Likewise.
14071 * gdb.stabs/weird.exp: Likewise.
14072 * gdb.xml/tdesc-regs.exp: Likewise.
14074 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
14076 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
14077 (out_cu): Use addr_len for the size of addresses.
14078 (out_line): Likewise. Size DW_LNE_set_address instruction
14079 according to addr_len.
14080 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
14081 (FUNC): Add START_INSNS to definition.
14083 2014-10-18 Yao Qi <yao@codesourcery.com>
14085 * gdb.base/argv0-symlink.exp: Check argv[0] value if
14086 gdb_has_argv0 return true.
14087 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
14088 check [target_info exists noargs], check [gdb_has_argv0]
14090 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14091 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
14094 2014-10-17 Doug Evans <dje@google.com>
14096 * gdb.python/py-events.exp: Update expected output for clear_objfiles
14098 * gdb.python/py-events.py: Add clear_objfiles event.
14100 2014-10-17 Doug Evans <dje@google.com>
14102 * gdb.python/py-objfile.exp: Test progspace attribute.
14104 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
14106 * gdb.guile/scm-breakpoint.exp: Do not assume any
14107 directory separators when matching source file paths.
14108 * gdb.python/py-breakpoint.exp: Likewise.
14109 * gdb.reverse/break-precsave.exp: Likewise.
14110 * gdb.reverse/break-reverse.exp: Likewise.
14111 * gdb.reverse/consecutive-precsave.exp: Likewise.
14112 * gdb.reverse/finish-precsave.exp: Likewise.
14113 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
14114 * gdb.reverse/finish-reverse.exp: Likewise.
14115 * gdb.reverse/i386-precsave.exp: Likewise.
14116 * gdb.reverse/i387-env-reverse.exp: Likewise.
14117 * gdb.reverse/i387-stack-reverse.exp: Likewise.
14118 * gdb.reverse/machinestate-precsave.exp: Likewise.
14119 * gdb.reverse/machinestate.exp: Likewise.
14120 * gdb.reverse/sigall-precsave.exp: Likewise.
14121 * gdb.reverse/solib-precsave.exp: Likewise.
14122 * gdb.reverse/step-precsave.exp: Likewise.
14123 * gdb.reverse/until-precsave.exp: Likewise.
14124 * gdb.reverse/watch-precsave.exp: Likewise.
14125 * gdb.reverse/watch-reverse.exp: Likewise.
14127 2014-10-17 Yao Qi <yao@codesourcery.com>
14129 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
14130 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
14132 2014-10-17 Pedro Alves <palves@redhat.com>
14135 * gdb.base/bg-execution-repeat.c: New file.
14136 * gdb.base/bg-execution-repeat.exp: New file.
14138 2014-10-17 Pedro Alves <palves@redhat.com>
14141 * gdb.base/continue-all-already-running.c: New file.
14142 * gdb.base/continue-all-already-running.exp: New file.
14144 2014-10-17 Pedro Alves <palves@redhat.com>
14147 * gdb.base/annota-input-while-running.c: New file.
14148 * gdb.base/annota-input-while-running.exp: New file.
14150 2014-10-17 Pedro Alves <palves@redhat.com>
14152 * gdb.base/callfuncs.exp: emove references to osf.
14153 * gdb.base/sigall.exp: Likewise.
14154 * gdb.gdb/selftest.exp: Likewise.
14155 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
14156 * gdb.mi/non-stop.c: Likewise.
14157 * gdb.mi/pthreads.c: Likewise.
14158 * gdb.reverse/sigall-precsave.exp: Likewise.
14159 * gdb.reverse/sigall-reverse.exp: Likewise.
14160 * gdb.threads/pthreads.c: Likewise.
14161 * gdb.threads/pthreads.exp: Likewise.
14163 2014-10-17 Yao Qi <yao@codesourcery.com>
14165 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
14166 check 'target_info exists noargs'.
14167 (test_command_prompt_position): Likewise.
14168 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
14170 (progvar_simple_while_test): Likewise.
14171 (progvar_complex_if_while_test): Likewise.
14172 (if_while_breakpoint_command_test): Likewise.
14173 (infrun_breakpoint_command_test): Likewise.
14174 (breakpoint_command_test): Likewise.
14175 (watchpoint_command_test): Likewise.
14176 (bp_deleted_in_command_test): Likewise.
14177 (temporary_breakpoint_commands): Likewise.
14179 2014-10-16 Yao Qi <yao@codesourcery.com>
14181 * gdb.base/remotetimeout.exp: Remove noargs checking.
14183 2014-10-15 Pedro Alves <palves@redhat.com>
14185 PR breakpoints/9649
14186 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
14187 * gdb.base/breakpoint-in-ro-region.exp
14188 (probe_target_hardware_step): New procedure.
14189 (top level): Probe hardware stepping and hardware breakpoint
14190 support. Test stepping through a read-only region, with both
14191 "breakpoint auto-hw" on and off and both "always-inserted" on and
14194 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
14196 * gdb.dlang/demangle.exp: Update for demangling changes.
14198 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14200 * gdb.cp/non-trivial-retval.cc: Add new test cases.
14201 * gdb.cp/non-trivial-retval.exp: Add new tests.
14203 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
14207 * gdb.cp/non-trivial-retval.cc: New file.
14208 * gdb.cp/non-trivial-retval.exp: New file.
14210 2014-10-15 Yao Qi <yao@codesourcery.com>
14212 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
14215 2014-10-15 Yao Qi <yao@codesourcery.com>
14217 * gdb.python/py-symbol.exp: Match file base name if host is
14218 remote, otherwise match file name with dir name.
14219 * gdb.python/py-symtab.exp: Likewise.
14220 * gdb.python/python.exp: Likewise.
14222 2014-10-15 Yao Qi <yao@codesourcery.com>
14224 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
14226 * gdb.python/py-symtab.exp: Likewise.
14227 * gdb.python/python.exp: Remove trailing ".*". Fix typo
14230 2014-10-14 Joel Brobecker <brobecker@adacore.com>
14232 * gdb.ada/addr_arith: New testcase.
14234 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
14236 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
14237 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
14238 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
14239 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
14241 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
14243 * gdb.arch/stap-eval-lang-ada.S: Likewise.
14244 * gdb.arch/stap-eval-lang-ada.c: Likewise.
14245 * gdb.arch/stap-eval-lang-ada.exp: New file.
14247 2014-10-14 Yao Qi <yao@codesourcery.com>
14249 * gdb.mi/mi-var-child.c (nothing1): New function.
14250 (nothing2): New function.
14251 (do_children_tests): Set function pointers by nothing1 and
14253 * gdb.mi/mi-var-child.exp: Step over new added statements.
14254 Update test to match the new output.
14255 * gdb.mi/var-cmd.c (nothing1): New function.
14256 (nothing2): New function.
14257 (do_children_tests): Set function pointers by nothing1 and
14259 * gdb.mi/mi-var-display.exp: Update test to match output.
14260 Step to the line specified by $line_dct_nothing.
14261 Increase the number of lines to step.
14263 2014-10-14 Yao Qi <yao@codesourcery.com>
14265 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
14267 * gdb.mi/mi2-var-child.exp: Likewise.
14269 2014-10-13 Doug Evans <dje@google.com>
14271 * gdb.python/py-objfile.exp: Change name of file name test.
14273 2014-10-13 Doug Evans <dje@google.com>
14275 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
14276 from the start of the CU.
14278 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14279 Yao Qi <yao@codesourcery.com>
14281 Fix "save breakpoints" for "catch" command.
14282 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
14283 Remove -nonewline. Match also the added "main" line.
14285 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14287 Fix "save breakpoints" for "disable $bpnum" command.
14288 * gdb.base/save-bp.c (main): Add label.
14289 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
14291 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14293 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
14295 2014-10-11 Yao Qi <yao@codesourcery.com>
14297 * gdb.server/server-kill.exp: Execute command
14298 "set remote trace-status-packet on" before "tstatus".
14300 2014-10-11 Yao Qi <yao@codesourcery.com>
14302 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
14303 (main): Call getppid.
14304 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
14305 and continue to it. Read variable "server_pid".
14307 2014-10-11 Yao Qi <yao@codesourcery.com>
14309 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
14311 2014-10-11 Yao Qi <yao@codesourcery.com>
14313 * gdb.threads/thread-find.exp: Don't execute command
14315 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
14316 * gdb.threads/linux-dp.exp: Don't check the condition
14317 $threads_created equals to zero.
14319 2014-10-10 Pedro Alves <palves@redhat.com>
14321 * gdb.base/bigcore.exp: Remove references to IRIX.
14322 * gdb.base/funcargs.exp: Likewise.
14323 * gdb.base/interrupt.exp: Likewise.
14324 * gdb.base/mips_pro.exp: Likewise.
14325 * gdb.base/nodebug.exp: Likewise.
14326 * gdb.base/setvar.exp: Likewise.
14327 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
14329 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14330 Pedro Alves <palves@redhat.com>
14333 * gdb.base/vdso-warning.c: New file.
14334 * gdb.base/vdso-warning.exp: New file.
14336 2014-10-02 Doug Evans <dje@google.com>
14338 * gdb.base/structs.c (main): Don't run forever.
14340 2014-10-02 Pedro Alves <palves@redhat.com>
14342 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
14343 (top level) <stop threads 1, stop threads 2>: Use it.
14345 2014-10-02 Pedro Alves <palves@redhat.com>
14347 * gdb.threads/break-while-running.exp (test): Add new
14348 'update_thread_list' argument. Skip "info threads" if false.
14349 (top level): Add new 'update_thread_list' axis.
14351 2014-10-02 Pedro Alves <palves@redhat.com>
14353 PR breakpoints/17431
14354 * gdb.base/execl-update-breakpoints.c: New file.
14355 * gdb.base/execl-update-breakpoints.exp: New file.
14357 2014-10-01 Pedro Alves <palves@redhat.com>
14359 * gdb.base/breakpoint-in-ro-region.c: New file.
14360 * gdb.base/breakpoint-in-ro-region.exp: New file.
14362 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
14364 * gdb.mi/mi-exit-code.exp: New file.
14365 * gdb.mi/mi-exit-code.c: New file.
14367 2014-09-30 Yao Qi <yao@codesourcery.com>
14369 * lib/prelink-support.exp (build_executable_own_libs): Error if
14370 the target isn't native.
14372 2014-09-30 Yao Qi <yao@codesourcery.com>
14374 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
14377 2014-09-22 Pedro Alves <palves@redhat.com>
14379 * gdb.threads/break-while-running.exp: New file.
14380 * gdb.threads/break-while-running.c: New file.
14382 2014-09-19 Yao Qi <yao@codesourcery.com>
14384 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
14385 Invoke test. Restart GDB with --readnow and invoke test again.
14387 2014-09-19 Yao Qi <yao@codesourcery.com>
14389 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
14390 proc set_breakpoint_on_gcd_function. Invoke
14391 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
14392 invoke set_breakpoint_on_gcd_function again.
14394 2014-09-18 Doug Evans <dje@google.com>
14396 * gdb.dwarf2/symtab-producer.exp: New file.
14398 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14400 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
14401 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
14402 * gdb.base/global-var-nested-by-dso.c: Likewise.
14403 * gdb.base/global-var-nested-by-dso.exp: Likewise.
14405 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
14406 Pedro Alves <palves@redhat.com>
14408 * gdb.base/watch-bitfields.exp: Pass string other than test file
14409 name to prepare_for_testing.
14410 (watch): New procedure.
14411 (expect_watchpoint): Use with_test_prefix.
14412 (top level): Factor out tests to ...
14413 (test_watch_location, test_regular_watch): ... these new
14414 procedures, and use with_test_prefix and gdb_continue_to_end.
14416 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
14418 PR breakpoints/12526
14419 * gdb.base/watch-bitfields.exp: New file.
14420 * gdb.base/watch-bitfields.c: New file.
14422 2014-09-16 Pedro Alves <palves@redhat.com>
14424 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
14425 software and hardware addresses, not software address against
14428 2014-09-16 Pedro Alves <palves@redhat.com>
14430 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
14431 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
14433 2014-09-16 Pedro Alves <palves@redhat.com>
14435 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
14437 * gdb.base/a2-run.exp: Remove all code guarded by istarget
14438 "*-*-vxworks*" throughout.
14439 * gdb.base/break.exp: Likewise.
14440 * gdb.base/default.exp: Likewise.
14441 * gdb.base/scope.exp: Likewise.
14442 * gdb.base/sepdebug.exp: Likewise.
14443 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
14445 * gdb.base/run.c: Likewise.
14446 * gdb.base/sepdebug.c: Likewise.
14447 * gdb.hp/gdb.aCC/run.c: Likewise.
14448 * gdb.reverse/until-reverse.c: Likewise.
14449 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
14451 2014-09-16 Yao Qi <yao@codesourcery.com>
14453 * boards/local-remote-host-native.exp: New file.
14455 2014-09-14 Doug Evans <xdje42@gmail.com>
14457 * gdb.threads/queue-signal.c (thread_count): New variable.
14458 (thread_count_mutex, thread_count_condvar): New variables.
14459 (incr_thread_count, wait_all_threads_running): New functions.
14460 (main): Wait for all threads to be in their thread functions.
14462 2014-09-13 Doug Evans <xdje42@gmail.com>
14464 * gdb.threads/queue-signal.c: New file.
14465 * gdb.threads/queue-signal.exp: New file.
14467 2014-09-13 Doug Evans <xdje42@gmail.com>
14469 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
14470 be consistent with what default_gdb_init uses.
14471 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
14472 the plain text of the prompt. Add some logging printfs.
14473 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
14475 2014-09-12 Pedro Alves <palves@redhat.com>
14477 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
14478 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
14479 * gdb.arch/i386-size-overlap.exp: Likewise.
14480 * gdb.arch/i386-size.exp: Likewise.
14481 * gdb.arch/i386-unwind.exp: Likewise.
14482 * gdb.base/a2-run.exp: Likewise.
14483 * gdb.base/break.exp: Likewise.
14484 * gdb.base/charset.exp: Likewise.
14485 * gdb.base/chng-syms.exp: Likewise.
14486 * gdb.base/commands.exp: Likewise.
14487 * gdb.base/dbx.exp: Likewise.
14488 * gdb.base/find.exp: Likewise.
14489 * gdb.base/funcargs.exp: Likewise.
14490 * gdb.base/jit-simple.exp: Likewise.
14491 * gdb.base/reread.exp: Likewise.
14492 * gdb.base/sepdebug.exp: Likewise.
14493 * gdb.base/step-bt.exp: Likewise.
14494 * gdb.cp/mb-inline.exp: Likewise.
14495 * gdb.cp/mb-templates.exp: Likewise.
14496 * gdb.objc/basicclass.exp: Likewise.
14497 * gdb.threads/killed.exp: Likewise.
14499 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14502 * gdb.arch/powerpc-stackless.S: New file.
14503 * gdb.arch/powerpc-stackless.exp: New file.
14505 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14507 * gdb.base/attach.c: Include unistd.h.
14508 (main): Call alarm. Add label postloop.
14509 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
14510 gdb_breakpoint, gdb_continue_to_breakpoint.
14511 (test_command_line_attach_run): Kill ${testpid} in one exit path.
14513 2014-09-11 Pedro Alves <palves@redhat.com>
14516 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
14517 * gdb.base/attach.exp (test_command_line_attach_run): New
14519 (top level): Call it.
14521 2014-09-11 Pedro Alves <palves@redhat.com>
14523 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
14524 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
14525 (do_command_attach_tests): Use spawn_wait_for_attach.
14526 * gdb.base/solib-overlap.exp: Likewise.
14527 * gdb.multi/multi-attach.exp: Likewise.
14528 * gdb.python/py-prompt.exp: Likewise.
14529 * gdb.python/py-sync-interp.exp: Likewise.
14530 * gdb.server/ext-attach.exp: Likewise.
14532 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
14534 * gdb.fortran/array-element.exp: Remove unexpected "continue"
14535 command in testcase. Simplify testcase.
14537 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14539 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
14541 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14543 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
14545 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14547 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
14549 2014-09-10 Joel Brobecker <brobecker@adacore.com>
14551 * gdb.dwarf2/dynarr-ptr.c: New file.
14552 * gdb.dwarf2/dynarr-ptr.exp: New file.
14554 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14556 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
14557 of 30 rather than hardcoding 120 for a slow test case. Take the
14558 `gdb,timeout' target setting into account for this calculation.
14559 Don't extend the timeout for the test cases that don't need it.
14561 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14563 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
14564 a factor of 2 for a slow test case. Take the `gdb,timeout'
14565 target setting into account for this calculation.
14566 * gdb.reverse/until-precsave.exp: Increase the timeout by
14567 a factor of 15 and 3 respectively rather than adding 120
14568 for a pair of slow test cases. Take the `gdb,timeout'
14569 target setting into account for this calculation.
14571 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14573 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
14574 timeout, don't pass one down to gdb_expect.
14575 (gdb_expect): Rework timeout selection.
14577 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14579 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
14580 exception on timeout.
14581 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
14582 (gdbserver_start_extended): Catch any `gdbserver_start' error
14584 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
14585 * lib/mi-support.exp (mi_gdb_target_load): Catch any
14586 `gdbserver_gdb_load' error exceptions.
14588 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14590 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
14591 120 on waiting for the TCP socket to open.
14593 2014-09-09 Doug Evans <xdje42@gmail.com>
14595 * gdb.base/default.exp (show_conv_list): Add _caller_is,
14596 _caller_matches, _any_caller_is, _any_caller_matches.
14598 2014-09-09 Doug Evans <xdje42@gmail.com>
14600 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
14602 2014-09-09 Yao Qi <yao@codesourcery.com>
14604 * gdb.mi/mi-var-display.exp: Set print symbol off.
14606 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
14609 * gdb.base/commands.exp: Add tests to verify user-defined
14610 commands with empty bodies.
14611 * gdb.python/py-cmd.exp: Test that we don't show user-defined
14612 python commands in `show user command`.
14613 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
14614 scheme commands in `show user command`.
14616 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14619 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
14620 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
14621 * gdb.python/py-framefilter-invalidarg.exp: New file.
14622 * gdb.python/py-framefilter-invalidarg.py: New file.
14624 2014-09-06 Doug Evans <xdje42@gmail.com>
14627 * gdb.python/py-caller-is.c: New file.
14628 * gdb.python/py-caller-is.exp: New file.
14630 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
14633 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
14634 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
14636 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
14639 * gdb.fortran/print-formatted.exp: New file.
14640 * gdb.fortran/print-formatted.f90: Likewise.
14642 2014-09-03 Sasha Smundak <asmundak@google.com>
14644 * gdb.python/py-frame.exp: Test Frame.read_register.
14646 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
14649 * gdb.python/py-completion.exp: New file.
14650 * gdb.python/py-completion.py: Likewise.
14652 2014-08-28 Doug Evans <dje@google.com>
14654 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
14655 eax,etc. are live with values set by gdb and thus the compiler can't
14657 * gdb.arch/i386-pseudo.c (main): Ditto.
14659 2014-08-27 Doug Evans <dje@google.com>
14661 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
14663 2014-08-25 Doug Evans <dje@google.com>
14665 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
14668 2014-08-25 Doug Evans <dje@google.com>
14670 * gdb.threads/thread-execl.exp: #include <stdio.h>.
14672 2014-08-24 Yao Qi <yao@codesourcery.com>
14674 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
14676 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
14678 2014-08-22 Doug Evans <dje@google.com>
14681 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
14682 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
14683 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
14685 2014-08-22 Yao Qi <yao@codesourcery.com>
14687 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
14688 * gdb.python/py-finish-breakpoint2.exp: Likewise.
14689 * gdb.python/python.exp: Likewise. Use .py file on the host
14690 instead of the build.
14692 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
14694 * gdb.threads/gcore-stale-thread.c: New file.
14695 * gdb.threads/gcore-stale-thread.exp: New file.
14697 2014-08-21 Pedro Alves <palves@redhat.com>
14699 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
14700 * gdb.base/gcore-relro-pie.exp: Likewise.
14701 * gdb.base/gcore-relro.exp: Likewise.
14702 * gdb.base/gcore.exp: Likewise.
14703 * gdb.base/print-symbol-loading.exp: Likewise.
14704 * gdb.threads/gcore-thread.exp: Likewise.
14705 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
14707 2014-08-20 Pedro Alves <palves@redhat.com>
14708 Jan Kratochvil <jan.kratochvil@redhat.com>
14710 * Makefile.in (EXTRA_RULES, CC): New variables, get from
14712 (EXPECT): Handle READ1 being set.
14713 (all): Depend on EXTRA_RULES.
14714 (check-read1, expect-read1, read1.so, read1): New rules.
14715 * README (Testsuite Parameters): Document the READ1 make variable.
14716 (Race detection): New section.
14717 * configure: Regenerate.
14718 * configure.ac: If build==host==target, and running under a
14719 GNU/glibc system, add read1 to the extra Makefile rules.
14720 (EXTRA_RULES): AC_SUBST it.
14721 * lib/read1.c: New file.
14723 2014-08-20 Joel Brobecker <brobecker@adacore.com>
14725 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
14726 the handling of variables declared as a typedef to an array
14727 which a DW_AT_data_location attribute.
14729 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
14730 Pedro Alves <palves@redhat.com>
14734 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
14737 2014-08-19 Pedro Alves <palves@redhat.com>
14739 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
14741 2014-08-19 Yao Qi <yao@codesourcery.com>
14743 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
14746 2014-08-18 David Blaikie <dblaikie@gmail.com>
14748 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
14750 2014-08-18 Joel Brobecker <brobecker@adacore.com>
14752 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
14753 attribute in array range.
14755 2014-08-18 Joel Brobecker <brobecker@adacore.com>
14757 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
14759 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
14762 * gdb.cp/pr17132.cc: New file.
14763 * gdb.cp/pr17132.exp: New file.
14765 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
14767 * gdb.python/py-xmethods.py (A_getarrayind)
14768 (E_method_char_worker.__call__, E_method_int_worker.__call__):
14769 Use 'print' with function call syntax.
14770 (E_method_matcher.match): Fix tab vs space indentation mixup.
14772 2014-08-15 Yao Qi <yao@codesourcery.com>
14774 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
14777 2014-08-15 Yao Qi <yao@codesourcery.com>
14779 * gdb.cp/casts.exp: Set print symbol off.
14780 * gdb.cp/class2.exp: Likewise.
14781 * gdb.cp/overload.exp: Likewise.
14782 * gdb.cp/templates.exp: Likewise.
14784 2014-08-11 Doug Evans <dje@google.com>
14786 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
14787 (test_load_shlib): Update.
14789 2014-08-09 Yao Qi <yao@codesourcery.com>
14791 * gdb.base/display.exp: Invoke is_address_zero_readable.
14792 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
14793 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
14794 * gdb.base/hbreak-unmapped.exp: Return if
14795 is_address_zero_readable returns true.
14796 * gdb.base/signest.exp: Likewise.
14797 * gdb.base/signull.exp: Likewise.
14798 * gdb.base/sigbpt.exp: Likewise.
14799 * gdb.guile/scm-disasm.exp: Do the test if
14800 is_address_zero_readable returns false.
14801 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
14802 * gdb.python/py-arch.exp: Likewise.
14803 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
14804 * lib/gdb.exp (is_address_zero_readable): New proc.
14806 2014-08-09 Yao Qi <yao@codesourcery.com>
14809 * gdb.mi/mi-var-display.exp: Make test messages unique.
14811 2014-08-04 Tom Tromey <tromey@redhat.com>
14813 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
14816 2014-08-04 Tom Tromey <tromey@redhat.com>
14818 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
14821 2014-08-01 Joel Brobecker <brobecker@adacore.com>
14823 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
14824 inner_vla_struct_object_size.
14825 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
14828 2014-07-30 Pedro Alves <palves@redhat.com>
14830 * gdb.threads/signal-command-handle-nopass.exp (test): Add
14833 2014-07-29 Yao Qi <yao@codesourcery.com>
14836 * gdb.base/until-nodebug.exp: New.
14838 2014-07-28 Doug Evans <xdje42@gmail.com>
14841 * gdb.guile/scm-parameter.exp: Add tests for trying to create
14842 previously existing parameter, and previously ambiguously spelled
14845 2014-07-28 Will Newton <will.newton@linaro.org>
14847 * gdb.base/varargs.exp: Remove KFAILs for ARM.
14849 2014-07-26 Ludovic Courtès <ludo@gnu.org>
14850 Doug Evans <xdje42@gmail.com>
14853 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
14855 2014-07-25 Pedro Alves <palves@redhat.com>
14857 * gdb.threads/signal-command-handle-nopass.c: New file.
14858 * gdb.threads/signal-command-handle-nopass.exp: New file.
14859 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
14860 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
14861 * gdb.threads/signal-delivered-right-thread.c: New file.
14862 * gdb.threads/signal-delivered-right-thread.exp: New file.
14864 2014-07-25 Pedro Alves <palves@redhat.com>
14866 * gdb.base/double-prompt-target-event-error.exp
14867 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
14869 (cancel_pagination_in_target_event): Rework double prompt
14871 * gdb.base/paginate-after-ctrl-c-running.exp
14872 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
14874 * gdb.base/paginate-bg-execution.exp
14875 (test_bg_execution_pagination_return)
14876 (test_bg_execution_pagination_cancel): Remove '-notransfer
14878 * gdb.base/paginate-execution-startup.exp
14879 (test_fg_execution_pagination_return)
14880 (test_fg_execution_pagination_cancel): Remove '-notransfer
14882 * gdb.base/paginate-inferior-exit.exp
14883 (test_paginate_inferior_exited): Remove '-notransfer <return>'
14885 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
14886 * lib/gdb.exp (pagination_prompt): Run text through
14888 (gdb_test_multiple): Match $pagination_prompt instead of
14890 (string_to_regexp): Move to lib/gdb-utils.exp.
14892 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14894 * gdb.arch/amd64-entry-value-paramref.S: New file.
14895 * gdb.arch/amd64-entry-value-paramref.cc: New file.
14896 * gdb.arch/amd64-entry-value-paramref.exp: New file.
14897 * gdb.arch/amd64-optimout-repeat.S: New file.
14898 * gdb.arch/amd64-optimout-repeat.c: New file.
14899 * gdb.arch/amd64-optimout-repeat.exp: New file.
14901 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14904 * gdb.base/statistics.exp: New file.
14906 2014-07-17 Doug Evans <dje@google.com>
14909 * gdb.base/maint.exp: Update testing of per-command stats.
14911 2014-07-16 Pedro Alves <palves@redhat.com>
14913 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
14914 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
14915 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
14916 (tfile_write_buf): New functions.
14917 (add_memory_block): Rewrite using the above.
14918 (adjust_function_address): New function.
14919 (FUNCTION_ADDRESS): New macro.
14920 (write_basic_trace_file): Remove short_x local, and use
14921 tfile_write_16. Change type of func_addr local to unsigned long
14922 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
14923 here. Cast argument of add_memory_block to char pointer.
14924 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
14925 (main): Remove parameters.
14926 * gdb.trace/tfile.exp: Remove nowarnings.
14928 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
14930 * gdb.base/debug-expr.exp: Test string evaluation with
14931 "debug expression" on.
14933 2014-07-15 Pedro Alves <palves@redhat.com>
14935 * gdb.base/reread.exp: Use clean_restart.
14937 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
14939 * gdb.arch/avr-flash-qualifer.c: New.
14940 * gdb.arch/avr-flash-qualifer.exp: New.
14942 2014-07-14 Pedro Alves <palves@redhat.com>
14944 * gdb.base/paginate-after-ctrl-c-running.c: New file.
14945 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
14947 2014-07-14 Pedro Alves <palves@redhat.com>
14949 * gdb.base/double-prompt-target-event-error.c: New file.
14950 * gdb.base/double-prompt-target-event-error.exp: New file.
14952 2014-07-14 Pedro Alves <palves@redhat.com>
14955 * gdb.base/paginate-inferior-exit.c: New file.
14956 * gdb.base/paginate-inferior-exit.exp: New file.
14958 2014-07-14 Pedro Alves <palves@redhat.com>
14961 * gdb.base/paginate-bg-execution.c: New file.
14962 * gdb.base/paginate-bg-execution.exp: New file.
14964 2014-07-14 Pedro Alves <palves@redhat.com>
14967 * gdb.base/paginate-execution-startup.c: New file.
14968 * gdb.base/paginate-execution-startup.exp: New file.
14969 * lib/gdb.exp (pagination_prompt): New global.
14970 (default_gdb_spawn): New procedure, factored out from
14972 (default_gdb_start): Adjust to call default_gdb_spawn.
14973 (gdb_spawn): New procedure.
14975 2014-07-14 Pedro Alves <palves@redhat.com>
14977 * lib/gdb.exp (gdb_assert): New procedure.
14978 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
14980 2014-07-14 Pedro Alves <palves@redhat.com>
14982 * gdb.base/execution-termios.c: New file.
14983 * gdb.base/execution-termios.exp: New file.
14985 2014-07-14 Tom Tromey <tromey@redhat.com>
14987 * gdb.cp/vla-cxx.cc: New file.
14988 * gdb.cp/vla-cxx.exp: New file.
14990 2014-07-14 Tom Tromey <tromey@redhat.com>
14992 * gdb.reverse/rerun-prec.c: New file.
14993 * gdb.reverse/rerun-prec.exp: New file.
14995 2014-07-12 Maciej W. Rozycki <macro@mips.com>
14996 Maciej W. Rozycki <macro@codesourcery.com>
14998 * lib/gdb-utils.exp: New file.
14999 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
15000 inline `gdb_init_command' processing.
15001 (gdb_start_cmd): Likewise.
15002 * lib/mi-support.exp (mi_run_cmd): Likewise.
15003 * README: Document `gdb_init_command' and `gdb_init_commands'.
15005 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15007 Fix false FAIL running under a very long directory name.
15008 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
15009 and "set print elements 10000". Twice.
15011 2014-07-11 Yao Qi <yao@codesourcery.com>
15013 * gdb.base/exprs.exp: "set print symbol off".
15015 2014-07-11 Pedro Alves <palves@redhat.com>
15017 * gdb.threads/kill.c: New file.
15018 * gdb.threads/kill.exp: New file.
15020 2014-07-10 Yao Qi <yao@codesourcery.com>
15022 * gdb.trace/tfile.c (write_basic_trace_file)
15023 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
15024 address written to trace file.
15026 2014-07-09 Pedro Alves <palves@redhat.com>
15028 * gdb.base/attach-wait-input.exp: New file.
15029 * gdb.base/attach-wait-input.c: New file.
15031 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
15033 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
15034 setting up test structures.
15035 (main): Call new test function.
15036 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
15037 test function, continue into test function and walk test
15040 2014-07-02 Yao Qi <yao@codesourcery.com>
15042 * gdb.trace/entry-values.c: Define labels 'foo_start' and
15043 'bar_start' at the beginning of functions 'foo' and 'bar'
15045 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
15046 instead of 'foo' and 'bar'.
15048 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
15050 * gdb.btrace/segv.exp: New.
15051 * gdb.btrace/segv.c: New.
15053 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
15055 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
15058 2014-06-30 Mark Wielaard <mjw@redhat.com>
15060 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
15061 vulture, vilify, villar): New volatile array constants.
15062 (vindictive, vegetation): New const volatile array constants.
15063 * gdb.base/volatile.exp: Test volatile and const volatile array
15066 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
15068 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
15069 target lacks support for awatch, rwatch, or hbreak.
15071 2014-06-27 Yao Qi <yao@codesourcery.com>
15073 * gdb.multi/dummy-frame-restore.exp: New.
15074 * gdb.multi/dummy-frame-restore.c: New.
15076 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
15078 * gdb.btrace/gcore.exp: New.
15080 2014-06-23 Pedro Alves <palves@redhat.com>
15082 * gdb.base/watchpoint-reuse-slot.c: New file.
15083 * gdb.base/watchpoint-reuse-slot.exp: New file.
15085 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
15087 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
15088 progspace's filename in 'info', 'enable' and 'disable' command
15091 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
15093 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
15094 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15095 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
15097 2014-06-20 Gary Benson <gbenson@redhat.com>
15099 * gdb.arch/i386-avx.exp: Fix include file location.
15100 * gdb.arch/i386-sse.exp: Likewise.
15102 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
15104 * gdb.dlang/expression.exp: New file.
15106 2014-06-19 Pedro Alves <palves@redhat.com>
15108 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
15110 (top level): ... here. Iterate running tests under different
15111 scheduler-locking settings.
15113 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
15115 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
15116 to DW_FORM_addr and use non-zero addresses.
15118 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
15121 * gdb.python/py-xmethods.cc: Add global function call counters and
15122 increment them in their respective functions. Remove "cout"
15124 * gdb.python/py-xmethods.exp: Make tests check the global function
15125 call counters instead of depending on inferior IO.
15127 2014-06-18 Don Breazeal <donb@codesourcery.com>
15129 * gdb.base/foll-fork.exp (default_fork_parent_follow):
15131 (explicit_fork_parent_follow): Deleted procedure.
15132 (explicit_fork_child_follow): Deleted procedure.
15133 (test_follow_fork): New procedure.
15134 (do_fork_tests): Replace calls to deleted procedures with
15135 calls to test_follow_fork and reset GDB for subsequent
15138 2014-06-17 Yao Qi <yao@codesourcery.com>
15140 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
15143 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
15145 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
15146 Initialize ptr and S explicitly.
15147 (skip_type_update_when_not_use_rtti_test): Likewise.
15149 2014-06-16 Keith Seitz <keiths@redhat.com>
15152 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
15153 the inferior is started.
15155 2014-06-16 Pedro Alves <palves@redhat.com>
15157 * gdb.base/break-main-file-remove-fail.c: New file.
15158 * gdb.base/break-main-file-remove-fail.exp: New file.
15159 * gdb.base/break-unload-file.exp: Use build_executable instead of
15160 prepare_for_testing.
15161 (test_break): New parameter "initial_load". Handle it.
15162 (top level): Add initial_load cmdline/file axis.
15164 2014-06-12 Tom Tromey <tromey@redhat.com>
15166 * gdb.base/completion.exp: Don't use directory name in test.
15168 2014-06-09 Gary Benson <gbenson@redhat.com>
15170 * gdb.base/sigall.c [Functions to send signals]: Reorder to
15171 separate the always-available ANSI-standard signals from the
15172 signals that require checking.
15174 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
15178 2014-06-07 Keith Seitz <keiths@redhat.com>
15182 * gdb.cp/var-tag.cc: New file.
15183 * gdb.cp/var-tag.exp: New file.
15184 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15185 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15186 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15187 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
15189 2014-06-06 Doug Evans <xdje42@gmail.com>
15191 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
15193 2014-06-06 Pedro Alves <palves@redhat.com>
15195 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
15196 in target debug output instead of looking at RSP packets,
15197 disabling the test on any target that uses hardware stepping.
15200 2014-06-06 Pedro Alves <palves@redhat.com>
15202 * gdb.base/break-unload-file.exp: Fix typo.
15204 2014-06-06 Yao Qi <yao@codesourcery.com>
15206 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
15207 from "jit_function" to "^jit_function".
15209 2014-06-06 Yao Qi <yao@codesourcery.com>
15211 * gdb.base/async.c (foo): Add one statement.
15212 * gdb.base/async.exp: Get the next instruction address and
15213 match the output of "nexti" by instruction address. Match
15214 the hex address in the output of "finish".
15216 2014-06-06 Gary Benson <gbenson@redhat.com>
15218 * gdb.base/call-signals.c: Remove preprocessor conditionals
15219 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
15220 SIGSEGV and SIGTERM.
15221 * gdb.base/sigall.c: Likewise.
15222 * gdb.base/unwindonsignal.c: Likewise.
15223 * gdb.reverse/sigall-reverse.c: Likewise.
15225 2014-06-06 Yao Qi <yao@codesourcery.com>
15227 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
15228 readable, skip the test.
15230 2014-06-06 Yao Qi <yao@codesourcery.com>
15232 * gdb.threads/staticthreads.c (thread_function): Move the line
15233 setting breakpoint on forward.
15234 * gdb.threads/staticthreads.exp: Update comments.
15236 2014-06-05 Ludovic Courtès <ludo@gnu.org>
15238 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
15239 "history-append! type error".
15241 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
15243 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
15244 erroneous dprintf expected input.
15246 2014-06-04 Doug Evans <xdje42@gmail.com>
15248 * gdb.guile/scm-generics.exp: Delete.
15250 2014-06-04 Doug Evans <xdje42@gmail.com>
15252 * gdb.guile/scm-breakpoint.exp: Update.
15253 Add tests for breakpoint registration.
15255 2014-06-04 Tom Tromey <tromey@redhat.com>
15257 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
15259 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
15260 inner_vla_struct, vla_union types. Initialize objects of those
15261 types and compute their sizes.
15263 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
15264 Hui Zhu <hui@codesourcery.com>
15266 * gdb.base/fileio.exp: Add test for shell not available as well as
15268 * gdb.base/fileio.c (test_system): Check for shell twice.
15270 2014-06-04 Yao Qi <yao@codesourcery.com>
15272 * gdb.base/auto-connect-native-target.exp: Remove redundant
15273 space from the regexp pattern.
15275 2014-06-04 Yao Qi <yao@codesourcery.com>
15277 * gdb.base/default.exp: Replace "child" with "native" in
15280 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
15282 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
15283 * gdb.python/py-xmethods.exp: New tests to test xmethods.
15284 * gdb.python/py-xmethods.py: Python script supporting the
15285 new testcase and tests.
15287 2014-06-03 Joel Brobecker <brobecker@adacore.com>
15288 Pedro Alves <palves@redhat.com>
15290 PR breakpoints/17000
15291 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
15292 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
15294 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
15296 * gdb.base/subst.exp: Add tests to verify partial path matching
15299 2014-06-03 Pedro Alves <palves@redhat.com>
15301 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
15302 target that doesn't use software single-stepping.
15304 2014-06-03 Pedro Alves <palves@redhat.com>
15306 PR breakpoints/17000
15307 * gdb.base/sss-bp-on-user-bp-2.c: New file.
15308 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
15310 2014-06-02 Doug Evans <xdje42@gmail.com>
15312 * gdb.guile/scm-parameter.exp: New file.
15314 2014-06-02 Doug Evans <xdje42@gmail.com>
15316 * gdb.guile/scm-cmd.c: New file.
15317 * gdb.guile/scm-cmd.exp: New file.
15319 2014-06-02 Doug Evans <xdje42@gmail.com>
15321 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
15322 pretty-printer lookup.
15323 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
15324 (make-pp_s-printer): Call it.
15325 (make-pretty-printer-from-dict): New function.
15326 (lookup-pretty-printer-maker-from-dict): New function.
15327 (*pretty-printer*): Simplify.
15328 (make-objfile-pp_s-printer): New function.
15329 (install-objfile-pretty-printers!): New function.
15330 (make-progspace-pp_s-printer): New function.
15331 (install-progspace-pretty-printers!): New function.
15332 * gdb.guile/scm-progspace.c: New file.
15333 * gdb.guile/scm-progspace.exp: New file.
15335 2014-06-02 Pedro Alves <palves@redhat.com>
15337 * gdb.base/dprintf-bp-same-addr.c: New file.
15338 * gdb.base/dprintf-bp-same-addr.exp: New file.
15340 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15342 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
15343 * gdb.arch/powerpc-power.s: Likewise.
15345 2014-06-02 Joel Brobecker <brobecker@adacore.com>
15347 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
15349 2014-06-01 Yao Qi <yao@codesourcery.com>
15351 * gdb.base/watchpoint.exp (test_watch_location): Check null
15352 pointer can be dereferenced. If not, do the test, otherwise
15355 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15357 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
15359 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
15361 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
15363 * gdb.arch/amd64-invalid-stack-middle.S: New file.
15364 * gdb.arch/amd64-invalid-stack-middle.c: New file.
15365 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
15366 * gdb.arch/amd64-invalid-stack-top.c: New file.
15367 * gdb.arch/amd64-invalid-stack-top.exp: New file.
15369 2014-05-30 Pedro Alves <palves@redhat.com>
15371 PR breakpoints/17000
15372 * gdb.base/sss-bp-on-user-bp.c: New file.
15373 * gdb.base/sss-bp-on-user-bp.exp: New file.
15375 2014-05-30 David Blaikie <dblaikie@gmail.com>
15377 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
15378 gnu_inline semantics via attribute.
15379 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
15380 source explicitly specifies the required semantics.
15382 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
15384 * gdb.reverse/sigall-reverse.exp: Fix a typo.
15386 2014-05-29 Pedro Alves <palves@redhat.com>
15387 Tom Tromey <tromey@redhat.com>
15389 * gdb.base/async-shell.exp: Don't enable target-async.
15390 * gdb.base/async.exp
15391 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
15393 (top level): Don't test with "target-async".
15394 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
15395 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
15396 * gdb.base/inferior-died.exp: Don't enable target-async.
15397 * gdb.base/interrupt-noterm.exp: Likewise.
15398 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
15399 * gdb.mi/mi-nonstop-exit.exp: Likewise.
15400 * gdb.mi/mi-nonstop.exp: Likewise.
15401 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
15402 * gdb.mi/mi-nsintrall.exp: Likewise.
15403 * gdb.mi/mi-nsmoribund.exp: Likewise.
15404 * gdb.mi/mi-nsthrexec.exp: Likewise.
15405 * gdb.mi/mi-watch-nonstop.exp: Likewise.
15406 * gdb.multi/watchpoint-multi.exp: Adjust comment.
15407 * gdb.python/py-evsignal.exp: Don't enable target-async.
15408 * gdb.python/py-evthreads.exp: Likewise.
15409 * gdb.python/py-prompt.exp: Likewise.
15410 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
15411 * gdb.server/solib-list.exp: Don't enable target-async.
15412 * gdb.threads/thread-specific-bp.exp: Likewise.
15413 * lib/mi-support.exp: Adjust to use mi-async.
15415 2014-05-29 Pedro Alves <palves@redhat.com>
15418 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
15419 reason, even in sync mode.
15421 2014-05-29 Pedro Alves <palves@redhat.com>
15422 Hui Zhu <hui@codesourcery.com>
15425 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
15426 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
15427 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
15428 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
15430 2014-05-28 Joel Brobecker <brobecker@adacore.com>
15432 * config/monitor.exp (gdb_target_monitor): Replace use of
15433 "set remotebaud" by "set serial baud".
15435 2014-05-26 Andy Wingo <wingo@igalia.com>
15437 * gdb.guile/scm-breakpoint.exp:
15438 * gdb.guile/scm-gsmob.exp: Update to use plain old object
15439 properties instead of gdb-object-properties.
15441 2014-05-26 Yao Qi <yao@codesourcery.com>
15443 * gdb.server/no-thread-db.exp: Specify source file name
15444 explicitly when setting a breakpoint.
15446 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15448 * gdb.btrace/vdso.c: New.
15449 * gdb.btrace/vdso.exp: New.
15451 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15453 * gdb.base/gcore.exp (capture_command_output): Move ...
15454 * lib/gdb.exp (capture_command_output): ... here.
15456 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
15458 * gdb.btrace/data.exp: Test memory access during btrace replay.
15460 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
15462 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
15464 2014-05-21 Pedro Alves <palves@redhat.com>
15467 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
15468 (top level): Test that output related to execution commands is
15469 sent to the console with CLI commands, but not with MI commands.
15470 Test that breakpoint events are always mirrored to the console.
15471 Also expect the new source line to be output after a "next" in
15472 async mode too. Make it a pass/fail test.
15473 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
15475 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
15477 2014-05-21 Pedro Alves <palves@redhat.com>
15479 * gdb.base/list.exp (build_pattern, test_list): New procedures.
15480 Use them to test variations of "list" after reaching a breakpoint.
15481 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
15482 Test "list" with listsize 10 after reaching a breakpoint.
15483 * gdb.python/python.exp (decode_line current location line
15484 number): Adjust expected line number.
15486 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
15488 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
15489 behavior for $args, pass it directly to "run".
15491 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
15493 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
15496 2014-05-21 Pedro Alves <palves@redhat.com>
15498 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
15499 auto-connect-native-target off".
15500 * gdb.base/auto-connect-native-target.c: New file.
15501 * gdb.base/auto-connect-native-target.exp: New file.
15503 2014-05-21 Pedro Alves <palves@redhat.com>
15505 * gdb.base/default.exp: Test "target native" instead of "target
15508 2014-05-21 Mark Wielaard <mjw@redhat.com>
15510 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
15512 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15514 Fix TLS access for -static -pthread.
15515 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
15516 <HAVE_TLS> (thread_function, main): Initialize it.
15517 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
15519 <$have_tls != "">: Check TLSVAR.
15521 2014-05-21 Pedro Alves <palves@redhat.com>
15523 * gdb.base/dcache-line-read-error.c: New.
15524 * gdb.base/dcache-line-read-error.exp: New.
15526 2014-05-20 Pedro Alves <palves@redhat.com>
15528 * gdb.base/compare-sections.c: New file.
15529 * gdb.base/compare-sections.exp: New file.
15531 2014-05-20 Pedro Alves <palves@redhat.com>
15533 * gdb.base/break-idempotent.c: New file.
15534 * gdb.base/break-idempotent.exp: New file.
15536 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
15538 * gdb.btrace/nohist.exp: New.
15540 2014-05-20 Yao Qi <yao@codesourcery.com>
15542 * lib/gdb.exp (gdb_init): Set timeout if test file is under
15543 gdb.reverse directory and gdb_reverse_timeout exists in board
15545 * README: Document gdb_reverse_timeout.
15547 2014-05-20 Yao Qi <yao@codesourcery.com>
15549 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
15550 'test_file_name'. Treat args as a string instead of a list.
15551 (gdb_init): Rename argument 'args' by 'test_file_name'.
15553 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
15555 * gdb.arch/powerpc-power.exp: New file.
15556 * gdb.arch/powerpc-power.s: New file.
15558 2014-05-16 Doug Evans <dje@google.com>
15560 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
15561 * gdb.base/completion.exp: Check that all expected files exist
15562 before doing file completion.
15564 2014-05-16 Doug Evans <dje@google.com>
15566 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
15568 (do_syscall_tests_without_xml): Update.
15570 2014-05-16 Pedro Alves <palves@redhat.com>
15572 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
15573 instead of "unknown output after running".
15575 2014-05-16 Yao Qi <yao@codesourcery.com>
15577 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
15578 file1.txt from host at the end.
15579 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15581 2014-05-15 Doug Evans <dje@google.com>
15583 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
15584 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
15585 loading file. Add test for TU lookup.
15587 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15589 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
15590 calling "-exec-arguments" or "set args" before running the
15593 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
15595 * lib/mi-support.exp (mi_expect_stop): Expect message for
15596 inferiors that exit with non-zero exit code.
15598 2014-05-14 Yao Qi <yao@codesourcery.com>
15600 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
15601 match absolute path on remote host.
15602 (test_file_list_exec_source_files): Remove "/" from the
15605 2014-05-14 Yao Qi <yao@codesourcery.com>
15607 * boards/local-remote-host-notty.exp (${board}_file): New
15610 2014-05-07 Kyle McMartin <kyle@redhat.com>
15612 Pushed by Joel Brobecker <brobecker@adacore.com>.
15613 * gdb.arch/aarch64-atomic-inst.c: New file.
15614 * gdb.arch/aarch64-atomic-inst.exp: New file.
15616 2014-05-07 Yao Qi <yao@codesourcery.com>
15618 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
15619 in current context" too.
15621 2014-05-05 Keith Seitz <keiths@redhat.com>
15623 * gdb.linespec/ls-dollar.exp: Add test for linespec
15624 file:convenience_variable.
15626 2014-05-05 Yao Qi <yao@codesourcery.com>
15628 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
15629 traceframes into tfile and ctf trace files. Read data from
15630 trace file and test collected data.
15631 (gdb_collect_locals_test): Likewise.
15632 (gdb_unavailable_registers_test): Likewise.
15633 (gdb_unavailable_floats): Likewise.
15634 (gdb_collect_globals_test): Likewise.
15635 (top-level): Append "ctf" to trace_file_targets if GDB
15638 2014-05-05 Yao Qi <yao@codesourcery.com>
15640 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
15642 (gdb_collect_args_test_1): ... it. New proc.
15643 (gdb_collect_locals_test): Move some code to ...
15644 (gdb_collect_locals_test_1): ... it. New proc.
15645 (gdb_unavailable_registers_test): Move some code to ...
15646 (gdb_unavailable_registers_test_1): ... it. New proc.
15647 (gdb_unavailable_floats): Move some code to ...
15648 (gdb_unavailable_floats_1): ... it. New proc.
15650 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15652 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
15653 probes to test for bitness recognition.
15654 * gdb.arch/amd64-stap-optional-prefix.exp
15655 (test_probe_value_without_reg): New procedure.
15656 Add code to test for different kinds of bitness.
15658 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
15660 PR breakpoints/16889
15661 * gdb.arch/amd64-stap-optional-prefix.S: New file.
15662 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
15664 2014-05-01 Pedro Alves <palves@redhat.com>
15666 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
15667 gdb_file_cmd if no file is specified.
15668 * boards/native-extended-gdbserver.exp (gdb_load): Use the
15669 last_loaded_file to set the remote exec-file.
15671 2014-05-01 Pedro Alves <palves@redhat.com>
15673 * boards/local-remote-host.exp: New file.
15675 2014-05-01 Pedro Alves <palves@redhat.com>
15677 * boards/local-remote-host.exp: Rename to ...
15678 * boards/local-remote-host-notty.exp: ... this.
15680 2014-04-28 Joel Brobecker <brobecker@adacore.com>
15682 * gdb.ada/dyn_arrayidx: New testcase.
15684 2014-04-26 Yao Qi <yao@codesourcery.com>
15686 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
15687 and compute the length of function main. Save it in
15689 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
15690 (top-level): Use gdb_compile to compile objects into
15691 executable and restart GDB. Remove invocation to
15692 prepare_for_testing.
15694 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
15695 Pedro Alves <palves@redhat.com>
15698 * gdb.multi/multi-attach.c: New file.
15699 * gdb.multi/multi-attach.exp: New file.
15701 2014-04-25 Pedro Alves <palves@redhat.com>
15703 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
15705 (top level): Test that "set remote conditional-breakpoints-packet
15706 off" works as intended.
15707 * gdb.base/dprintf.exp: Test that "set remote
15708 breakpoint-commands-packet off" works as intended.
15709 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
15711 (top level): Call it.
15712 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
15713 remote fast-tracepoints-packet off" works as intended.
15714 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
15715 * lib/gdb.exp (gdb_is_target_remote): ... here.
15717 2014-04-24 David Blaikie <dblaikie@gmail.com>
15719 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
15720 ensure clang would not discard them.
15721 * gdb.base/gdbvars.c: Ditto.
15722 * gdb.base/memattr.c: Ditto.
15723 * gdb.base/whatis.c: Ditto.
15724 * gdb.python/py-prettyprint.c: Ditto.
15725 * gdb.trace/actions.c: Ditto.
15726 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
15727 ensure clang would not discard it.
15729 2014-04-24 David Blaikie <dblaikie@gmail.com>
15731 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
15732 clang to emit the full definition of type required by the test
15733 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
15735 2014-04-24 David Blaikie <dblaikie@gmail.com>
15737 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
15738 coax Clang into emitting the definition of the type.
15739 * gdb.cp/pr10728-x.h (y): Ditto.
15740 * gdb.cp/pr10728-y.cc (y): Ditto.
15742 2014-04-24 David Blaikie <dblaikie@gmail.com>
15744 * gdb.base/label.exp: XFAIL label related tests under Clang.
15745 * gdb.cp/cplabel.exp: Ditto.
15746 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
15747 under Clang those using labels.
15749 2014-04-25 Yao Qi <yao@codesourcery.com>
15751 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
15753 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
15754 partial_label and double_label.
15756 2014-04-24 David Blaikie <dblaikie@gmail.com>
15758 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
15760 2014-04-24 David Blaikie <dblaikie@gmail.com>
15762 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
15763 of the function to work across GCC and Clang.
15764 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
15765 pointer types (const void ** const V void **).
15767 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
15768 Walfred Tedeschi <walfred.tedeschi@intel.com>
15770 * Makefile.in (EXECUTABLES): Added i386-avx512.
15771 * gdb.arch/i386-avx512.c: New file.
15772 * gdb.arch/i386-avx512.exp: Likewise.
15774 2014-04-23 Keith Seitz <keiths@redhat.com>
15776 * lib/mi-support.exp (mi_list_breakpoints): Delete.
15777 (mi_make_breakpoint_table): New procedure.
15778 (mi_create_breakpoint): Use mi_make_breakpoint
15779 and return the result.
15780 (mi_make_breakpoint): New procedure.
15781 (mi_build_kv_pairs): New procedure.
15783 * gdb.mi/mi-break.exp: Remove unused globals,
15784 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
15785 All callers updated.
15786 * gdb.mi/mi-dprintf.exp: Use variable to track command
15788 Update all callers of mi_create_breakpoint and use
15789 mi_make_breakpoint_table.
15790 Remove any unused global variables.
15791 * gdb.mi/mi-nonstop.exp: Likewise.
15792 * gdb.mi/mi-nsintrall.exp: Likewise.
15793 * gdb.mi/mi-nsmoribund.exp: Likewise.
15794 * gdb.mi/mi-nsthrexec.exp: Likewise.
15795 * gdb.mi/mi-reverse.exp: Likewise.
15796 * gdb.mi/mi-simplerun.exp: Likewise.
15797 * gdb.mi/mi-stepn.exp: Likewise.
15798 * gdb.mi/mi-syn-frame.exp: Likewise.
15799 * gdb.mi/mi-until.exp: Likewise.
15800 * gdb.mi/mi-var-cp.exp: Likewise.
15801 * gdb.mi/mi-var-display.exp: Likewise.
15802 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
15803 * gdb.mi/mi2-var-child.exp: Likewise.
15804 * gdb.mi/mi-vla-c99.exp: Likewise.
15805 * lib/mi-support.exp: Likewise.
15807 From Ian Lance Taylor <iant@cygnus.com>:
15808 * lib/gdb.exp (parse_args): New procedure.
15810 2014-04-23 Pedro Alves <palves@redhat.com>
15812 * gdb.base/break-unload-file.c: New file.
15813 * gdb.base/break-unload-file.exp: New file.
15814 * gdb.base/sym-file-lib.c (baz): New function.
15815 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
15817 (load): Store the segment's mapped size.
15818 (unload): New function.
15819 (unload_shlib): New function.
15820 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
15821 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
15822 set a breakpoint at baz, and call it.
15823 * gdb.base/sym-file.exp: New tests for stale breakpoint
15826 2014-04-23 Pedro Alves <palves@redhat.com>
15828 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
15829 * gdb.base/hbreak-in-shr-unsupported.c: New file.
15830 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
15831 * gdb.base/hbreak-unmapped.c: New file.
15832 * gdb.base/hbreak-unmapped.exp: New file.
15833 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
15834 * lib/gdb.exp (gdb_is_target_remote): ... here.
15836 2014-04-22 Pedro Alves <palves@redhat.com>
15838 * gdb.base/consecutive-step-over.c: New file.
15839 * gdb.base/consecutive-step-over.exp: New file.
15841 2014-04-22 Pedro Alves <palves@redhat.com>
15843 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
15844 instead of send_gdb/gdb_expect.
15846 2014-04-22 Yao Qi <yao@codesourcery.com>
15848 * lib/trace-support.exp (generate_tracefile): New procedure.
15849 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
15851 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
15852 if generate_tracefile returns 1.
15854 2014-04-18 Tom Tromey <palves@redhat.com>
15855 Pedro alves <tromey@redhat.com>
15858 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
15859 with a backtrace limit.
15860 * gdb.python/py-frame-inline.exp: Test running to an inline
15861 function with a backtrace limit, and printing the newest frame.
15862 * gdb.python/py-frame-inline.c (main): Call f.
15864 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
15866 * gdb.java/jnpe.exp: Drop srcdir from untested path.
15868 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
15870 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
15871 Drop prefix from unsupported source file path.
15873 2014-04-17 Yao Qi <yao@codesourcery.com>
15875 * lib/gdb.exp (with_target_charset): New proc.
15876 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
15877 with_target_charset.
15878 (test_print_strings): Likewise.
15879 (test_repeat_bytes): Likewise.
15880 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
15883 2014-04-16 Keith Seitz <keiths@redhat.com>
15886 * gdb.dwarf2/corrupt.c: New file.
15887 * gdb.dwarf2/corrupt.exp: New file.
15889 2014-04-16 Keith Seitz <keiths@redhat.com>
15892 * gdb.cp/namelessclass.cc: New file.
15893 * gdb.cp/namelessclass.exp: New file.
15894 * gdb.cp/namelessclass.S: New file.
15896 2014-04-16 Doug Evans <dje@google.com>
15898 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
15900 (gdbserver_default_get_comm_port): New function.
15901 (gdbserver_start): Check if board file provided
15902 "gdbserver,get_comm_port" and use it if so.
15903 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
15904 (gdb,socketport): Set to "stdio".
15905 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
15906 (stdio_gdbserver_template): Delete.
15907 (${board}_get_remote_address): Update.
15908 (${board}_build_remote_cmd): Delete.
15909 (${board}_get_comm_port): New function.
15910 (${board}_spawn): Update.
15911 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
15913 (${board}_get_remote_address): Update.
15914 (${board}_get_comm_port): New function.
15916 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
15918 * gdb.base/memattr.exp: Improve regexps to handle memory regions
15919 appearing in any order.
15921 2014-04-15 Doug Evans <dje@google.com>
15923 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
15924 uninitialized value of "description".
15926 2014-04-15 Keith Seitz <keiths@redhat.com>
15928 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
15929 Remove unused globals.
15930 (test_running_the_program): Likewise.
15931 (test_controlled_execution): Likewise.
15932 (test_controlling_breakpoints): Likewise.
15933 (test_program_termination): Likewise.
15935 2014-04-15 Keith Seitz <keiths@redhat.com>
15937 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
15939 (test_rbreak_creation_and_listing): Likewise.
15940 (test_ignore_count): Likewise.
15941 (test_error): Likewise.
15943 2014-04-15 Pedro Alves <palves@redhat.com>
15945 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
15946 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
15948 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15949 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15950 to sym-file-loader.c.
15951 (struct library): Forward declare.
15952 (load_shlib, lookup_function): Change prototypes.
15953 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15954 (translate_offset): Remove declarations.
15955 (get_text_addr): New declaration.
15956 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
15957 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
15959 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
15960 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
15961 here from sym-file-loader.h.
15962 (struct library): New structure.
15963 (load_shlib, lookup_function): Change prototypes and adjust to
15964 work with a struct library.
15965 (find_shstrtab, find_strtab, find_shdr, find_symtab)
15966 (translate_offset): Make static.
15967 (get_text_addr): New function.
15968 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
15970 2014-04-15 Pedro Alves <palves@redhat.com>
15972 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
15974 2014-04-15 Pedro Alves <palves@redhat.com>
15976 * gdb.base/sym-file-loader.c: Include <limits.h>.
15977 (SELF_LINK): New define.
15978 (get_origin): New function.
15979 (load_shlib): Use it.
15980 * gdb.base/sym-file.exp: Don't early return if the target is
15981 remote. Use runto_main, and issue fail is that fails. Use
15983 (shlib_name): Delete.
15984 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
15986 2014-04-15 Pedro Alves <palves@redhat.com>
15988 * gdb.base/sym-file.exp: Remove regex characters from test
15989 message. Don't refer to breakpoint numbers in test messages.
15991 2014-04-14 Keith Seitz <keiths@redhat.com>
15994 * gdb.cp/var-tag.cc: New file.
15995 * gdb.cp/var-tag.exp: New file.
15996 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
15997 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
15998 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
15999 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16001 2014-04-14 Tom Tromey <tromey@redhat.com>
16003 * gdb.cp/classes.exp (test_enums): Handle underlying type.
16004 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
16006 * gdb.cp/enum-class.exp: New file.
16007 * gdb.cp/enum-class.cc: New file.
16009 2014-04-14 Tom Tromey <tromey@redhat.com>
16011 * gdb.dwarf2/enum-type.exp: New file.
16013 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16015 * gdb.mi/mi-vla-c99.exp: New file.
16016 * gdb.mi/vla.c: New file.
16018 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16020 * gdb.base/vla-datatypes.c: New file.
16021 * gdb.base/vla-datatypes.exp: New file.
16023 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16025 * gdb.base/vla-ptr.c: New file.
16026 * gdb.base/vla-ptr.exp: New file.
16028 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16030 * gdb.dwarf2/count.exp: New file.
16032 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
16034 * gdb.base/vla-sideeffect.c: New file.
16035 * gdb.base/vla-sideeffect.exp: New file.
16037 2014-04-14 David Blaikie <dblaikie@gmail.com>
16039 * gdb.mi/non-stop.c: Add return value for non-void function return
16041 * gdb.threads/staticthreads.c: Ditto.
16043 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
16044 Doug Evans <xdje42@gmail.com>
16046 * gdb.guile/scm-value.c: Improve test case.
16047 * gdb.guile/scm-value.exp: Add new test.
16049 2014-04-11 David Blaikie <dblaikie@gmail.com>
16051 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
16052 override Clang's default.
16054 2014-04-11 Joel Brobecker <brobecker@adacore.com>
16056 Revert the following changes (regressions):
16058 * gdb.base/vla-sideeffect.c: New file.
16059 * gdb.base/vla-sideeffect.exp: New file.
16061 * gdb.dwarf2/count.exp: New file.
16063 * gdb.base/vla-multi.c: New file.
16064 * gdb.base/vla-multi.exp: New file.
16066 * gdb.base/vla-ptr.c: New file.
16067 * gdb.base/vla-ptr.exp: New file.
16069 * gdb.base/vla-datatypes.c: New file.
16070 * gdb.base/vla-datatypes.exp: New file.
16072 * gdb.mi/mi-vla-c99.exp: New file.
16073 * gdb.mi/vla.c: New file.
16075 2014-04-11 Keith Seitz <keiths@redhat.com>
16078 * gdb.cp/cpsizeof.exp: New file.
16079 * gdb.cp/cpsizeof.cc: New file.
16081 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16083 * gdb.mi/mi-vla-c99.exp: New file.
16084 * gdb.mi/vla.c: New file.
16086 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16088 * gdb.base/vla-datatypes.c: New file.
16089 * gdb.base/vla-datatypes.exp: New file.
16091 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16093 * gdb.base/vla-ptr.c: New file.
16094 * gdb.base/vla-ptr.exp: New file.
16096 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16098 * gdb.base/vla-multi.c: New file.
16099 * gdb.base/vla-multi.exp: New file.
16101 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16103 * gdb.dwarf2/count.exp: New file.
16105 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
16107 * gdb.base/vla-sideeffect.c: New file.
16108 * gdb.base/vla-sideeffect.exp: New file.
16110 2014-04-11 Yao Qi <yao@codesourcery.com>
16112 * gdb.base/completion.exp: Check file exists before running tests
16113 on file completion.
16115 2014-04-10 Pedro Alves <palves@redhat.com>
16117 * gdb.base/cond-eval-mode.c: New file.
16118 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
16119 prepare_for_testing to build the new file. Check result of
16121 (test_break, test_watch): New procedures.
16122 (top level): Use them.
16124 2014-04-08 Pierre Muller <muller@sourceware.org>
16126 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
16127 Ctrl-V use for mingw hosts.
16129 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
16131 * gdb.python/py-value.c: Improve test case.
16132 * gdb.python/py-value.exp: Add new test.
16134 2014-04-07 David Blaikie <dblaikie@gmail.com>
16136 * lib/compiler.c: Identify the clang compiler.
16137 * lib/compiler.cc: Ditto.
16139 2014-04-03 Yao Qi <yao@codesourcery.com>
16141 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
16143 2014-04-01 Anton Blanchard <anton@samba.org>
16145 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
16148 2014-04-01 Anton Blanchard <anton@samba.org>
16150 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
16151 prepare_for_testing.
16153 2014-04-01 Anton Blanchard <anton@samba.org>
16155 * gdb.arch/ppc64-atomic-inst.c: Remove.
16156 * gdb.arch/ppc64-atomic-inst.S: New file.
16157 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
16159 2014-03-31 Doug Evans <dje@google.com>
16161 * gdb.base/print-symbol-loading-lib.c: New file.
16162 * gdb.base/print-symbol-loading-main.c: New file.
16163 * gdb.base/print-symbol-loading.exp: New file.
16165 2014-03-31 Yao Qi <yao@codesourcery.com>
16167 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
16169 2014-03-28 Joel Brobecker <brobecker@adacore.com>
16171 * gdb.ada/mi_dyn_arr: New testcase.
16173 2014-03-27 Doug Evans <dje@google.com>
16175 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
16177 2014-03-27 Yao Qi <yao@codesourcery.com>
16179 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
16180 if target is nios2-*-*.
16182 2014-03-26 Yao Qi <yao@codesourcery.com>
16184 * lib/gdb.exp (readline_is_used): New proc.
16185 * gdb.base/completion.exp: Move tests on command complete up.
16186 Skip the rest of tests if readline is not used.
16187 * gdb.ada/complete.exp: Skp the test if readline is not
16189 * gdb.base/filesym.exp: Likewise.
16190 * gdb.base/macscp.exp: Likewise.
16191 * gdb.base/readline-ask.exp: Likewise.
16192 * gdb.base/readline.exp: Likewise.
16193 * gdb.python/py-cmd.exp: Likewise.
16194 * gdb.trace/tfile.exp: Likewise.
16196 2014-03-26 Yao Qi <yao@codesourcery.com>
16198 * gdb.base/macscp.exp: Fix code format issues.
16200 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
16202 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
16203 * gdb.asm/powerpc64le.inc: New file.
16205 2014-03-25 Pedro Alves <palves@redhat.com>
16206 Doug Evans <dje@google.com>
16208 * gdb.base/source-execution.c: New file.
16209 * gdb.base/source-execution.exp: New file.
16210 * gdb.base/source-execution.gdb: New file.
16212 2014-03-24 Doug Evans <dje@google.com>
16214 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
16217 2014-03-24 Hui Zhu <hui@codesourcery.com>
16218 Pedro Alves <palves@redhat.com>
16220 PR breakpoints/16101
16221 * gdb.base/dprintf.exp: Use unsupported rather than changing the
16222 test pass/fail messages. Detect missing support for dprintf when
16223 breakpoints are actually inserted.
16224 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
16225 breakpoints are actually inserted.
16226 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
16229 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
16231 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
16233 2014-03-22 Doug Evans <xdje42@gmail.com>
16235 * gdb.python/python.exp (python not supported): Verify multi-line
16236 python command issues an error.
16237 * gdb.guile/guile.exp (guile not supported): Verify multi-line
16238 guile command issues an error.
16240 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
16242 * gdb.threads/thread-specific.exp: Handle the lack of usable
16243 $this_breakpoint and $this_thread.
16245 2014-03-21 Hui Zhu <hui@codesourcery.com>
16247 * gdb.base/attach.exp (do_command_attach_tests): New.
16249 2014-03-20 Tom Tromey <tromey@redhat.com>
16250 Pedro Alves <palves@redhat.com>
16253 * gdb.base/condbreak-call-false.c: New file.
16254 * gdb.base/condbreak-call-false.exp: New file.
16256 2014-03-20 Pedro Alves <palves@redhat.com>
16258 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
16260 (block_signals, unblock_signals): Delete.
16261 (child_function_2, main): Remove references to deleted variable
16264 2014-03-20 Pedro Alves <palves@redhat.com>
16266 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
16267 Use pthread_kill to signal thread 2.
16268 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16269 Adjust to make the test send itself a signal rather than using the
16270 host's "kill" command.
16272 2014-03-20 Pedro Alves <palves@redhat.com>
16274 * gdb.threads/multiple-step-overs.c: New file.
16275 * gdb.threads/multiple-step-overs.exp: New file.
16276 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16277 Adjust expected infrun debug output.
16279 2014-03-20 Pedro Alves <palves@redhat.com>
16281 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
16282 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
16284 2014-03-20 Pedro Alves <palves@redhat.com>
16286 PR breakpoints/7143
16287 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
16288 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
16289 of gdb_test_multiple.
16290 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
16291 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
16293 2014-03-20 Pedro Alves <palves@redhat.com>
16295 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
16296 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
16298 2014-03-19 Pedro Alves <palves@redhat.com>
16300 * gdb.base/async.exp: Remove early return.
16302 2014-03-19 Pedro Alves <palves@redhat.com>
16304 * gdb.base/async.exp (step& tests): Pass explicit test messages.
16306 2014-03-19 Pedro Alves <palves@redhat.com>
16308 * gdb.base/async.exp (test_background): Expect \r\n after
16309 "completed." in the fail pattern.
16311 2014-03-19 Pedro Alves <palves@redhat.com>
16313 * gdb.base/async.exp (test_background): New procedure.
16314 Use it for all background execution command tests.
16316 2014-03-19 Pedro Alves <palves@redhat.com>
16318 * gdb.base/async.exp: Use prepare_for_testing.
16320 2014-03-19 Pedro Alves <palves@redhat.com>
16322 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
16325 2014-03-19 Pedro Alves <palves@redhat.com>
16327 * gdb.base/async.c (main): Add "jump here" and "until here" line
16329 * gdb.base/async.exp (jump_here): New global.
16330 (jump& test): Use it.
16331 (until_here): New global.
16332 (until& test): Use it.
16334 2014-03-19 Pedro Alves <palves@redhat.com>
16336 * gdb.base/async.exp: Don't frob gdb_protocol.
16338 2014-03-18 Doug Evans <xdje42@gmail.com>
16340 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
16341 Fix spelling of exec-done-display.
16343 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
16346 * gdb.base/gdb-sigterm.c: New file.
16347 * gdb.base/gdb-sigterm.exp: New file.
16349 2014-03-18 Pedro Alves <palves@redhat.com>
16352 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
16353 * lib/mi-support.exp (mi_expect_stop): Add special handling for
16356 2014-03-17 Joel Brobecker <brobecker@adacore.com>
16358 * gdb.ada/pckd_arr_ren: New testcase.
16360 2014-03-13 Doug Evans <xdje42@gmail.com>
16363 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
16364 collect after discarding symbols.
16366 2014-03-13 Ludovic Courtès <ludo@gnu.org>
16367 Doug Evans <xdje42@gmail.com>
16369 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
16370 to history survives a gc.
16372 2014-03-13 Pedro Alves <palves@redhat.com>
16374 * gdb.base/default.exp: Don't test "target procfs".
16376 2014-03-13 Pedro Alves <palves@redhat.com>
16378 * gdb.base/default.exp: Update "target child" and "target procfs"
16379 tests to not expect "Unix".
16381 2014-03-12 Tom Tromey <tromey@redhat.com>
16383 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
16384 New procs. Add target-async tests.
16385 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
16386 Add target-async tests.
16388 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16390 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
16391 'func_start' and 'func_end' for the beginning and end of the
16392 function code, respectively.
16393 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
16394 'func_end' instead of 'func' and 'main'.
16396 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16398 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
16399 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
16400 generate the debug info assembler source.
16402 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16404 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
16405 * gdb.dwarf2/arr-subrange.exp: Likewise.
16406 * gdb.dwarf2/dwz.exp: Likewise.
16407 * gdb.dwarf2/method-ptr.exp: Likewise.
16408 * gdb.dwarf2/missing-sig-type.exp: Likewise.
16409 * gdb.dwarf2/subrange.exp: Likewise.
16410 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
16411 * gdb.dwarf2/implptrpiece.exp: Likewise.
16412 * gdb.dwarf2/nostaticblock.exp: Likewise.
16414 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
16416 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
16417 directory to absolute path name arguments.
16419 2014-03-10 Joel Brobecker <brobecker@adacore.com>
16421 * gdb.ada/tagged_access: New testcase.
16423 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
16425 * gdb.btrace/data.exp: Update expected output.
16427 2014-03-06 Yao Qi <yao@codesourcery.com>
16429 * gdb.trace/pr16508.exp: New file.
16431 2014-03-05 Pedro Alves <palves@redhat.com>
16434 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
16436 (top level): Adjust to use it. Add tests that exercise breakpoint
16437 interaction with the code-cache.
16439 2014-02-26 Ludovic Courtès <ludo@gnu.org>
16441 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
16442 test for 'history-append!'.
16444 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16446 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
16447 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
16448 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
16449 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
16450 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
16451 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
16453 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16455 * testsuite/gdb.python/py-pp-re-notag.c: New file.
16456 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
16457 * testsuite/gdb.python/py-pp-re-notag.p: New file.
16459 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16461 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
16463 2014-02-26 Joel Brobecker <brobecker@adacore.com>
16465 * gdb.dwarf2/arr-stride.c: New file.
16466 * gdb.dwarf2/arr-stride.exp: New file.
16468 2014-02-26 Pedro Alves <palves@redhat.com>
16470 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
16471 that won't ever trigger. Make sure that GDB reports the correct
16472 breakpoint that caused the stop.
16474 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16477 * gdb.base/auto-load-script: New file.
16478 * gdb.base/auto-load.c: New file.
16479 * gdb.base/auto-load.exp: New file.
16482 * gdb.base/auto-load.exp: Fix out-of-srctree run.
16484 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16486 Fix dw2-icycle.exp -fsanitize=address GDB crash.
16487 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
16489 2014-02-24 Doug Evans <dje@google.com>
16491 * lib/gdb.exp (run_on_host): Log error output if program fails.
16493 2014-02-21 Pedro Alves <palves@redhat.com>
16495 * gdb.threads/step-after-sr-lock.c: Rename to ...
16496 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
16497 * gdb.threads/step-after-sr-lock.exp: Rename to ...
16498 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
16501 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
16504 * gdb.arch/amd64-stap-special-operands.exp: New file.
16505 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
16506 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
16507 * gdb.arch/amd64-stap-triplet.S: Likewise.
16508 * gdb.arch/amd64-stap-triplet.c: Likewise.
16510 2014-02-20 Joel Brobecker <brobecker@adacore.com>
16512 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
16513 in .section pseudo-op.
16515 2014-02-20 lin zuojian <manjian2006@gmail.com>
16516 Joel Brobecker <brobecker@adacore.com>
16517 Doug Evans <xdje42@gmail.com>
16520 * gdb.dwarf2/dw2-icycle.S: New file.
16521 * gdb.dwarf2/dw2-icycle.c: New file.
16522 * gdb.dwarf2/dw2-icycle.exp: New file.
16524 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
16526 * gdb.python/py-value-cc.cc: Improve test case to enable testing
16527 operations on gdb.Value objects.
16528 * gdb.python/py-value-cc.exp: Add new test to test operations on
16531 2014-02-18 Doug Evans <dje@google.com>
16533 * Makefile.in (TESTS): New variable.
16534 (expanded_tests, expanded_tests_or_none): New variables
16535 (check-single): Pass $(expanded_tests_or_none) to runtest.
16536 (check-parallel): Only run tests in $(TESTS) if non-empty.
16537 (check/no-matching-tests-found): New rule.
16538 * README: Document TESTS makefile variable.
16540 2014-02-18 Doug Evans <dje@google.com>
16542 * Makefile.in (check-parallel): rm -rf outputs temp.
16544 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16546 Fix "ERROR: no fileid for" in the testsuite.
16547 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
16549 2014-02-12 Doug Evans <dje@google.com>
16551 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
16552 (MISCELLANEOUS): New variable.
16553 (clean): rm -rf $(MISCELLANEOUS).
16554 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
16555 dwp live in the same directory as symlinks, with each symlink pointed
16556 to a differently named file in a different directory.
16558 2014-02-11 Doug Evans <dje@google.com>
16560 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
16561 of Tcl file commands.
16563 2014-02-10 Mark Kettenis <kettenis@gnu.org>
16565 * gdb.threads/step-after-sr-lock.exp: Avoid executing
16566 "kill -SIGUSR1 -1".
16568 2014-02-10 Joel Brobecker <brobecker@adacore.com>
16570 * gdb.ada/tick_length_array_enum_idx: New testcase.
16572 2014-02-10 Doug Evans <xdje42@gmail.com>
16574 * configure.ac (AC_OUTPUT): Add gdb.guile.
16575 * configure: Regenerate.
16576 * lib/gdb-guile.exp: New file.
16577 * lib/gdb.exp (get_target_charset): New function.
16578 * gdb.base/help.exp: Update expected output from "apropos apropos".
16579 * gdb.guile/Makefile.in: New file.
16580 * gdb.guile/guile.exp: New file.
16581 * gdb.guile/scm-arch.c: New file.
16582 * gdb.guile/scm-arch.exp: New file.
16583 * gdb.guile/scm-block.c: New file.
16584 * gdb.guile/scm-block.exp: New file.
16585 * gdb.guile/scm-breakpoint.c: New file.
16586 * gdb.guile/scm-breakpoint.exp: New file.
16587 * gdb.guile/scm-disasm.c: New file.
16588 * gdb.guile/scm-disasm.exp: New file.
16589 * gdb.guile/scm-equal.c: New file.
16590 * gdb.guile/scm-equal.exp: New file.
16591 * gdb.guile/scm-error.exp: New file.
16592 * gdb.guile/scm-error.scm: New file.
16593 * gdb.guile/scm-frame-args.c: New file.
16594 * gdb.guile/scm-frame-args.exp: New file.
16595 * gdb.guile/scm-frame-args.scm: New file.
16596 * gdb.guile/scm-frame-inline.c: New file.
16597 * gdb.guile/scm-frame-inline.exp: New file.
16598 * gdb.guile/scm-frame.c: New file.
16599 * gdb.guile/scm-frame.exp: New file.
16600 * gdb.guile/scm-generics.exp: New file.
16601 * gdb.guile/scm-gsmob.exp: New file.
16602 * gdb.guile/scm-iterator.c: New file.
16603 * gdb.guile/scm-iterator.exp: New file.
16604 * gdb.guile/scm-math.c: New file.
16605 * gdb.guile/scm-math.exp: New file.
16606 * gdb.guile/scm-objfile-script-gdb.in: New file.
16607 * gdb.guile/scm-objfile-script.c: New file.
16608 * gdb.guile/scm-objfile-script.exp: New file.
16609 * gdb.guile/scm-objfile.c: New file.
16610 * gdb.guile/scm-objfile.exp: New file.
16611 * gdb.guile/scm-ports.exp: New file.
16612 * gdb.guile/scm-pretty-print.c: New file.
16613 * gdb.guile/scm-pretty-print.exp: New file.
16614 * gdb.guile/scm-pretty-print.scm: New file.
16615 * gdb.guile/scm-section-script.c: New file.
16616 * gdb.guile/scm-section-script.exp: New file.
16617 * gdb.guile/scm-section-script.scm: New file.
16618 * gdb.guile/scm-symbol.c: New file.
16619 * gdb.guile/scm-symbol.exp: New file.
16620 * gdb.guile/scm-symtab-2.c: New file.
16621 * gdb.guile/scm-symtab.c: New file.
16622 * gdb.guile/scm-symtab.exp: New file.
16623 * gdb.guile/scm-type.c: New file.
16624 * gdb.guile/scm-type.exp: New file.
16625 * gdb.guile/scm-value-cc.cc: New file.
16626 * gdb.guile/scm-value-cc.exp: New file.
16627 * gdb.guile/scm-value.c: New file.
16628 * gdb.guile/scm-value.exp: New file.
16629 * gdb.guile/source2.scm: New file.
16630 * gdb.guile/types-module.cc: New file.
16631 * gdb.guile/types-module.exp: New file.
16633 2014-02-10 Yao Qi <yao@codesourcery.com>
16636 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
16637 * configure: Regenerated.
16638 * Makefile.in: New file.
16640 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
16642 * gdb.python/py-framefilter.exp: Fix typo.
16644 2014-02-08 Yao Qi <yao@codesourcery.com>
16646 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
16647 that no =breakpoint-modified is emitted when breakpoints are
16648 modified through MI commands.
16650 2014-02-07 Pedro Alves <pedro@codesourcery.com>
16651 Pedro Alves <palves@redhat.com>
16653 * gdb.threads/step-after-sr-lock.c: New file.
16654 * gdb.threads/step-after-sr-lock.exp: New file.
16656 2014-02-07 Pedro Alves <palves@redhat.com>
16658 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
16660 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
16662 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
16663 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
16665 2014-02-06 Doug Evans <xdje42@gmail.com>
16667 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
16670 * gdb.gdb/python-interrupts.exp: New file.
16672 2014-02-05 Yao Qi <yao@codesourcery.com>
16674 * gdb.trace/report.exp (use_collected_data): Test the output
16675 of "info threads" and "info inferiors".
16677 2014-02-05 Yao Qi <yao@codesourcery.com>
16681 2013-05-24 Yao Qi <yao@codesourcery.com>
16683 * gdb.trace/tfile.exp: Test inferior and thread.
16685 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16687 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
16689 * gdb.base/step-bt.c: Call hello via function pointer to make
16690 sure its first instruction is executed on powerpc64le-linux.
16692 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16694 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
16696 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16698 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
16699 of the test patterns for use on little-endian systems.
16701 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16703 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
16704 (decimal_vector): Fix for little-endian.
16706 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
16708 * gdb.arch/sparc-sysstep.exp: New file.
16709 * gdb.arch/sparc-sysstep.c: Likewise.
16711 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
16713 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16715 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
16717 2014-01-23 Tom Tromey <tromey@redhat.com>
16719 * gdb.ada/array_char_idx: New testcase.
16721 2014-01-23 Tom Tromey <tromey@redhat.com>
16724 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
16725 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
16728 2014-01-23 Tom Tromey <tromey@redhat.com>
16731 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
16732 string from an inferior frame.
16733 * gdb.python/py-framefilter-mi.exp: Update.
16735 2014-01-22 Doug Evans <dje@google.com>
16737 * gdb.server/server-mon.exp: Add tests for "set debug-format".
16739 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16741 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
16743 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16745 * gdb.trace/entry-values.exp: Remove excess space character from
16746 regex patterns. Handle s390 call instruction.
16748 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16750 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
16751 define "*_start" label. Make "name" static.
16752 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
16753 ${name} by references to ${name}_start.
16755 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
16757 * gdb.base/info-macros.exp: Remove "debug" from the compile
16760 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16762 * gdb.dlang/demangle.exp: New file.
16764 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16766 * gdb.dlang/primitive-types.exp: New file.
16768 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
16770 * configure.ac: Create gdb.dlang/Makefile.
16771 * configure: Regenerate.
16772 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
16773 * gdb.dlang/Makefile.in: New file.
16774 * lib/d-support.exp: New file.
16775 * lib/gdb.exp (skip_d_tests): New proc.
16777 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16779 * gdb.btrace/delta.exp: Check reverse stepi.
16780 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
16781 * gdb.btrace/finish.exp: New.
16782 * gdb.btrace/next.exp: New.
16783 * gdb.btrace/nexti.exp: New.
16784 * gdb.btrace/record_goto.c: Add comments.
16785 * gdb.btrace/step.exp: New.
16786 * gdb.btrace/stepi.exp: New.
16787 * gdb.btrace/multi-thread-step.c: New.
16788 * gdb.btrace/multi-thread-step.exp: New.
16789 * gdb.btrace/rn-dl-bind.c: New.
16790 * gdb.btrace/rn-dl-bind.exp: New.
16791 * gdb.btrace/data.c: New.
16792 * gdb.btrace/data.exp: New.
16793 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
16795 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16797 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
16798 * gdb.btrace/exception.exp: Update.
16799 * gdb.btrace/instruction_history.exp: Update.
16800 * gdb.btrace/record_goto.exp: Update.
16801 * gdb.btrace/tailcall.exp: Update.
16802 * gdb.btrace/unknown_functions.exp: Update.
16803 * gdb.btrace/delta.exp: New.
16805 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16807 * gdb.btrace/record_goto.exp: Add backtrace test.
16808 * gdb.btrace/tailcall.exp: Add backtrace test.
16810 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16812 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
16813 * gdb.btrace/record_goto.c: New.
16814 * gdb.btrace/record_goto.exp: New.
16815 * gdb.btrace/x86-record_goto.S: New.
16817 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16819 * gdb.btrace/function_call_history.exp: Update tests.
16820 * gdb.btrace/instruction_history.exp: Update tests.
16822 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16824 * gdb.btrace/function_call_history.exp: Fix expected field
16825 order for "record function-call-history".
16826 Add new tests for "record function-call-history /c".
16827 * gdb.btrace/exception.cc: New.
16828 * gdb.btrace/exception.exp: New.
16829 * gdb.btrace/tailcall.exp: New.
16830 * gdb.btrace/x86-tailcall.S: New.
16831 * gdb.btrace/x86-tailcall.c: New.
16832 * gdb.btrace/unknown_functions.c: New.
16833 * gdb.btrace/unknown_functions.exp: New.
16834 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
16836 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16838 * gdb.btrace/instruction_history.exp: Update.
16839 * gdb.btrace/function_call_history.exp: Update.
16841 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16843 * gdb.btrace/function_call_history.exp: Fix expected function
16845 * gdb.btrace/instruction_history.exp: Initialize traced.
16846 Remove traced_functions.
16848 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16850 * gdb.btrace/function_call_history.exp: Update
16851 * gdb.btrace/instruction_history.exp: Update.
16853 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
16855 * gdb.btrace/enable.exp: Update expected text.
16857 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
16859 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
16862 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
16864 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
16866 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
16868 * lib/gdb.exp (supports_process_record): Return true for
16869 arm*-linux*. (supports_reverse): Likewise.
16871 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
16875 * gdb.python/py-type.c: Enhance test case.
16876 * gdb.python/py-value-cc.cc: Likewise
16877 * gdb.python/py-type.exp: Add new tests.
16878 * gdb.python/py-value-cc.exp: Likewise
16880 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
16881 Pedro Alves <palves@redhat.com>
16883 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
16884 Make "name" extern.
16885 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
16886 references to ${name}_start by references to ${name}.
16888 2014-01-10 Joel Brobecker <brobecker@adacore.com>
16890 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
16892 2014-01-10 Joel Brobecker <brobecker@adacore.com>
16894 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
16896 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
16897 Pedro Alves <palves@redhat.com>
16899 * gdb.mi/mi-info-os.exp: Connect to the target with
16900 mi_gdb_target_load.
16902 2014-01-08 Pedro Alves <palves@redhat.com>
16904 * gdb.threads/reconnect-signal.c: New file.
16905 * gdb.threads/reconnect-signal.exp: New file.
16907 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
16909 * gdb.base/source-dir.exp: New file.
16911 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16913 * gdb.ada/mi_interface: New testcase.
16915 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16917 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
16918 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
16919 gdb.ada/pp-rec-component/pck.ads: New files.
16921 2014-01-07 Joel Brobecker <brobecker@adacore.com>
16923 * gdb.python/py-pp-integral.c: New file.
16924 * gdb.python/py-pp-integral.py: New file.
16925 * gdb.python/py-pp-integral.exp: New file.
16927 For older changes see ChangeLog-1993-2013.
16929 ;; Local Variables:
16930 ;; mode: change-log
16933 ;; version-control: never
16936 Copyright 2014-2019 Free Software Foundation, Inc.
16937 Copying and distribution of this file, with or without modification,
16938 are permitted provided the copyright notice and this notice are preserved.