[gdb/symtab] Save modules in .debug_names
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index f12a5d7830183518dc30c580c90ed9457469c437..319d3eb976c94796d1ec415a32f078e28014bb15 100644 (file)
@@ -1,3 +1,438 @@
+2020-05-11  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/25941
+       * gdb.dwarf2/clang-debug-names.exp.in: New include exp file, factored
+       out of ...
+       * gdb.dwarf2/clang-debug-names.exp: ... here.
+       * gdb.dwarf2/clang-debug-names-2.exp: New file.  Include
+       clang-debug-names.exp.in.
+       * gdb.dwarf2/clang-debug-names-2-foo.c: New test.
+       * gdb.dwarf2/clang-debug-names-2.c: New test.
+
+2020-05-10  Alok Kumar Sharma  <alokkumar.sharma@amd.com>
+
+       * lib/fortran.exp (fortran_main): New Proc, handle flang MAIN_,
+       (fortran_runto_main): New Proc, fortran version of runto_main.
+       * gdb.fortran/array-bounds-high.exp: Handle flang MAIN_
+       * gdb.fortran/array-bounds.exp: Likewise.
+       * gdb.fortran/array-slices.exp: Likewise.
+       * gdb.fortran/block-data.exp: Likewise.
+       * gdb.fortran/charset.exp: Likewise.
+       * gdb.fortran/common-block.exp: Likewise.
+       * gdb.fortran/complex.exp: Likewise.
+       * gdb.fortran/derived-type-function.exp: Likewise.
+       * gdb.fortran/derived-type.exp: Likewise.
+       * gdb.fortran/info-modules.exp: Likewise.
+       * gdb.fortran/info-types.exp: Likewise.
+       * gdb.fortran/intrinsics.exp: Likewise.
+       * gdb.fortran/library-module.exp: Likewise.
+       * gdb.fortran/logical.exp: Likewise.
+       * gdb.fortran/max-depth.exp: Likewise.
+       * gdb.fortran/module.exp: Likewise.
+       * gdb.fortran/multi-dim.exp: Likewise.
+       * gdb.fortran/nested-funcs.exp: Likewise.
+       * gdb.fortran/print-formatted.exp: Likewise.
+       * gdb.fortran/print_type.exp: Likewise.
+       * gdb.fortran/printing-types.exp: Likewise.
+       * gdb.fortran/ptr-indentation.exp: Likewise.
+       * gdb.fortran/ptype-on-functions.exp: Likewise.
+       * gdb.fortran/subarray.exp: Likewise.
+       * gdb.fortran/vla-alloc-assoc.exp: Likewise.
+       * gdb.fortran/vla-datatypes.exp: Likewise.
+       * gdb.fortran/vla-history.exp: Likewise.
+       * gdb.fortran/vla-ptr-info.exp: Likewise.
+       * gdb.fortran/vla-ptype-sub.exp: Likewise.
+       * gdb.fortran/vla-ptype.exp: Likewise.
+       * gdb.fortran/vla-sizeof.exp: Likewise.
+       * gdb.fortran/vla-type.exp: Likewise.
+       * gdb.fortran/vla-value-sub-arbitrary.exp: Likewise.
+       * gdb.fortran/vla-value-sub-finish.exp: Likewise.
+       * gdb.fortran/vla-value-sub.exp: Likewise.
+       * gdb.fortran/vla-value.exp: Likewise.
+       * gdb.fortran/whatis_type.exp: Likewise.
+       * gdb.mi/mi-var-child-f.exp: Likewise.
+
+2020-05-09  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/clang-debug-names.exp: Remove PR25952 kfail.
+
+2020-05-08  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/clang-debug-names.c: New test.
+       * gdb.dwarf2/clang-debug-names.exp: New file.
+
+2020-05-06  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.arch/amd64-prologue-skip-cf-protection.exp: New file.
+       * gdb.arch/amd64-prologue-skip-cf-protection.c: New file.
+
+2020-05-06  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.reverse/consecutive-precsave.exp: Handle if instruction after
+       breakpoint is at a "recommended breakpoint location".
+       * gdb.reverse/consecutive-reverse.exp: Same.
+
+2020-05-06  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/watchpoint-reuse-slot.exp (stepi): Print $pc to get current
+       address.
+
+2020-05-06  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/watchpoint-reuse-slot.exp: Fix incorrect assignment.
+
+2020-05-06  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/store.exp (check_set, up_set): Allowing missing location
+       info for r.
+
+2020-05-06  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/shlib-call.exp: Add extra step to reach shmain.c:42, if
+       necessary.
+
+2020-05-06  Tom de Vries  <tdevries@suse.de>
+
+       * lib/unbuffer_output.c (gdb_unbuffer_output): Change return type to
+       void.
+
+2020-05-06  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (is_stmt_addresses, hex_in_list): New proc, factored out
+       of ...
+       * gdb.base/async.exp: ... here.
+       * gdb.base/consecutive.exp: Handle if 2nd breakpoint is at a
+       "recommended breakpoint location".
+
+2020-05-06  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.compile/compile-ifunc.exp: Use -Wno-attribute-alias.
+
+2020-05-04  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/async.exp: Check whether instruction addresses are a
+       "recommended breakpoint location".
+
+2020-05-03  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/sepdebug.exp: Remove "catch" test.
+       * gdb.base/break.exp: Remove "catch" test.
+       * gdb.base/default.exp: Update expected output.
+
+2020-05-02  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (supports_mpx_check_pointer_bounds): New proc.
+       * gdb.arch/i386-mpx-call.exp: Use supports_mpx_check_pointer_bounds.
+       * gdb.arch/i386-mpx-map.exp: Same.
+       * gdb.arch/i386-mpx-sigsegv.exp: Same.
+       * gdb.arch/i386-mpx-simple_segv.exp: Same.
+       * gdb.arch/i386-mpx.exp: Same.
+
+2020-05-02  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/psym-external-decl.c (main): Add use of variable aaa.
+
+2020-05-01  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.ada/operator_bp.exp: Allow more than required amount of
+       breakpoint.
+
+2020-05-01  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.reverse/until-reverse.c (main): Fix Wunused-result warning.
+
+2020-04-30  Hannes Domani  <ssbssa@yahoo.de>
+
+       PR gdb/18706
+       * gdb.cp/stub-array-size.cc: New test.
+       * gdb.cp/stub-array-size.exp: New file.
+       * gdb.cp/stub-array-size.h: New test.
+       * gdb.cp/stub-array-size2.cc: New test.
+
+2020-04-30  Hannes Domani  <ssbssa@yahoo.de>
+
+       * gdb.python/py-format-string.exp: Adjust pretty_arrays expected
+       output to the new format.
+
+2020-04-29  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.base/break.exp: Use with_test_prefix.
+
+2020-04-29  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (debug_types): New proc.
+       * gdb.guile/scm-symtab.exp: Add xfail for PR gcc/90232.
+       * gdb.python/py-symtab.exp: Same.
+
+2020-04-29  Hannes Domani  <ssbssa@yahoo.de>
+
+       PR gdb/17320
+       * gdb.base/pretty-array.c: New test.
+       * gdb.base/pretty-array.exp: New file.
+
+2020-04-29  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/25889
+       * gdb.cp/cpexprs.exp: Adapt for inclusion.
+       * gdb.cp/cpexprs-debug-types.exp: New file.  Set -fdebug-types-section
+       and include cpexprs.exp.
+
+2020-04-28 Mark Williams <mark@myosotissp.com>
+
+       PR gdb/24480
+       * dw4-toplevel-types.exp: Test for top level types.
+       * dw4-toplevel-types.cc: Test for top level types.
+
+2020-04-28  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.threads/stop-with-handle.exp: Fix typo in comment
+       (theads -> threads).
+
+2020-04-28  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.opt/inline-cmds.exp: Set KFAIL PR.
+
+2020-04-28  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/info-macros.exp: Remove KFAIL.  Add missing trailing ".*".
+
+2020-04-28  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
+
+2020-04-28  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/main-foo.c: New test.
+       * gdb.dwarf2/struct-with-sig.exp: New file.
+
+2020-04-25  Tom de Vries  <tdevries@suse.de>
+
+       * boards/debug-types.exp: New file.
+
+2020-04-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.btrace/multi-inferior.exp: Avoid paths in test names.
+
+2020-04-24  Tom Tromey  <tom@tromey.com>
+
+       PR symtab/12707:
+       * gdb.python/py-symbol.exp: Update expected results for
+       linkage_name test.
+       * gdb.cp/print-demangle.exp: New file.
+       * gdb.base/c-linkage-name.exp: Fix test.
+       * gdb.guile/scm-symbol.exp: Update expected results for
+       linkage_name test.
+
+2020-04-24  Tom Tromey  <tom@tromey.com>
+
+       * gdb.dwarf2/dw2-namespaceless-anonymous.S: Remove.
+       * gdb.dwarf2/dw2-namespaceless-anonymous.c: New file.
+       * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use DWARF
+       assembler.
+
+2020-04-24  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to
+       C++.
+
+2020-04-24  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/frame_arg_lang.exp: Run with multiple -fgnat-encodings
+       values.
+       * gdb.ada/funcall_ref.exp: Run with multiple -fgnat-encodings
+       values.  Update test for minimal encodings.
+       * gdb.ada/lang_switch.exp: Update test for minimal encodings.
+       * gdb.ada/var_rec_arr.exp: Run with multiple -fgnat-encodings
+       values.  Update test for minimal encodings.
+
+2020-04-24  Tom Tromey  <tromey@adacore.com>
+
+       PR python/23662:
+       * gdb.ada/variant.exp: Add Python checks.
+       * gdb.rust/simple.exp: Add dynamic type checks.
+
+2020-04-24  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/mi_var_array.exp: Try all -fgnat-encodings settings.
+       Make array type matching more lax.
+       * gdb.ada/mi_var_union.exp: Try all -fgnat-encodings settings.
+       * gdb.ada/mi_variant.exp: New file.
+       * gdb.ada/mi_variant/pck.ads: New file.
+       * gdb.ada/mi_variant/pkg.adb: New file.
+       * gdb.ada/packed_tagged.exp: Try all -fgnat-encodings settings.
+       * gdb.ada/unchecked_union.exp: Try all -fgnat-encodings settings.
+
+2020-04-24  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/variant.exp: Add dynamic field offset tests.
+       * gdb.ada/variant/pck.ads (Nested_And_Variable): New type.
+       * gdb.ada/variant/pkg.adb: Add new variables.
+
+2020-04-24  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/variant.exp: New file
+       * gdb.ada/variant/pkg.adb: New file
+       * gdb.ada/variant/pck.adb: New file
+
+2020-04-24  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (clean_restart): Reset errcnt and warncnt.
+
+2020-04-24  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile
+       flags.
+
+2020-04-24  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags.
+
+2020-04-24  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (default_gdb_start): Handle eof.
+       (clean_restart): Detect and handle gdb_start failure.  Return -1 upon
+       failure.
+       * gdb.base/readnever.exp: Handle clean_restart failure.
+
+2020-04-23  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/decl-before-def.exp: Run to main and print a again.
+
+2020-04-23  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/decl-before-def-decl.c: New test.
+       * gdb.base/decl-before-def-def.c: New test.
+       * gdb.base/decl-before-def.exp: New file.
+
+2020-04-23  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow.
+
+2020-04-22  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): Fix
+       debug_info_offset.
+       * gdb.mi/dw2-ref-missing-frame.exp: Make sure $objfuncfile comes
+       before $objsfile in the line line.
+
+2020-04-22  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length.
+
+2020-02-18  Mihails Strasuns  <mihails.strasuns@intel.com>
+
+       * gdb.base/jit-attach-pie.c: Use jit-protocol.h.
+       * gdb.base/jit-elf-main.c: Use jit-protocol.h.
+       * gdb.base/jit-reader-host.c: Use jit-protocol.h.
+       * gdb.base/jit-reader-simple-jit.c: Use jit-protocol.h.
+       * gdb.base/jit-protocol.h: Update definitions to match all usage
+         contexts.
+
+2020-02-18  Mihails Strasuns  <mihails.strasuns@intel.com>
+
+       * gdb.base: Rename all jit related test and source files.
+
+2020-02-18  Mihails Strasuns  <mihails.strasuns@intel.com>
+
+       * gdb.base/jit-reader.exp: Relax register output check.
+
+2020-04-22  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/25764
+       * gdb.base/psym-external-decl-2.c: New test.
+       * gdb.base/psym-external-decl.c: New test.
+       * gdb.base/psym-external-decl.exp: New file.
+       * gdb.threads/tls.exp: Add PR25807 kfail.
+
+2020-04-22  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/25801
+       * gdb.dwarf2/imported-unit.exp: Test that we can get imported_unit.c
+       in "info source" output.
+
+2020-04-22  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/25700
+       * gdb.dwarf2/imported-unit.exp: Verify that there's only one partial
+       symtab for imported_unit.c.
+
+2020-04-21  Gary Benson <gbenson@redhat.com>
+
+       * gdb.base/advance.c (func): New argument, to match call site.
+       (func2, func3): Add return statements.
+
+2020-04-21  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.multi/run-only-second-inf.c: New file.
+       * gdb.multi/run-only-second-inf.exp: New file.
+
+2020-04-21  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/multi-inferior.c: New test.
+       * gdb.btrace/multi-inferior.exp: New file.
+
+2020-04-21  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/enable-new-thread.c: New test.
+       * gdb.btrace/enable-new-thread.exp: New file.
+
+2020-04-21  Tom de Vries  <tdevries@suse.de>
+
+       PR gdb/25471
+       * gdb.threads/killed-outside.c: New test.
+       * gdb.threads/killed-outside.exp: New file.
+
+2020-04-20  Gary Benson <gbenson@redhat.com>
+
+       * gdb.base/nested-subp1.exp: Use support_nested_function_tests.
+       * gdb.base/nested-subp2.exp: Likewise.
+       * gdb.base/nested-subp3.exp: Likewise.
+
+2020-04-20  Gary Benson <gbenson@redhat.com>
+
+       * gdb.base/nested-subp1.exp: Disable test when using clang.
+       * gdb.base/nested-subp2.exp: Likewise.
+       * gdb.base/nested-subp3.exp: Likewise.
+
+2020-04-20  Gary Benson <gbenson@redhat.com>
+
+       * gdb.cp/exception.cc: Fix compilation error with clang.
+
+2020-04-20  Gary Benson <gbenson@redhat.com>
+
+       * gdb.trace/tspeed.c: Fix compilation error with clang.
+
+2020-04-20  Gary Benson <gbenson@redhat.com>
+
+       * gdb.base/jit-main.c: Fix compilation error with clang.
+
+2020-04-17  Kamil Rytarowski  <n54@gmx.com>
+
+       * gdb.base/attach-twice.c: Include "sys/types.h".
+       (PTRACE_ATTACH): Add fallback definition.
+       (main): Pass `0' to the 4th argument of `ptrace'.
+
+2020-04-17  Kamil Rytarowski  <n54@gmx.com>
+
+       * gdb.base/fork-running-state.c: Include "signal.h".
+
+2020-04-17  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.cp/maint.exp (test_help): Simplify multiple_help_body.
+       Update tests.
+       * gdb.btrace/cpu.exp: Update tests.
+       * gdb.base/maint.exp: Update tests.
+       * gdb.base/default.exp: Update tests.
+       * gdb.base/completion.exp: Update tests.
+
+2020-04-16  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/25791
+       * gdb.dwarf2/gdb-add-index.exp (add_gdb_index): Move ...
+       (ensure_gdb_index): and factor out and move ...
+       * lib/gdb.exp (add_gdb_index, ensure_gdb_index): ... here.
+       * gdb.dwarf2/imported-unit-runto-main.exp: New file.
+
 2020-04-16  Tom de Vries  <tdevries@suse.de>
 
        * gdb.base/maint-expand-symbols-header-file.exp: Set language before
 
 2019-09-29  Tom de Vries  <tdevries@suse.de>
 
-        * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
+       * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
 
 2019-09-29  Tom de Vries  <tdevries@suse.de>
 
 2019-07-29  Tom de Vries  <tdevries@suse.de>
 
        * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
-          print registers" regexps.
+       print registers" regexps.
 
 2019-07-29  Tom de Vries  <tdevries@suse.de>
 
This page took 0.031767 seconds and 4 git commands to generate.