[gdb/testsuite] Fix charlen type in mixed-lang-stack.c
[binutils-gdb.git] / gdb / testsuite / ChangeLog
index 5ed9969d187347fe7bce270b02ed10bc668abf62..d8556159e5fc8de2a9da213f15e24c5b13a09ddd 100644 (file)
@@ -1,3 +1,321 @@
+2020-08-15  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.fortran/mixed-lang-stack.c (fortran_charlen_t): New type.
+       (mixed_func_1d_): Use fortran_charlen_t in decl.
+
+2020-08-15  Tom de Vries  <tdevries@suse.de>
+
+       PR backtrace/26390
+       * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all.
+       Update expected pattern.
+
+2020-08-13  Pedro Alves  <pedro@palves.net>
+
+       * gdb.fortran/complex.exp: Check skip_fortran_tests.
+       * gdb.fortran/library-module.exp: Likewise.
+       * gdb.fortran/logical.exp: Likewise.
+       * gdb.fortran/module.exp: Likewise.
+       * gdb.fortran/print_type.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.
+
+2020-08-13  Pedro Alves  <pedro@palves.net>
+
+       * gdb.ada/access_tagged_param.exp: Check skip_ada_tests.
+       * gdb.ada/access_to_packed_array.exp: Likewise.
+       * gdb.ada/access_to_unbounded_array.exp: Likewise.
+       * gdb.ada/addr_arith.exp: Likewise.
+       * gdb.ada/arr_acc_idx_w_gap.exp: Likewise.
+       * gdb.ada/arr_arr.exp: Likewise.
+       * gdb.ada/arr_enum_idx_w_gap.exp: Likewise.
+       * gdb.ada/array_bounds.exp: Likewise.
+       * gdb.ada/array_of_variable_length.exp: Likewise.
+       * gdb.ada/array_ptr_renaming.exp: Likewise.
+       * gdb.ada/array_subscript_addr.exp: Likewise.
+       * gdb.ada/arraydim.exp: Likewise.
+       * gdb.ada/arrayparam.exp: Likewise.
+       * gdb.ada/arrayptr.exp: Likewise.
+       * gdb.ada/assign_1.exp: Likewise.
+       * gdb.ada/assign_arr.exp: Likewise.
+       * gdb.ada/atomic_enum.exp: Likewise.
+       * gdb.ada/attr_ref_and_charlit.exp: Likewise.
+       * gdb.ada/bad-task-bp-keyword.exp: Likewise.
+       * gdb.ada/bias.exp: Likewise.
+       * gdb.ada/boolean_expr.exp: Likewise.
+       * gdb.ada/bp_c_mixed_case.exp: Likewise.
+       * gdb.ada/bp_enum_homonym.exp: Likewise.
+       * gdb.ada/bp_inlined_func.exp: Likewise.
+       * gdb.ada/bp_on_var.exp: Likewise.
+       * gdb.ada/bp_range_type.exp: Likewise.
+       * gdb.ada/bp_reset.exp: Likewise.
+       * gdb.ada/call_pn.exp: Likewise.
+       * gdb.ada/catch_assert_if.exp: Likewise.
+       * gdb.ada/catch_ex.exp: Likewise.
+       * gdb.ada/catch_ex_std.exp: Likewise.
+       * gdb.ada/char_enum.exp: Likewise.
+       * gdb.ada/char_param.exp: Likewise.
+       * gdb.ada/complete.exp: Likewise.
+       * gdb.ada/cond_lang.exp: Likewise.
+       * gdb.ada/convvar_comp.exp: Likewise.
+       * gdb.ada/dgopt.exp: Likewise.
+       * gdb.ada/disc_arr_bound.exp: Likewise.
+       * gdb.ada/display_nested.exp: Likewise.
+       * gdb.ada/dot_all.exp: Likewise.
+       * gdb.ada/dyn_loc.exp: Likewise.
+       * gdb.ada/dyn_stride.exp: Likewise.
+       * gdb.ada/excep_handle.exp: Likewise.
+       * gdb.ada/expr_delims.exp: Likewise.
+       * gdb.ada/expr_with_funcall.exp: Likewise.
+       * gdb.ada/exprs.exp: Likewise.
+       * gdb.ada/fin_fun_out.exp: Likewise.
+       * gdb.ada/fixed_cmp.exp: Likewise.
+       * gdb.ada/formatted_ref.exp: Likewise.
+       * gdb.ada/frame_arg_lang.exp: Likewise.
+       * gdb.ada/frame_args.exp: Likewise.
+       * gdb.ada/fullname_bp.exp: Likewise.
+       * gdb.ada/fun_addr.exp: Likewise.
+       * gdb.ada/fun_in_declare.exp: Likewise.
+       * gdb.ada/fun_overload_menu.exp: Likewise.
+       * gdb.ada/fun_renaming.exp: Likewise.
+       * gdb.ada/funcall_char.exp: Likewise.
+       * gdb.ada/funcall_param.exp: Likewise.
+       * gdb.ada/funcall_ptr.exp: Likewise.
+       * gdb.ada/funcall_ref.exp: Likewise.
+       * gdb.ada/homonym.exp: Likewise.
+       * gdb.ada/info_addr_mixed_case.exp: Likewise.
+       * gdb.ada/info_auto_lang.exp: Likewise.
+       * gdb.ada/info_exc.exp: Likewise.
+       * gdb.ada/info_types.exp: Likewise.
+       * gdb.ada/int_deref.exp: Likewise.
+       * gdb.ada/interface.exp: Likewise.
+       * gdb.ada/iwide.exp: Likewise.
+       * gdb.ada/lang_switch.exp: Likewise.
+       * gdb.ada/length_cond.exp: Likewise.
+       * gdb.ada/maint_with_ada.exp: Likewise.
+       * gdb.ada/mi_catch_assert.exp: Likewise.
+       * gdb.ada/mi_catch_ex.exp: Likewise.
+       * gdb.ada/mi_catch_ex_hand.exp: Likewise.
+       * gdb.ada/mi_dyn_arr.exp: Likewise.
+       * gdb.ada/mi_ex_cond.exp: Likewise.
+       * gdb.ada/mi_exc_info.exp: Likewise.
+       * gdb.ada/mi_interface.exp: Likewise.
+       * gdb.ada/mi_prot.exp: Likewise.
+       * gdb.ada/mi_ref_changeable.exp: Likewise.
+       * gdb.ada/mi_string_access.exp: Likewise.
+       * gdb.ada/mi_task_arg.exp: Likewise.
+       * gdb.ada/mi_task_info.exp: Likewise.
+       * gdb.ada/mi_var_array.exp: Likewise.
+       * gdb.ada/mi_var_union.exp: Likewise.
+       * gdb.ada/mi_variant.exp: Likewise.
+       * gdb.ada/minsyms.exp: Likewise.
+       * gdb.ada/mod_from_name.exp: Likewise.
+       * gdb.ada/nested.exp: Likewise.
+       * gdb.ada/null_array.exp: Likewise.
+       * gdb.ada/optim_drec.exp: Likewise.
+       * gdb.ada/out_of_line_in_inlined.exp: Likewise.
+       * gdb.ada/packed_array_assign.exp: Likewise.
+       * gdb.ada/packed_tagged.exp: Likewise.
+       * gdb.ada/pp-rec-component.exp: Likewise.
+       * gdb.ada/print_chars.exp: Likewise.
+       * gdb.ada/print_pc.exp: Likewise.
+       * gdb.ada/ptr_typedef.exp: Likewise.
+       * gdb.ada/ptype_arith_binop.exp: Likewise.
+       * gdb.ada/ptype_array.exp: Likewise.
+       * gdb.ada/ptype_field.exp: Likewise.
+       * gdb.ada/ptype_tagged_param.exp: Likewise.
+       * gdb.ada/ptype_union.exp: Likewise.
+       * gdb.ada/py_range.exp: Likewise.
+       * gdb.ada/py_taft.exp: Likewise.
+       * gdb.ada/rdv_wait.exp: Likewise.
+       * gdb.ada/rec_comp.exp: Likewise.
+       * gdb.ada/rec_return.exp: Likewise.
+       * gdb.ada/ref_param.exp: Likewise.
+       * gdb.ada/ref_tick_size.exp: Likewise.
+       * gdb.ada/rename_subscript_param.exp: Likewise.
+       * gdb.ada/repeat_dyn.exp: Likewise.
+       * gdb.ada/same_component_name.exp: Likewise.
+       * gdb.ada/same_enum.exp: Likewise.
+       * gdb.ada/scalar_storage.exp: Likewise.
+       * gdb.ada/set_wstr.exp: Likewise.
+       * gdb.ada/small_reg_param.exp: Likewise.
+       * gdb.ada/str_binop_equal.exp: Likewise.
+       * gdb.ada/str_ref_cmp.exp: Likewise.
+       * gdb.ada/str_uninit.exp: Likewise.
+       * gdb.ada/sub_variant.exp: Likewise.
+       * gdb.ada/sym_print_name.exp: Likewise.
+       * gdb.ada/taft_type.exp: Likewise.
+       * gdb.ada/tagged.exp: Likewise.
+       * gdb.ada/tagged_access.exp: Likewise.
+       * gdb.ada/task_bp.exp: Likewise.
+       * gdb.ada/task_switch_in_core.exp: Likewise.
+       * gdb.ada/tasks.exp: Likewise.
+       * gdb.ada/tick_last_segv.exp: Likewise.
+       * gdb.ada/tick_length_array_enum_idx.exp: Likewise.
+       * gdb.ada/type_coercion.exp: Likewise.
+       * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise.
+       * gdb.ada/unchecked_union.exp: Likewise.
+       * gdb.ada/uninitialized_vars.exp: Likewise.
+       * gdb.ada/var_arr_attrs.exp: Likewise.
+       * gdb.ada/var_arr_typedef.exp: Likewise.
+       * gdb.ada/var_rec_arr.exp: Likewise.
+       * gdb.ada/variant-record.exp: Likewise.
+       * gdb.ada/variant.exp: Likewise.
+       * gdb.ada/variant_record_packed_array.exp: Likewise.
+       * gdb.ada/varsize_limit.exp: Likewise.
+       * gdb.ada/whatis_array_val.exp: Likewise.
+       * gdb.ada/widewide.exp: Likewise.
+       * gdb.ada/win_fu_syms.exp: Likewise.
+
+2020-08-12  Gary Benson  <gbenson@redhat.com>
+
+       * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label.
+
+2020-08-04  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to
+       unset the array variable.
+
+2020-08-03  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/26333
+       * lib/dwarf.exp (DW_LNE_user): New proc.
+       * gdb.dwarf2/dw2-vendor-extended-opcode.c: New test.
+       * gdb.dwarf2/dw2-vendor-extended-opcode.exp: New file.
+
+2020-07-31  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.base/coremaker2.c: Change all uses of 'unsigned long long'
+       to 'uintptr_t'
+       (inttypes.h): Include.
+
+2020-07-31  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.base/coremaker2.c (buf_rw): Increase size to 256 KiB.
+       (C5_24k): Delete.
+       (C5_8k, C5_64k, C5_256k): New macros.
+       (buf_ro): Allocate 256 KiB of initialized data.
+
+2020-07-30  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.base/condbreak-bad.exp: Extend the test with scenarios
+       that attempt to overwrite an existing condition with a condition
+       that fails parsing and also with a condition that parses fine
+       but contains junk at the end.
+
+2020-07-30  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.base/condbreak-bad.c: New test.
+       * gdb.base/condbreak-bad.exp: New file.
+
+2020-07-30  Tom de Vries  <tdevries@suse.de>
+
+       * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_entry_1): Factor
+       out of ...
+       (GDBInfoModuleSymbols::check_entry): ... here.
+       (GDBInfoModuleSymbols::check_optional_entry): New proc.
+       * gdb.fortran/info-modules.exp: Use check_optional_entry for entries
+       related to __def_init_mod1_M1t1 / __vtype_mod1_M1t1 / __copy_mod1_M1t1.
+
+2020-07-30  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on
+       "__class_some_module_Number_t" optional.
+
+2020-07-29  Tom de Vries  <tdevries@suse.de>
+
+       * lib/selftest-support.exp (selftest_setup): Allow breakpoint at
+       multiple locations.
+
+2020-07-29  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines
+       rather than function name.
+
+2020-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR symtab/26270:
+       * gdb.cp/disasm-func-name.cc: New file.
+       * gdb.cp/disasm-func-name.exp: New file.
+
+2020-07-28  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to
+       'varval' location.
+
+2020-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-unwind.py: Update to make use of a register
+       descriptor.
+
+2020-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-arch-reg-names.exp: Add additional tests.
+
+2020-07-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR fortran/23051
+       PR fortran/26139
+       * gdb.fortran/class-allocatable-array.exp: New file.
+       * gdb.fortran/class-allocatable-array.f90: New file.
+       * gdb.fortran/pointer-to-pointer.exp: New file.
+       * gdb.fortran/pointer-to-pointer.f90: New file.
+
+2020-07-25  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/26243
+       * gdb.dwarf2/dw2-line-number-zero.c: New test.
+       * gdb.dwarf2/dw2-line-number-zero.exp: New file.
+
+2020-07-24  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/26293
+       * gdb.ada/mi_prot.exp: Require gnatmake-8.
+
+2020-07-23  Pedro Alves  <pedro@palves.net>
+
+       * gdb.server/server-kill.exp (prepare): New, factored out from the
+       top level.
+       (kill_server): New.
+       (test_tstatus, test_unwind_nosyms, test_unwind_syms): New.
+       (top level) : Call test_tstatus, test_unwind_nosyms, test_unwind_syms.
+
+2020-07-23  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file.
+
+2020-07-22  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * lib/gdb.exp (gdb_wrapper_file, gdb_wrapper_flags):
+       Initialize to empty string at top level.
+       (gdb_wrapper_init): Revert check for file existence on build.
+       Build the wrapper in its default place, not a build-specific
+       location.  When host == build, make the pathname absolute.
+       (gdb_compile): Delete leftover declaration of
+       gdb_wrapper_initialized.  Check gdb_wrapper_file being an empty
+       string instead of uninitialized.
+
+2020-07-22  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.base/corefile2.exp: New file.
+       * gdb.base/coremaker2.exp: New file.
+
+2020-07-22  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.base/coredump-filter.exp: Add second
+       non-Private-Shared-Anon-File test.
+       (test_disasm): Rename binfile for test which is expected
+       to fail.
+
 2020-07-22  Kevin Buettner  <kevinb@redhat.com>
 
        * gdb.base/corefile.exp: Add test "accessing read-only mmapped
 
        * 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-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,