gdb: improve command completion for 'print', 'x', and 'display'
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 6973e9fc2fd1053047988a51a2d596ef3a7892d6..3795205309d7d26eb705973711144df88bc4d5af 100644 (file)
@@ -1,3 +1,309 @@
+2020-11-17  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/completion.exp: Add new tests.
+
+2020-11-16  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.dwarf2/data-loc.exp: Update expected output.  Remove C
+       tests.
+
+2020-11-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/fixed_cmp.exp: Add -fgnat-encodings=minimal testing.
+       * gdb.dwarf2/dw2-fixed-point.c (pck__fp1_var2): New global.
+       (main): Add reference to pck__fp1_var2.
+       * gdb.dwarf2/dw2-fixed-point.exp: Add comparison operator testing.
+
+2020-11-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.dwarf2/dw2-fixed-point.exp: Add arithmetic tests.
+
+2020-11-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/fixed_points.exp: Add ptype tests.
+       * gdb.dwarf2/dw2-fixed-point.exp: Likewise.
+
+2020-11-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.dwarf2/dw2-fixed-point.exp: Add "print /x" tests.
+
+2020-11-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/fixed_cmp.exp: Force compilation to use -fgnat-encodings=all.
+       * gdb.ada/fixed_points.exp: Add fixed-point variables printing tests.
+       * gdb.ada/fixed_points/pck.ads, gdb.ada/fixed_points/pck.adb:
+       New files.
+       * gdb.ada/fixed_points/fixed_points.adb: Add use of package Pck.
+
+       * gdb.dwarf2/dw2-fixed-point.c, gdb.dwarf2/dw2-fixed-point.exp:
+       New files.
+
+2020-11-14  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR cli/26879
+       * gdb.fortran/completion.exp: New file.
+       * gdb.fortran/completion.f90: New file.
+
+2020-11-12  Joseph Myers  <joseph@codesourcery.com>
+
+       * lib/gdb.exp (gdb_file_cmd): Check for case where $arg.exe exists
+       but $arg does not.
+
+2020-11-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/types.exp: Add more tests.
+
+2020-11-12  Tom Tromey  <tom@tromey.com>
+
+       PR rust/26799:
+       * gdb.rust/traits.exp: Remove kfails.
+
+2020-11-12  Gary Benson <gbenson@redhat.com>
+
+       * gdb.threads/tls-so_extern_main.c (tls_ptr): Add missing return
+       statement.
+
+2020-11-11  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.base/continue-after-aborted-step-over.exp: Add "breakpoint
+       always-inserted" axis.
+       (do_test): Add breakpoint_always_inserted parameter.
+
+2020-11-10  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/bias.exp: Update.
+       * gdb.ada/bias/bias.adb (X): Change value.
+
+2020-11-10  Gary Benson <gbenson@redhat.com>
+
+       * gdb.base/vla-optimized-out.exp (p sizeof (a)): Wrap supplied
+       regexp fragment in parentheses to prevent false matching.
+
+2020-11-10  Gary Benson <gbenson@redhat.com>
+
+       * gdb.base/vla-optimized-out.c (f1): Add __attribute__ ((weak)).
+
+2020-11-10  Gary Benson <gbenson@redhat.com>
+
+       * gdb.cp/step-and-next-inline.exp: Only require
+       -gstatement-frontiers when building with GCC.
+       Only setup KFAIL's for GCC issues when using
+       a GCC-built executable.
+
+2020-11-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/debug-expr.c: Add extra function to allow for an
+       additional test.
+       * gdb.base/debug-expr.exp (test_debug_expr): Delete, replace calls
+       to this proc with gdb_test_debug_expr.  Add an extra test.
+       * gdb.cp/debug-expr.exp (test_debug_expr): Delete, replace calls
+       to this proc with gdb_test_debug_expr, give the tests names
+       * gdb.dlang/debug-expr.exp (test_debug_expr): Delete, replace
+       calls to this proc with gdb_test_debug_expr, give the tests names
+       * gdb.fortran/debug-expr.exp: New file.
+       * gdb.fortran/debug-expr.f90: New file.
+       * lib/gdb.exp (gdb_test_debug_expr): New proc.
+
+2020-11-06  Simon Marchi  <simon.marchi@efficios.com>
+
+       * lib/dwarf.exp (ranges): Handle "base" and "range" as
+       proceduresu.
+       * gdb.dwarf/dw2-bad-elf.exp: Adjust.
+       * gdb.dwarf2/dw2-inline-many-frames.exp: Adjust.
+       * gdb.dwarf2/dw2-inline-stepping.exp: Adjust.
+       * gdb.dwarf2/dw2-ranges-base.exp: Adjust.
+       * gdb.dwarf2/dw2-ranges-func.exp: Adjust.
+       * gdb.dwarf2/dw2-ranges-overlap.exp: Adjust.
+       * gdb.dwarf2/dw2-ranges-psym.exp: Adjust.
+       * gdb.dwarf2/enqueued-cu-base-addr.exp: Adjust.
+
+2020-11-04  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/funcall_ref.exp: Update.
+       * gdb.ada/var_rec_arr.exp: Update.
+
+2020-11-04  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/rec_ptype.exp: New file.
+       * gdb.ada/rec_ptype/main.adb: New file.
+       * gdb.ada/rec_ptype/p.ads: New file.
+
+2020-11-04  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/tick_length_array_enum_idx.exp: Add ptype test.
+       * gdb.ada/tick_length_array_enum_idx/foo_n207_004.adb
+       (PT_Full): New variable.
+       * gdb.ada/tick_length_array_enum_idx/pck.adb
+       (Full_PT): New type.
+
+2020-11-04  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/array_of_variant.exp: New file.
+       * gdb.ada/array_of_variant/p.adb: New file.
+       * gdb.ada/array_of_variant/pck.ads: New file.
+       * gdb.ada/array_of_variant/pck.adb: New file.
+
+2020-11-04  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/enum_idx_packed.exp: Add test.
+       * gdb.ada/enum_idx_packed/foo.adb (Multi_Access):
+       New variable.
+       * gdb.ada/enum_idx_packed/pck.ads (Short)
+       (Multi_Dimension, Multi_Dimension_Access): New types.
+
+2020-11-04  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/enum_idx_packed.exp: Test two forms of -fgnat-encodings.
+
+2020-11-04  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/set_pckd_arr_elt.exp: Also test
+       -fgnat-encodings=minimal.  Add tests.
+       * gdb.ada/set_pckd_arr_elt/foo.adb (Foo): Add VA variable.
+       Call Update_Small a second time.
+       * gdb.ada/set_pckd_arr_elt/pck.adb (New_Variant): New function.
+       * gdb.ada/set_pckd_arr_elt/pck.ads (Buffer, Variant)
+       (Variant_Access): New types.
+       (New_Variant): Declare.
+
+2020-11-04  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/mod_from_name.exp: Test printing slice.
+
+2020-11-04  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/O2_float_param.exp: Test different -fgnat-encodings
+       values.
+       * gdb.ada/access_to_unbounded_array.exp: Test different
+       -fgnat-encodings values.
+       * gdb.ada/big_packed_array.exp: Test different -fgnat-encodings
+       values.
+       * gdb.ada/arr_enum_idx_w_gap.exp: Test different -fgnat-encodings
+       values.
+       * gdb.ada/array_ptr_renaming.exp: Test different -fgnat-encodings
+       values.
+       * gdb.ada/array_of_variable_length.exp: Test different
+       -fgnat-encodings values.
+       * gdb.ada/arrayparam.exp: Test different -fgnat-encodings values.
+       * gdb.ada/arrayptr.exp: Test different -fgnat-encodings values.
+       * gdb.ada/frame_arg_lang.exp: Revert -fgnat-encodings=minimal
+       change.
+       * gdb.ada/mi_string_access.exp: Test different -fgnat-encodings
+       values.
+       * gdb.ada/mod_from_name.exp: Test different -fgnat-encodings values.
+       * gdb.ada/out_of_line_in_inlined.exp: Test different
+       -fgnat-encodings values.
+       * gdb.ada/packed_array.exp: Test different -fgnat-encodings
+       values.
+       * gdb.ada/pckd_arr_ren.exp: Test different -fgnat-encodings
+       values.
+       * gdb.ada/unc_arr_ptr_in_var_rec.exp: Test different
+       -fgnat-encodings values.
+       * gdb.ada/variant_record_packed_array.exp: Test different
+       -fgnat-encodings values.
+
+2020-11-04  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/enum_idx_packed.exp: Add tests.
+       * gdb.ada/enum_idx_packed/foo.adb: Add variables.
+       * gdb.ada/enum_idx_packed/pck.adb: Add functions.
+       * gdb.ada/enum_idx_packed/pck.ads: Add types, function
+       declarations.
+
+2020-11-03  Tom de Vries  <tdevries@suse.de>
+
+       * lib/dwarf.exp (Dwarf::_handle_DW_TAG): Improve attribute list
+       terminator comments.
+       (Dwarf::cu, Dwarf::tu): Remove superfluous abbreviation table
+       terminator.
+
+2020-11-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.base/step-over-no-symbols.exp (test_step_over): Replace
+       integer format test with regexp.
+
+2020-11-02  Gary Benson <gbenson@redhat.com>
+
+       * gdb.base/print-file-var.exp (test): Separate compiler and
+       linker options, and build using build_executable_from_specs
+       to accommodate this.
+
+2020-11-02  Gary Benson <gbenson@redhat.com>
+
+       * lib/gdb.exp (gdb_compile): Inhibit passing "-x c++"
+       for .c files compiled as C++ with Clang if any shared
+       libraries are specified.
+
+2020-11-02  Gary Benson <gbenson@redhat.com>
+
+       * lib/attributes.h: New header.
+       * gdb.base/backtrace.c: Include the above. Replace
+       __attribute__(noclone)) with ATTRIBUTE_NOCLONE.
+       * gdb.base/infcall-nested-structs.c: Likewise.
+       * gdb.base/vla-optimized-out.c: Likewise.
+
+2020-11-02  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/fission-multi-cu.S: Remove .debug_line.dwo section.
+
+2020-11-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/fixed_points/fixed_points.adb: Replace use of
+       System.Min_Int and System.Max_Int with smaller hardcoded
+       constants.
+
+2020-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure.ac: Split AC_INIT into AC_INIT and AC_CONFIG_SRCDIR.
+       * configure: Re-generate.
+
+2020-10-30  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.arch/amd64-disp-step-avx.exp: Update displaced step debug
+       expected output.
+
+2020-10-30  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.base/paginate-after-ctrl-c-running.exp: Update with no pagination
+       behavior.
+       * gdb.base/paginate-bg-execution.exp: Ditto.
+       * gdb.base/paginate-inferior-exit.exp: Ditto.
+       * gdb.base/double-prompt-target-event-error.c: Remove.
+       * gdb.base/double-prompt-target-event-error.exp: Remove.
+
+2020-10-29  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.base/kill-detach-inferiors-cmd.exp: Check that 'kill
+       inferiors' and 'detach inferiors' do not change the current
+       inferior.
+
+2020-10-29  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.threads/tls.exp: Fix DUPLICATEs.
+
+2020-10-28  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.python/py-symbol.exp: Add KFAILs for -readnow.
+
+2020-10-28  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.ada/exec_changed.exp: Add KFAILs for -readnow.
+       * gdb.base/reread.exp: Same.
+
+2020-10-28  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (readnow): Handle arg.
+       * gdb.rust/traits.exp: Add KFAILs for -readnow.
+
+2020-10-28  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/relocate.exp: Update regexp for -readnow.
+
+2020-10-28  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/dw2-error.exp: Mark failure break in main as known with
+       -readnow.
+
 2020-10-28  Tom de Vries  <tdevries@suse.de>
 
        PR symtab/26772
This page took 0.032399 seconds and 4 git commands to generate.