[gdb/testsuite] Expect conformation question in gdb.server/solib-list.exp
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index ed56c819cb094752d3d1b7387b8d8f765e002b9c..0c2f47b5f2b63d3532a6cf86fb470b0cef3b3f2d 100644 (file)
@@ -1,3 +1,385 @@
+2020-06-29  Tom de Vries  <tdevries@suse.de>
+
+       PR gdb/25475
+       * gdb.server/solib-list.exp: Verify that the symbol reload
+       confirmation question is asked.
+
+2020-06-26  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * lib/gdb.exp (gdb_test_multiline): New, moved from gdb-guile.exp,
+       have a input seq nr in each pass message.
+        * lib/gdb-guile.exp (gdb_test_multiline): Move to gdb.exp.
+       * lib/gdb-python.exp (gdb_py_test_multiple): Remove.
+       * gdb.python/python.exp: Make test names unique,
+       use gdb_test_multiline instead of gdb_py_test_multiple,
+       use $gdb_test_name.
+       * gdb.guile/guile.exp: Make test names unique, use $gdb_test_name
+
+2020-06-26  Nick Alcock  <nick.alcock@oracle.com>
+
+       * configure.ac: Add --enable-libctf.
+       * aclocal.m4: sinclude ../config/enable.m4.
+       * Makefile.in (site.exp): Add enable_libctf to site.exp.
+       * lib/gdb.exp (skip_ctf_tests): Use it.
+       * gdb.base/ctf-constvars.exp: Error message tweak.
+       * gdb.base/ctf-ptype.exp: Likewise.
+       * configure: Regenerate.
+
+2020-06-26  Gary Benson <gbenson@redhat.com>
+
+       * gdb.cp/try_catch.cc: Include string.h.
+       (main): Replace comparison against string literal with
+       strcmp, avoiding build failure with -Wstring-compare.
+       Add "marker test-complete".
+       * gdb.cp/try_catch.exp: Run the test to the above marker,
+       then verify that the value of "test" is still true.
+
+2020-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.arch/riscv-tdesc-regs.exp: New test cases.
+
+2020-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
+
+2020-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.arch/riscv-tdesc-loading-01.xml: New file.
+       * gdb.arch/riscv-tdesc-loading-02.xml: New file.
+       * gdb.arch/riscv-tdesc-loading-03.xml: New file.
+       * gdb.arch/riscv-tdesc-loading-04.xml: New file.
+       * gdb.arch/riscv-tdesc-loading.exp: New file.
+
+2020-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.arch/riscv-tdesc-regs.exp: Extend test case.
+
+2020-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.arch/riscv-tdesc-regs-32.xml: New file.
+       * gdb.arch/riscv-tdesc-regs-64.xml: New file.
+       * gdb.arch/riscv-tdesc-regs.c: New file.
+       * gdb.arch/riscv-tdesc-regs.exp: New file.
+
+2020-06-24  Pedro Alves  <palves@redhat.com>
+
+       * gdb.arch/amd64-entry-value-paramref.exp: Use
+       prepare_for_testing_full and don't pass "c++" for the .S file
+       build spec.
+       * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
+       $options, since it's an assembly file.  Remove -Wno-deprecated.
+       * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
+       compiling C++ programs.
+
+2020-06-24  Pedro Alves  <palves@redhat.com>
+
+       * lib/gdb.exp (gdb_compile): Update intro comment.  If C/C++ with
+       Clang, add "-Wno-unknown-warning-option" to the options.
+
+2020-06-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.xml/tdesc-reload.c: New file.
+       * gdb.xml/tdesc-reload.exp: New file.
+       * gdb.xml/maint-xml-dump-01.xml: New file.
+       * gdb.xml/maint-xml-dump-02.xml: New file.
+       * gdb.xml/maint-xml-dump.exp: New file.
+
+2020-06-23  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * lib/completion-support.exp (test_gdb_completion_offers_commands):
+       Adjust for omitted commands when TUI is disabled.
+
+2020-06-23  Gary Benson <gbenson@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * gdb.cp/namespace.cc: Improve -Wunused-value fix.
+       * gdb.cp/nsimport.cc: Likewise.
+       * gdb.cp/nsnested.cc: Likewise.
+       * gdb.cp/nsnoimports.cc: Likewise.
+       * gdb.cp/nsusing.cc: Likewise.
+       * gdb.cp/smartp.cc: Likewise.
+       * gdb.python/py-pp-integral.c: Likewise.
+       * gdb.python/py-pp-re-notag.c: Likewise.
+
+2020-06-23  Gary Benson <gbenson@redhat.com>
+
+       * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value.
+       * gdb.cp/nsimport.cc: Likewise.
+       * gdb.cp/nsnested.cc: Likewise.
+       * gdb.cp/nsnoimports.cc: Likewise.
+       * gdb.cp/nsusing.cc: Likewise.
+       * gdb.cp/smartp.cc: Likewise.
+       * gdb.python/py-pp-integral.c: Likewise.
+       * gdb.python/py-pp-re-notag.c: Likewise.
+
+2020-06-22  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.base/default-args.exp: New test.
+       * gdb.base/default-args.c: New file.
+       * gdb.base/alias.exp: Update expected error msg for alias foo=bar.
+       * gdb.base/default.exp: Update to new help text.
+       * gdb.base/help.exp: Likewise.
+       * gdb.base/page.exp: Likewise.
+       * gdb.base/style.exp: Likewise.
+       * gdb.guile/guile.exp: Likewise.
+       * gdb.python/python.exp: Likewise.
+
+2020-06-22  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on
+       remote host.  Fix search path syntax on Windows host.
+
+2020-06-21  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.base/attach.exp: Test priority of 'exec-file' changed
+       over 'exec-file-mismatch'.
+       * gdb.base/attach.c: Mark should_exit volatile.
+       * gdb.base/attach2.c: Likewise.  Add a comment explaining
+       why the sleep cannot be big.
+       * gdb.base/attach3.c: New file.
+
+2020-06-20  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory
+       prefix optional.
+
+2020-06-20  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.base/list-missing-source.exp: Correct $srcfile manipulation
+       for remote host.
+
+2020-06-19  Sandra Loosemore  <sandra@codesourcery.com>
+           Hafiz Abid Qadeer  <abidh@codesourcery.com>
+
+       * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of
+       file sent to remote host.
+       (top level): Allow int32_t as type of 32-bit register.
+
+2020-06-19  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (gdb_note): New proc.
+       * lib/future.exp (gdb_default_target_compile_1): Factor out of ...
+       (gdb_default_target_compile): ... here.  Only call
+       gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set.
+       (use_gdb_compile): Change to array.
+       (toplevel): Update sets of use_gdb_compile to specify language.
+       Warn about default_target_compile override.  Store dejagnu's version
+       of default_target_compile in dejagnu_default_target_compile.
+
+2020-06-18  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ...
+       (default_gdb_init): ... here.
+
+2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
+
+       Fix TUI support checks in gdb.tui tests.
+
+       * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't
+       just say UNSUPPORTED.
+       * gdb.tui/corefile-run.exp: Likewise.
+       * gdb.tui/empty.exp: Likewise.
+       * gdb.tui/list-before.exp: Likewise.
+       * gdb.tui/list.exp: Likewise.
+       * gdb.tui/main.exp: Likewise.
+       * gdb.tui/regs.exp: Likewise.
+       * gdb.tui/resize.exp: Likewise.
+       * gdb.tui/tui-layout-asm-short-prog.exp: Likewise.
+       * gdb.tui/tui-layout-asm.exp: Likewise.
+       * gdb.tui/tui-missing-src.exp: Likewise.
+       * gdb.tui/winheight.exp: Likewise.
+       * gdb.tui/new-layout.exp: Likewise.  Also move check earlier.
+
+2020-06-17 Sandra Loosemore <sandra@codesourcery.com>
+
+       Fix TCL error in gdb.python/py-format-string.exp.
+
+       * gdb.python/py-format-string.exp: Move test for python support
+       earlier, out of function body.
+
+2020-06-15  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.base/index-cache-load-twice.c: New.
+       * gdb.base/index-cache-load-twice.exp: New.
+
+2020-06-17  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS
+       when executing "gdb --configuration".
+
+2020-06-17  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (gdb_tcl_unknown): New proc.
+       (gdb_init): Use gdb_tcl_unknown for ::unknown override.  Make override
+       conditional on presence of gdb_tcl_unknown.
+       (gdb_finish): Make override undo conditional on presence of
+       gdb_tcl_unknown.
+
+2020-06-16  Tom Tromey  <tom@tromey.com>
+
+       * gdb.python/tui-window.py (failwin): New function.  Register it
+       as a TUI window type.
+       * gdb.python/tui-window.exp: Create new "fail" layout.  Test it.
+
+2020-06-16  Gary Benson <gbenson@redhat.com>
+
+       * gdb.python/py-nested-maps.c (create_map): Add missing return
+       value.
+       (create_map_map): Likewise.
+
+2020-06-15  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename
+       variable.
+       * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"),
+       and use the already-defined 'options' variable.
+
+2020-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+           Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global.
+       (gdb_persistent_global, gdb_persistent_global_no_decl): New proc.
+       (gdb_setup_known_globals): New proc.
+       (gdb_cleanup_globals): New proc.
+       * lib/gdb.exp (load_lib): New override proc.
+       (gdb_stdin_log_init): Set var in_file as persistent global.
+       * lib/pascal.exp (gdb_stdin_log_init): Set vars
+       pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and
+       fpc_compiler as persistent global.
+
+2020-06-12  Tom de Vries  <tdevries@suse.de>
+
+       * lib/tuiterm.exp (spawn): Rename to ...
+       (tui_spawn): ... this.
+       (toplevel): Move rename of spawn ...
+       (gdb_init_tuiterm): ... here.  New proc.
+       (gdb_finish_tuiterm): New proc.
+       * lib/gdb.exp (gdb_finish_hooks): New global var.
+       (gdb_finish): Handle gdb_finish_hooks.
+       (tuiterm_env): New proc.
+       * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with
+       tuiterm_env.
+       * gdb.tui/basic.exp: Same.
+       * gdb.tui/corefile-run.exp: Same.
+       * gdb.tui/empty.exp: Same.
+       * gdb.tui/list-before.exp: Same.
+       * gdb.tui/list.exp: Same.
+       * gdb.tui/main.exp: Same.
+       * gdb.tui/new-layout.exp: Same.
+       * gdb.tui/regs.exp: Same.
+       * gdb.tui/resize.exp: Same.
+       * gdb.tui/tui-layout-asm-short-prog.exp: Same.
+       * gdb.tui/tui-layout-asm.exp: Same.
+       * gdb.tui/tui-missing-src.exp: Same.
+       * gdb.tui/winheight.exp: Same.
+
+2020-06-12  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/26110
+       * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown.
+       (gdb_finish): Reinstall dejagnu's override of ::unknown.
+
+2020-06-11  Tom Tromey  <tom@tromey.com>
+
+       PR gdb/18318:
+       * gdb.base/printcmds.exp (test_float_accepted): Add more hex
+       floating point tests.
+
+2020-06-11  Keith Seitz  <keiths@redhat.com>
+
+       PR gdb/21356
+       * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct
+       vla_struct.
+       Add new struct vla_typedef and union vla_typedef_union and
+       corresponding instantiation objects.
+       Initialize new objects.
+       * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object
+       and vla_typedef_union_object.
+       Fixup type for vla_struct_object.
+
+2020-06-11  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (with_override): New proc, factored out of ...
+       * gdb.base/dbx.exp: ... here.  Use with_override and save_vars.
+
+2020-06-10  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.ada/ptype_union.exp: Remove PR24713 workaround.
+
+2020-06-09  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix
+       parameter, update callers.
+
+2020-06-04  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.dwarf2/share-psymtabs-bt.exp: New file.
+       * gdb.dwarf2/share-psymtabs-bt.c: New file.
+       * gdb.dwarf2/share-psymtabs-bt-2.c: New file.
+
+2020-06-04  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages.
+
+2020-06-04  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by
+       exp_continue.
+
+2020-06-04  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail.
+
+2020-06-03  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/26046
+       * gdb.cp/breakpoint-locs-2.cc: New test.
+       * gdb.cp/breakpoint-locs.cc: New test.
+       * gdb.cp/breakpoint-locs.exp: New file.
+       * gdb.cp/breakpoint-locs.h: New test.
+
+2020-06-03  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/25609
+       * gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
+       value of global verbose.
+       * gdb.base/jit-elf.exp: Same.
+       * gdb.base/jit-reader.exp: Same.
+
+2020-06-02  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/multidictionary.exp: Don't use
+       gdb_spawn_with_cmdline_opts.
+
+2020-06-01  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.cp/step-and-next-inline.exp (do_test): Skip all tests in the
+       use_header case.
+       * gdb.dwarf2/dw2-inline-header-1.exp: New file.
+       * gdb.dwarf2/dw2-inline-header-2.exp: New file.
+       * gdb.dwarf2/dw2-inline-header-3.exp: New file.
+       * gdb.dwarf2/dw2-inline-header-lbls.c: New file.
+       * gdb.dwarf2/dw2-inline-header.c: New file.
+       * gdb.dwarf2/dw2-inline-header.h: New file.
+
+2020-05-30  Pedro Alves  <palves@redhat.com>
+
+       * gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
+       * gdb.linespec/cp-replace-typedefs-ns-template.exp: New.
+
+2020-05-29  Gary Benson <gbenson@redhat.com>
+
+       * gdb.compile/compile-cplus.exp (additional_flags): Also
+       set when building with clang.
+       (additional_flags, srcfilesoptions): Pass -Wno-deprecated
+       when building with clang.
+
+2020-05-29  Gary Benson <gbenson@redhat.com>
+
+       * gdb.arch/i386-avx.exp (additional_flags): Also set when
+       building with clang.
+       * gdb.arch/i386-sse.exp (additional_flags): Likewise.
+
 2020-05-29  Gary Benson <gbenson@redhat.com>
 
        * gdb.cp/koenig.exp (prepare_for_testing): Add
This page took 0.031813 seconds and 4 git commands to generate.