X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=e56cc16628d070e28cdf49d3391f8370d02d6c62;hb=26c957f12762816a90d5145c7c527ca48c890855;hp=4d7c4a7dffb5a6f777d93f7930aaf95e90afbd3f;hpb=6b78c3f83c8bcbfa714aab7627ece9673b2d602a;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 4d7c4a7dff..e56cc16628 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,423 @@ +2019-08-21 Pedro Alves + + * gdb.base/with.exp: Test "with" with no arguments. + +2019-08-21 Tom de Vries + + * gdb.base/gdb-caching-proc.exp: Sort files. + +2019-08-20 Tom de Vries + + * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before + compilation. + +2019-08-16 Tom de Vries + + * gdb.base/compare-sections.exp ("after run to main"): Allow + mismatched read-only sections for PIE executables. + +2019-08-16 Tom Tromey + + * lib/tuiterm.exp (_csi_Z): New proc. + * gdb.tui/basic.exp: Update window positions. + * gdb.tui/empty.exp: Update window positions. + +2019-08-15 Sandra Loosemore + + * gdb.base/examine-backward.exp: Correct regexp for + "examine 3 bytes backward from ${address_zero}". + +2019-08-15 Tom Tromey + + * gdb.tui/empty.exp: Enable resizing tests. + +2019-08-15 Tom Tromey + + * gdb.ada/char_enum.exp: Add regression tests. + * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_' + and '0'. + (Char, Gchar): Update. + * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'. + +2019-08-15 Christian Biesinger + + * gdb.python/python.exp: Expect a leading underscore on + GdbOutput{,Error}File. + +2019-08-15 Sandra Loosemore + + * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or + Windows host. + +2019-08-15 Sandra Loosemore + + * gdb.base/batch-preserve-term-settings.exp + (test_terminal_settings_preserved_after_sigterm): Skip on Windows. + +2019-08-15 Christian Biesinger + + * lib/gdb.exp: When running on a mingw target, replace + /x/ with x:/. + +2019-08-14 Alan Hayward + + * gdb.arch/aarch64-prologue.c: New test. + * gdb.arch/aarch64-prologue.exp: New file. + +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