gdb/testsuite: Make test names unique in gdb.linespec tests
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 2cd9a004df0c0e173deb913a21285dd7a0417215..4228c26b38b207b6f8886d69ed54aedd905c6c3b 100644 (file)
@@ -1,3 +1,398 @@
+2019-10-03  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.linespec/explicit.exp: Make test names unique.
+       * gdb.linespec/ls-errs.exp: Likewise.
+
+2019-10-03  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.reverse/break-precsave.exp: Make test names unique.
+       * gdb.reverse/break-reverse.exp: Likewise.
+       * gdb.reverse/finish-precsave.exp: Likewise.
+       * gdb.reverse/finish-reverse.exp: Likewise.
+       * gdb.reverse/machinestate-precsave.exp: Likewise.
+       * gdb.reverse/machinestate.exp: Likewise.
+       * gdb.reverse/readv-reverse.exp: Likewise.
+       * gdb.reverse/recvmsg-reverse.exp: Likewise.
+       * gdb.reverse/sigall-precsave.exp: Likewise.
+       * gdb.reverse/sigall-reverse.exp: Likewise.
+       * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
+       * gdb.reverse/watch-precsave.exp: Likewise.
+       * gdb.reverse/watch-reverse.exp: Likewise.
+
+2019-10-03  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.threads/stop-with-handle.c: New file.
+       * gdb.threads/stop-with-handle.exp: New file.
+
+2019-10-03  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/25059
+       * gdb.base/list-missing-source.exp: Allowing the "Compilation
+       directory" line to be missing.
+
+2019-10-03  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/25059
+       * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
+       type optional.
+
+2019-10-02  Andreas Arnez  <arnez@linux.ibm.com>
+
+       * gdb.python/py-format-string.c (string.h): New include.
+       (main): Fill a_struct_with_union.the_union.an_int with bytes of
+       the same value, for endianness-independence.
+       * gdb.python/py-format-string.exp (default_regexp_dict)
+       (test_pretty_structs, test_format): Adjust expected output to the
+       changed initialization.
+
+2019-10-02  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
+
+2019-10-02  Pedro Alves  <palves@redhat.com>
+           Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
+       "print-file-var.h".
+       (this_version_id) Use ATTRIBUTE_VISIBILITY.
+       (get_version_1): Print this_version_id and its address.
+       Add extern "C" wrappers around interface functions.
+       * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
+       "print-file-var.h".
+       (this_version_id) Use ATTRIBUTE_VISIBILITY.
+       (get_version_2): Print this_version_id and its address.
+       Add extern "C" wrappers around interface functions.
+       * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
+       <stddef.h> and "print-file-var.h".
+       Add extern "C" wrappers around interface functions.
+       [VERSION_ID_MAIN] (this_version_id): Define.
+       (main): Define v0.  Use dlopen if SHLIB_NAME is defined.
+       * gdb.base/print-file-var.h: Add some #defines to simplify setting
+       up extern "C" blocks.
+       * gdb.base/print-file-var.exp (test): New, factored out from top
+       level.
+       (top level): Test all combinations of attribute hidden or not,
+       dlopen or not, and this_version_id symbol in main file or not.
+       Compile tests as both C++ and C, make test names unique.
+
+2019-10-01  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/style.exp: Test "show logging filename".
+
+2019-10-01  Tom Tromey  <tom@tromey.com>
+
+       * lib/gdb-utils.exp (style): Handle "metadata" argument.
+       * gdb.base/style.exp: Add metadata style test.
+
+2019-10-01  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/style.exp: Test "pwd".
+
+2019-10-01  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/style.exp: Update tests.
+
+2019-10-01  Andreas Arnez  <arnez@linux.ibm.com>
+
+       * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
+       'six' to unsigned.
+       (s1): Initialize fields 'four' and 'six' instead of 'three' and
+       'five'.  Use an all-ones bit pattern for each.
+       * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
+       to its changed values.
+
+2019-09-30  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.rust/traits.rs: Disable all warnings.
+
+2019-09-29  Tom de Vries  <tdevries@suse.de>
+
+        * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
+
+2019-09-29  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
+
+2019-09-27  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
+
+2019-09-27  Tom de Vries  <tdevries@suse.de>
+
+       PR record/23188
+       * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
+
+2019-09-26  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/py_taft.exp: New file.
+       * gdb.ada/py_taft/main.adb: New file.
+       * gdb.ada/py_taft/pkg.adb: New file.
+       * gdb.ada/py_taft/pkg.ads: New file.
+
+2019-09-24  Tom de Vries  <tdevries@suse.de>
+
+       PR gdb/24598
+       * gdb.arch/amd64-init-x87-values.exp: Add xfail.
+
+2019-09-22  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/restore.exp: Allow register variables to be optimized out at
+       -O0.
+
+2019-09-20  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.arch/spu-info.exp: Remove file.
+       * gdb.arch/spu-info.c: Remove file.
+       * gdb.arch/spu-ls.exp: Remove file.
+       * gdb.arch/spu-ls.c: Remove file.
+
+       * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
+       * gdb.asm/spu.inc: Remove file.
+
+       * gdb.base/dump.exp: Remove support for spu*-*-*.
+       * gdb.base/stack-checking.exp: Likewise.
+       * gdb.base/overlays.exp: Likewise.
+       * gdb.base/ovlymgr.c: Likewise.
+       * gdb.base/spu.ld: Remove file.
+
+       * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
+       * gdb.cp/cpexprs.exp: Likewise.
+       * gdb.cp/exception.exp: Likewise.
+       * gdb.cp/gdb2495.exp: Likewise.
+       * gdb.cp/mb-templates.exp: Likewise.
+       * gdb.cp/pr9167.exp: Likewise.
+       * gdb.cp/userdef.exp: Likewise.
+
+       * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
+
+       * gdb.cell: Remove directory.
+       * lib/cell.exp: Remove file.
+
+2019-09-19  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
+
+2019-09-19  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
+
+2019-09-19  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
+       UNSUPPORTED) for 'Network is unreachable' message.  Factor out of ...
+       (gdb_target_cmd): ... here.
+       * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
+       value 2.
+
+2019-09-18  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/source-dir.exp: Avoid having directory names in test
+       names.
+
+2019-09-17  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/source-dir.exp: Add extra test for mapped compilation
+       directory.
+
+2019-09-17  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/list-missing-source.exp: New file.
+
+2019-09-14  Tom de Vries  <tdevries@suse.de>
+
+       PR teststuite/24599
+       * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
+       * lib/ada.exp (gnatmake_version_at_least): New proc.
+
+2019-09-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/maint.exp: Use exec_has_index_section.
+
+2019-09-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/maint.exp: Add test for 'maint info sections'.
+
+2019-09-12  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/store.exp: Allow register variables to be optimized out at
+       -O0.
+
+2019-09-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.ada/rdv_wait.exp: Update to new task names.
+       * gdb.base/task_switch_in_core.exp: Likewise.
+       * gdb.base/info_sources_base.c: Likewise.
+
+2019-09-10  Tom Tromey  <tromey@adacore.com>
+
+       * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
+
+2019-09-10  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/dgopt.exp: New file.
+       * gdb.ada/dgopt/x.adb: New file.
+
+2019-09-08  Tom Tromey  <tom@tromey.com>
+
+       * gdb.tui/resize.exp: Remove setup_xfail.
+       * gdb.tui/regs.exp: Remove setup_xfail.
+       * gdb.tui/basic.exp: Remove setup_xfail.
+
+2019-09-06  David Blaikie  <dblaikie@gmail.com>
+
+       * gdb.base/label.exp: un-XFAIL label related tests under Clang.
+       * gdb.cp/cplabel.exp: Ditto.
+       * gdb.linespec/ls-errs.exp: Ditto.
+
+2019-09-05  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (cmp_file_string): New proc.
+       * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
+       runto_main.  Verify save breakpoints output.
+
+2019-09-04  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.base/info-var.exp: Test info variables without running
+       to main, to avoid expect's buffer overflow.
+
+2019-09-03  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/bias.exp: New file.
+       * gdb.ada/bias/bias.adb: New file.
+       * gdb.ada/print_chars.exp: Add regression test.
+       * gdb.ada/print_chars/foo.adb (My_Character): New type.
+       (MC): New variable.
+
+2019-08-29  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.base/argv0-symlink.exp: Run only on native target
+       and local host.
+
+2019-08-29  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
+       diverse debug info.
+       * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
+
+2019-08-28  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/info-var.exp: Allow info variables to print info for files
+       other than info-var-f1.c and info-var-f2.c.
+
+2019-08-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/info-types.exp: Add module.
+       * gdb.fortran/info-types.f90: Update expected results.
+
+2019-08-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/info-types.exp: New file.
+       * gdb.fortran/info-types.f90: New file.
+       * lib/fortran.exp (fortran_character1): New proc.
+
+2019-08-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
+       functions'.  Reindent as needed.
+       * gdb.base/info-var-f1.c: New file.
+       * gdb.base/info-var-f2.c: New file.
+       * gdb.base/info-var.exp: New file.
+       * gdb.base/info-var.h: New file.
+
+2019-08-26  Tom de Vries  <tdevries@suse.de>
+
+       PR c++/24852
+       * gdb.cp/no-libstdcxx-probe.exp: New test.
+
+2019-08-26  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
+       * tests need to be skipped.
+       * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
+       * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
+       mi_skip_libstdcxx_probe_tests.
+
+2019-08-26  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * gdb.python/py-xmethods.exp: Use raw strings when passing
+       arguments to SimpleXMethodMatcher.
+
+2019-08-22  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
+       more informative.
+
+2019-08-21  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/with.exp: Test "with" with no arguments.
+
+2019-08-21  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/gdb-caching-proc.exp: Sort files.
+
+2019-08-20  Tom de Vries  <tdevries@suse.de>
+
+       * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
+       compilation.
+
+2019-08-16  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/compare-sections.exp ("after run to main"): Allow
+       mismatched read-only sections for PIE executables.
+
+2019-08-16  Tom Tromey  <tom@tromey.com>
+
+       * 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  <sandra@codesourcery.com>
+
+       * gdb.base/examine-backward.exp: Correct regexp for
+       "examine 3 bytes backward from ${address_zero}".
+
+2019-08-15  Tom Tromey  <tom@tromey.com>
+
+       * gdb.tui/empty.exp: Enable resizing tests.
+
+2019-08-15  Tom Tromey  <tromey@adacore.com>
+
+       * 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  <cbiesinger@google.com>
+
+       * gdb.python/python.exp: Expect a leading underscore on
+       GdbOutput{,Error}File.
+
+2019-08-15  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
+       Windows host.
+
+2019-08-15  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.base/batch-preserve-term-settings.exp
+       (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
+
+2019-08-15  Christian Biesinger  <cbiesinger@google.com>
+
+       * lib/gdb.exp: When running on a mingw target, replace
+       /x/ with x:/.
+
+2019-08-14  Alan Hayward  <alan.hayward@arm.com>
+
+       * gdb.arch/aarch64-prologue.c: New test.
+       * gdb.arch/aarch64-prologue.exp: New file.
+
+2019-08-13  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
+       Thread.
+
 2019-08-13  Sandra Loosemore  <sandra@codesourcery.com>
 
        * gdb.python/py-completion.exp: Download the .py file to the host
This page took 0.030059 seconds and 4 git commands to generate.