X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=e4b9616ddea7583bfe373cf462a97e5fcc9a523b;hb=b1c896b365f2dbcd14145a88d103623244cf0fb0;hp=9129c11a518afc1fd41d23a18ef40919bd925922;hpb=970f9d091dae835304d1a96805bdb5c081a40b48;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 9129c11a51..e4b9616dde 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,497 @@ +2019-08-13 Tom de Vries + + * gdb.gdb/selftest.exp (send ^C to child process again): Accept also + Thread. + +2019-08-13 Sandra Loosemore + + * gdb.python/py-completion.exp: Download the .py file to the host + and use its host pathname. Conditionalize tests that use + tab completion and manipulate files on the build machine. + * gdb.python/py-events.exp: Download the .py file to the host + and use its host pathname. + * gdb.python/py-evsignal.exp: Likewise. + * gdb.python/py-evthreads.exp: Likewise. + * gdb.python/py-framefilter-invalidarg.exp: Match Windows + pathname syntax. + * gdb.python/py-framefilter.exp: Download the .py file to the right + place on the host. Match Windows pathname syntax. + * gdb.python/py-mi-var-info-path-expression.exp: Download the + .py file to the host and use its host pathname. + * gdb.python/py-objfile-script.exp: Match Windows pathname syntax. + * gdb.python/py-objfile.exp: Expect a host pathname, not a + build pathname. Skip symlink test on Windows host. Add missing + newline at end of file. + * gdb.python/py-pp-maint.exp: Download the .py file to the host + and use its host pathname. + * gdb.python/py-pp-registration.exp: Match Windows pathname syntax. + * gdb.python/py-section-script.exp: Use host location of binfile + on safe-path. Use correct path separator on Windows host. + Reorder alternatives in gdb_test_multiple to prevent matching + the wrong alternative on success. + * gdb.python/py-symtab.exp: Match Windows pathname syntax. + +2019-08-12 Patrick Palka + + * gdb.gdb/selftest.exp (test_with_self): Update test to now + expect the GDB inferior to no longer immediately stop after + being resumed with "signal SIGINT". + +2019-08-09 Sandra Loosemore + + * gdb.linespec/break-ask.exp: Generalize regexps to match + Windows pathnames too. + +2019-08-08 Tom de Vries + + PR testsuite/24862 + * lib/tuiterm.exp (_accept): Fix CSI regexp. + +2019-08-07 Philippe Waroquiers + + * gdb.base/style.exp: Update tests for help doc new invariants. + * gdb.base/help.exp: Likewise. + +2019-08-06 Tom Tromey + + * gdb.base/style.exp: Add disassemble test. + * gdb.base/style.c (some_called_function): New function. + (main): Use it. + +2019-08-05 Christian Biesinger + + * gdb.python/py-block.exp: Test dictionary access on blocks. + +2019-08-05 Simon Marchi + + PR gdb/24863 + * gdb.mi/list-thread-groups-available.exp: Increase timeout for + -list-thread-groups --available test when running under + check-read1. + +2019-08-05 Tom de Vries + + PR testsuite/24863 + * lib/gdb.exp (with_read1_timeout_factor): New proc. + * gdb.base/help.exp: Use with_read1_timeout_factor. + * gdb.base/info-macros.exp: Same. + * gdb.cp/nested-types.exp: Same. + +2019-08-05 Tom de Vries + + * lib/gdb.exp (version_at_least): Factor out of ... + (tcl_version_at_least): ... here. + (gdb_compile): Fail if pie results in non-PIE executable. + (readelf_version, readelf_prints_pie): New proc. + (exec_is_pie): Return -1 if unknown. + +2019-08-05 Tom de Vries + + * lib/gdb.exp (tcl_version_at_least): Fix typo. + +2019-08-04 Sandra Loosemore + + * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts. + +2019-08-04 Sandra Loosemore + + * lib/completion-support.exp (test_gdb_complete_none): Skip + tab completion tests if no readline support. + (test_gdb_complete_unique_re): Likewise. + (test_gdb_complete_multiple): Likewise. + +2019-08-03 Philippe Waroquiers + + * gdb.base/info_sources.exp: New file. + * gdb.base/info_sources.c: New file. + * gdb.base/info_sources_base.c: New file. + +2019-08-01 Pedro Franco de Carvalho + + * gdb.base/batch-exit-status.exp: Call test_exit_status with + prefix argument. + (test_exit_status): Add prefix argument. + +2019-08-01 Tom de Vries + + PR testsuite/24863 + * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by + calling exp_continue for new thread and thread exited messages. + +2019-08-01 Tom de Vries + + PR testsuite/24863 + * gdb.base/structs.exp: Fix check-read1 timeout using + gdb_test_sequence. + * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc. + +2019-08-01 Tom de Vries + + PR testsuite/24863 + * gdb.base/break-interp.exp: Use exp_continue after each "info files" + line. + +2019-08-01 Tom de Vries + + PR testsuite/24863 + * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence. + +2019-07-30 Tom Tromey + + * gdb.ada/display_nested.exp: New file. + * gdb.ada/display_nested/foo.adb: New file. + * gdb.ada/display_nested/pack.adb: New file. + * gdb.ada/display_nested/pack.ads: New file. + +2019-07-30 Christian Biesinger + + * gdb.python/py-symbol.c: Add a static variable and one in an anonymous + namespace. + * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol. + +2019-07-30 Tom de Vries + + * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1) + instead. + +2019-07-30 Tom de Vries + + PR testsuite/24834 + * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable. + (exec_is_pie): New proc. + +2019-07-29 Christian Biesinger + + * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent) + +2019-07-29 Christian Biesinger + + * gdb.python/py-objfile.c: Add global and static vars. + * gdb.python/py-objfile.exp: Test new functions Objfile. + lookup_global_symbol and lookup_static_symbol. + +2019-07-29 Tom Tromey + + * lib/tuiterm.exp (Term::_csi_@): New proc. + (Term::_csi_X): Don't move cursor. + +2019-07-29 Philippe Waroquiers + + * gdb.base/options.exp: Update backtrace - completion to + new option -frame-info. + * gdb.base/frame-args.exp: Test new 'frame-arguments presence'. + Test new 'set print frame-info'. Test backtrace -frame-info + overriding 'set print frame-info'. + * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'. + Test new 'set print frame-info'. + Verify consistency of backtrace with and without filters, with and + without -no-filters. + * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what + default. + +2019-07-29 Tom de Vries + + * gdb.linespec/explicit.exp: Fix completion trigger for "complete with + no arguments". + +2019-07-29 Tom de Vries + + * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second + is a substring of the first for "complete non-unique file name". + +2019-07-29 Tom de Vries + + * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp + with ".*". + +2019-07-29 Tom de Vries + + * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1): + Pass prompt_regexp parameter to gdb_test_multiple calls. + +2019-07-29 Tom de Vries + + * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint + print registers" regexps. + +2019-07-29 Tom de Vries + + * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp. + +2019-07-29 Tom de Vries + + PR gdb/24855 + * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter. + (skip_python_tests_prompt): Add prompt_regexp argument to + gdb_test_multiple calls. + +2019-07-27 Tom Tromey + + * gdb.tui/main.exp: New file. + +2019-07-27 Tom Tromey + + * lib/tuiterm.exp (Term::clean_restart): Make "executable" + optional. + * gdb.tui/empty.exp: New file. + +2019-07-27 Tom Tromey + + * lib/tuiterm.exp (spawn): New proc. + (Term::resize): New proc. + * gdb.tui/resize.exp: New file. + +2019-07-27 Tom Tromey + + * gdb.tui/list.exp: New file. + +2019-07-27 Tom Tromey + + * gdb.tui/regs.exp: New file. + +2019-07-27 Tom Tromey + + * gdb.tui/basic.exp: Add "layout split" test. + +2019-07-27 Tom Tromey + + * gdb.tui/basic.exp: Add "layout asm" test. + +2019-07-27 Tom Tromey + + * lib/tuiterm.exp: New file. + * gdb.tui/basic.exp: New file. + +2019-07-27 Kevin Buettner + + * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping): + Enable tests associated with this flag. Adjust regex + referencing "foo_low" to now refer to "foo_cold" instead. + +2019-07-27 Kevin Buettner + + * gdb.dwarf2/dw2-ranges-func.c: Rename to... + * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this. + * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to + foo_cold. Revise comments to match. + * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file. + * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests + were wrapped into this proc; Call do_test in loop from outermost + level. + (foo_low): Rename all occurrences to "foo_cold". + (backtrace from baz): New test. + (x2/i foo_cold): New test. + (info line *foo_cold): New test. + +2019-07-26 Tom de Vries + + * gdb.arch/i386-pkru.exp: Fix unterminated string. + +2019-07-25 Tom de Vries + + PR testsuite/24830 + * gdb.mi/mi-catch-cpp-exceptions.exp: Call + mi_skip_libstdcxx_probe_tests, and skip unsupported tests. + * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ... + (skip_libstdcxx_probe_tests): ... here. + * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc. + +2019-07-24 Tom de Vries + + PR testsuite/24807 + * gdb.objc/basicclass.m: Include stdio.h. + * gdb.objc/nondebug.m: Same. + * gdb.objc/objcdecode.m: Same. + +2019-07-24 Tom de Vries + + PR testsuite/24612 + * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to + additional_flags. + +2019-07-24 Tom de Vries + + PR testsuite/24831 + * gdb.multi/tids.exp: Update error messages for info threads. + +2019-07-24 Tom de Vries + + * gdb.base/info-types.exp: Allow info types to print info for more than + one file. + +2019-07-23 Tom de Vries + + PR testsuite/24842 + * gdb.dwarf2/multidictionary.exp: Consume initial prompt after + gdb_spawn_with_cmdline_opts. + +2019-07-23 Srinath Parvathaneni + + * gdb.arch/arm-cmse-sgstubs.c: New test. + * gdb.arch/arm-cmse-sgstubs.exp: New file. + +2019-07-23 Tom de Vries + + PR testsuite/24711 + * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before + issuing next command. + +2019-07-22 Andrew Burgess + + * gdb.ada/info_auto_lang.exp: Update expected results. + * gdb.base/info-types.c: Add additional types to check. + * gdb.base/info-types.exp: Update expected results. + +2019-07-22 Andrew Burgess + + * gdb.base/info-types.c: New file. + * gdb.base/info-types.exp: New file. + +2019-07-19 Andrew Burgess + + * gdb.arch/riscv-bp-infcall.c: New file. + * gdb.arch/riscv-bp-infcall.exp: New file. + +2019-07-17 Andrew Burgess + + PR breakpoints/24541 + * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541. + +2019-07-14 Tom de Vries + + PR testsuite/24760 + * gdb.objc/basicclass.exp: Fix unterminated string. + +2019-07-12 Bernhard Heckel + Andrew Burgess + + * gdb.fortran/vla-ptype.exp: Print array with negative bounds. + * gdb.fortran/vla-sizeof.exp: Print the size of an array with + negative bounds. + * gdb.fortran/vla-value.exp: Print elements of an array with + negative bounds. + * gdb.fortran/vla.f90: Setup an array with negative bounds for + testing. + +2019-07-11 Andrew Burgess + + * gdb.base/options.exp (expect_string): Dequote strings in + results. + (test-string): Test strings with different quoting and reindent. + +2019-07-10 Tom Tromey + + * gdb.ada/mi_ex_cond.exp: Update expected results. + * gdb.ada/mi_catch_ex_hand.exp: Update expected results. + * gdb.ada/mi_catch_ex.exp: Update expected results. + * gdb.ada/mi_catch_assert.exp: Update expected results. + * gdb.ada/catch_ex.exp (catch_exception_info) + (catch_exception_entry, catch_assert_entry) + (catch_unhandled_entry): Update. + * gdb.ada/catch_assert_if.exp: Update expected results. + +2019-07-10 Richard Bunt + Stephen Roberts + + * gdb.base/define.exp: Restore original prompt. + +2019-07-09 Pedro Alves + + * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info + breakpoints" output. + * gdb.cp/exception.exp: Adjust expected "info breakpoints" output. + * gdb.python/py-breakpoint.exp: No longer expect that "catch + throw" creates breakpoint. + * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect + 'type="catchpoint"'. + +2019-07-09 Pedro Alves + + PR c++/15468 + * gdb.cp/except-multi-location-lib.cc: New. + * gdb.cp/except-multi-location-main.cc: New. + * gdb.cp/except-multi-location.exp: New. + +2019-07-09 Sergio Durigan Junior + + * gdb.base/printcmds.exp (test_printf_convenience_var): Set + language to "c++" before dealing with wchar_t. Remove DO_WSTRING + argument and update callers. + +2019-07-09 Andrew Burgess + + * gdb.arch/amd64-break-on-asm-line.S: New file. + * gdb.arch/amd64-break-on-asm-line.exp: New file. + +2019-07-08 Philippe Waroquiers + + * gdb.base/printcmds.exp: Test printing C string and + C wide string convenience vars without transiting via the inferior. + Also make test names unique. + +2019-07-08 Alan Hayward + + * gdb.base/break-idempotent.exp: Test both PIE and non PIE. + +2019-07-04 Pedro Alves + + * lib/gdb.exp (foreach_with_prefix): Don't return early if + body returned ok(0), break(3) or continue(4). + * gdb.testsuite/foreach_with_prefix.exp: New file. + +2019-07-04 Alan Hayward + + * gdb.server/unittest.exp: Allow 0 unit tests to run. + +2019-07-03 Pedro Alves + + * lib/gdb.exp (foreach_with_prefix): Use "catch" and + "return -code". + +2019-07-03 Pedro Alves + + PR cli/24732 + * gdb.base/shell.exp: Load completion-support.exp. + Adjust expected error output. Add completion tests. + +2019-07-03 Pedro Alves + + * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use + string_to_regexp. + +2019-07-03 Pedro Alves + + * gdb.base/options.exp (expect_none, expect_flag, expect_bool) + (expect_integer): Adjust to expect "-string". + (expect_string): New. + (all_options): Expect "-string". + (test-flag, test-boolean): Adjust to expect "-string". + (test-string): New proc. + (top level): Call it. + +2019-07-03 Pedro Alves + + * gdb.base/options.exp (test-misc, test-flag, test-boolean) + (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass + the expected output in the success. + +2019-07-03 Pedro Alves + + * lib/completion-support.exp (test_gdb_complete_tab_multiple): + Split one gdb_test_multiple call in two to avoid a race. + +2019-07-03 Pedro Alves + + * gdb.base/with.c: New file. + * gdb.base/with.exp: New file. + +2019-07-03 Pedro Alves + + * gdb.base/settings.exp: Replace all references to "maint + test-settings set" with references to "maint set test-settings", + and all references to "maint test-settings show" with references + to "maint show test-settings". + 2019-07-03 Pedro Alves * gdb.base/settings.exp (test-string): Adjust expected out when