X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=d8556159e5fc8de2a9da213f15e24c5b13a09ddd;hb=3d11c30a6e839cfc126353fd1b35960301a1b6a0;hp=76641b3c3333a4d06c1f2007448d533c0405a395;hpb=ed69cbc8ef0a403caff2725072362252ac27bee3;p=binutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 76641b3c333..d8556159e5f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,741 @@ +2020-08-15 Tom de Vries + + * 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 + + PR backtrace/26390 + * gdb.fortran/mixed-lang-stack.exp: Call bt with -frame-arguments all. + Update expected pattern. + +2020-08-13 Pedro Alves + + * 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 + + * 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 + + * gdb.dwarf2/dw2-op-out-param.S (.Ltext5): Fix duplicate label. + +2020-08-04 Andrew Burgess + + * lib/check-test-names.exp (do_reset_vars): Use 'array unset' to + unset the array variable. + +2020-08-03 Tom de Vries + + 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 + + * gdb.base/coremaker2.c: Change all uses of 'unsigned long long' + to 'uintptr_t' + (inttypes.h): Include. + +2020-07-31 Kevin Buettner + + * 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 + + * 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 + + * gdb.base/condbreak-bad.c: New test. + * gdb.base/condbreak-bad.exp: New file. + +2020-07-30 Tom de Vries + + * 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 + + * gdb.fortran/ptype-on-functions.exp: Make "_t" suffix on + "__class_some_module_Number_t" optional. + +2020-07-29 Tom de Vries + + * lib/selftest-support.exp (selftest_setup): Allow breakpoint at + multiple locations. + +2020-07-29 Tom de Vries + + * gdb.dwarf2/dw2-line-number-zero.exp: Set breakpoints on lines + rather than function name. + +2020-07-28 Andrew Burgess + + PR symtab/26270: + * gdb.cp/disasm-func-name.cc: New file. + * gdb.cp/disasm-func-name.exp: New file. + +2020-07-28 Tom Tromey + + * gdb.dwarf2/varval.exp (setup_exec): Add 'or' instruction to + 'varval' location. + +2020-07-28 Andrew Burgess + + * gdb.python/py-unwind.py: Update to make use of a register + descriptor. + +2020-07-28 Andrew Burgess + + * gdb.python/py-arch-reg-names.exp: Add additional tests. + +2020-07-25 Andrew Burgess + + 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 + + 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 + + PR testsuite/26293 + * gdb.ada/mi_prot.exp: Require gnatmake-8. + +2020-07-23 Pedro Alves + + * 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 + + * gdb.dwarf2/dw2-disasm-over-non-stmt.exp: New file. + +2020-07-22 Sandra Loosemore + + * 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 + + * gdb.base/corefile2.exp: New file. + * gdb.base/coremaker2.exp: New file. + +2020-07-22 Kevin Buettner + + * 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 + + * gdb.base/corefile.exp: Add test "accessing read-only mmapped + data in core file". + * gdb.base/coremaker.c (buf2ro): New global. + (mmapdata): Add a read-only mmap mapping. + +2020-07-22 Kevin Buettner + + PR corefiles/25631 + * gdb.base/corefile.exp (accessing anonymous, unwritten-to mmap data): + New test. + * gdb.base/coremaker.c (buf3): New global. + (mmapdata): Add mmap call which uses MAP_ANONYMOUS and MAP_PRIVATE + flags. + +2020-07-22 Kevin Buettner + + * gdb.base/coremaker.c (filler_ro): New global constant. + +2020-07-22 Tom Tromey + + * gdb.ada/mi_prot.exp: New file. + * gdb.ada/mi_prot/pkg.adb: New file. + * gdb.ada/mi_prot/pkg.ads: New file. + * gdb.ada/mi_prot/prot.adb: New file. + +2020-07-22 Tankut Baris Aktemur + + * gdb.base/jit-reader-simple.exp: Add a scenario for a binary that + loads two JITers. + +2020-07-21 Andrew Burgess + + * gdb.python/py-arch-reg-groups.exp: Additional tests. + +2020-07-21 Andrew Burgess + + * gdb.python/py-arch-reg-names.exp: Additional tests. + +2020-07-21 Tom de Vries + + * gdb.reverse/solib-precsave.exp: Handle additional "recommended + breakpoint locations". + * gdb.reverse/solib-reverse.exp: Same. + +2020-07-21 Tom de Vries + + * gdb.reverse/step-reverse.c (callee): Merge statements. + +2020-07-21 Tom de Vries + + * gdb.fortran/info-modules.exp (info module variables): Allow missing + line numbers for some variables. + +2020-07-21 Tom de Vries + + * gdb.opt/inline-locals.c (init_array): New func. + (func1): Use init_array. + * gdb.opt/inline-locals.exp: Update pattern. + +2020-07-21 Tom de Vries + + * gdb.debuginfod/fetch_src_and_symbols.exp: Use save_vars for env + vars. Fix PATH and DUPLICATE errors. Cleanup whitespace. + +2020-07-20 Ludovic Courtès + + * gdb.guile/source2.scm: Add #f first argument to 'format'. + * gdb.guile/types-module.exp: Remove "ERROR:" from + regexps since Guile 3.0 no longer prints that. + +2020-07-20 Ludovic Courtès + + * gdb.guile/scm-error.exp ("source $remote_guile_file_1"): Relax + error regexp to match on Guile 2.2. + +2020-07-20 Gary Benson + + * gdb.cp/align.exp: Fix "alignof (void)" tests when compiling + with clang. + +2020-07-20 Tom de Vries + + * gdb.threads/omp-par-scope.c (lock, lock2): New variable. + (omp_set_lock_in_order): New function. + (single_scope, multi_scope, nested_func, nested_parallel): Use + omp_set_lock_in_order and omp_unset_lock. + (main): Init and destroy lock and lock2. + +2020-07-20 Tom de Vries + + * gdb.base/valgrind-infcall-2.exp: Handle printf unknown return type. + +2020-07-20 Tom de Vries + + * gdb.threads/attach-slow-waitpid.exp: Bail out if gdb_start fails. + +2020-07-17 Tom de Vries + + * gdb.base/valgrind-infcall-2.c: New test. + * gdb.base/valgrind-infcall-2.exp: New file. + * lib/valgrind.exp (vgdb_start): Add and handle active_at_startup. + +2020-07-17 Tom de Vries + + * gdb.dlang/circular.c (found): Use found_label as label name. + * gdb.dwarf2/arr-subrange.c (main): Use main_label as label name. + * gdb.dwarf2/comp-unit-lang.c (func): Use func_label as label name. + * gdb.dlang/circular.exp: Use MACRO_AT_func and MACRO_AT_range. + * gdb.dwarf2/ada-linkage-name.exp: Same. + * gdb.dwarf2/arr-subrange.exp: Same. + * gdb.dwarf2/atomic-type.exp: Same. + * gdb.dwarf2/comp-unit-lang.exp: Same. + * gdb.dwarf2/cpp-linkage-name.exp: Same. + * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Same. + * gdb.dwarf2/dw2-lexical-block-bare.exp: Same. + * gdb.dwarf2/dw2-regno-invalid.exp: Same. + * gdb.dwarf2/implptr-64bit.exp: Same. + * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same. + * gdb.dwarf2/imported-unit-runto-main.exp: Same. + * gdb.dwarf2/imported-unit.exp: Same. + * gdb.dwarf2/main-subprogram.exp: Same. + * gdb.dwarf2/missing-type-name.exp: Same. + * gdb.dwarf2/nonvar-access.exp: Same. + * gdb.dwarf2/struct-with-sig.exp: Same. + * gdb.dwarf2/typedef-void-finish.exp: Same. + * gdb.dwarf2/void-type.exp: Same. + +2020-07-17 Tom de Vries + + * lib/dwarf.exp (Dwarf::MACRO_AT_func, Dwarf::MACRO_AT_range): Drop + src parameter. + * gdb.dlang/watch-loc.exp: Update MACRO_AT_{func,range} calls. + * gdb.dwarf2/bitfield-parent-optimized-out.exp: Same. + * gdb.dwarf2/dw2-ifort-parameter.exp: Same. + * gdb.dwarf2/dw2-opt-structptr.exp: Same. + * gdb.dwarf2/dwz.exp: Same. + * gdb.dwarf2/implptr-optimized-out.exp: Same. + * gdb.dwarf2/implref-array.exp: Same. + * gdb.dwarf2/implref-const.exp: Same. + * gdb.dwarf2/implref-global.exp: Same. + * gdb.dwarf2/implref-struct.exp: Same. + * gdb.dwarf2/info-locals-optimized-out.exp: Same. + * gdb.dwarf2/opaque-type-lookup.exp: Same. + * gdb.dwarf2/var-access.exp: Same. + * gdb.dwarf2/varval.exp: Same. + * gdb.trace/entry-values.exp: Same. + +2020-07-17 Tom de Vries + + * lib/dwarf.exp (Dwarf::extern): Remove. + * gdb.compile/compile-ops.exp: Remove use of Dwarf::extern. + * gdb.dlang/circular.exp: Same. + * gdb.dwarf2/comp-unit-lang.exp: Same. + * gdb.dwarf2/dw2-ifort-parameter.exp: Same. + * gdb.dwarf2/dw2-symtab-includes.exp: Same. + * gdb.dwarf2/dwz.exp: Same. + * gdb.dwarf2/imported-unit-abstract-const-value.exp: Same. + * gdb.dwarf2/imported-unit-runto-main.exp: Same. + * gdb.dwarf2/imported-unit.exp: Same. + * gdb.dwarf2/opaque-type-lookup.exp: Same. + +2020-07-16 Sandra Loosemore + + * gdb.base/shell.exp: Skip pipe tests dependent on sh on Windows host. + Use double quotes instead of single quotes. + +2020-07-16 Caroline Tice + + * gdb.dwarf2/dw5-rnglist-test.cc: New file. + * gdb.dwarf2/dw5-rnglist-test.exp: New file. + +2020-07-16 Tom de Vries + + * lib/dwarf.exp (program): Initialize _line. + (DW_LNE_end_sequence): Reinitialize _line. + (DW_LNS_advance_line): Update _line. + (line): New proc. + * gdb.dwarf2/dw2-inline-many-frames.exp: Use line. + * gdb.dwarf2/dw2-inline-small-func.exp: Same. + * gdb.dwarf2/dw2-inline-stepping.exp: Same. + * gdb.dwarf2/dw2-is-stmt-2.exp: Same. + * gdb.dwarf2/dw2-is-stmt.exp: Same. + * gdb.dwarf2/dw2-ranges-func.exp: Same. + +2020-07-15 Andrew Burgess + + * gdb.fortran/ptype-on-functions.exp: Make the result pattern more + generic. + +2020-07-15 Tom de Vries + + * gdb.trace/entry-values.exp: Expect "call" instead of "callq" if + is_amd64_regs_target. + +2020-07-15 Andrew Burgess + + * gdb.fortran/ptype-on-functions.exp: Add more tests. + * gdb.fortran/ptype-on-functions.f90: Likewise. + +2020-07-14 Simon Marchi + + * lib/dwarf.exp (Dwarf::cu, Dwarf::tu, Dwarf::lines): Change valid + values in documentation for addr_size to 4 and 8. + +2020-07-14 Andrew Burgess + + * gdb.arch/amd64-osabi.exp: Update. + * gdb.arch/arm-disassembler-options.exp: Update. + * gdb.arch/powerpc-disassembler-options.exp: Update. + * gdb.arch/ppc64-symtab-cordic.exp: Update. + * gdb.arch/s390-disassembler-options.exp: Update. + * gdb.base/all-architectures.exp.tcl: Update. + * gdb.base/attach-pie-noexec.exp: Update. + * gdb.base/catch-syscall.exp: Update. + * gdb.xml/tdesc-arch.exp: Update. + +2020-07-14 Tom de Vries + + * gdb.threads/clone-new-thread-event.c (gettid): Rename to ... + (local_gettid): ... this. + (fn): Update. + +2020-07-13 Sandra Loosemore + + * gdb.base/info_sources.exp: Skip directory match tests on + remote hosts. + +2020-07-13 Gary Benson + + * gdb.base/savedregs.exp (caller): Use parentheses to + make expected expression evaluation ordering explicit. + +2020-07-13 Gary Benson + + * gdb.arch/i386-sse.c (have_sse) : Make unsigned. + +2020-07-13 Gary Benson + + * gdb.base/bigcore.c (main): Use a volatile pointer when + attempting to trigger a SIGSEGV. + * gdb.base/gcore-relro-pie.c (break_here): Likewise. + * gdb.base/gcore-tls-pie.c (break_here): Likewise. + * gdb.base/savedregs.c (thrower): Likewise. + * gdb.mi/mi-syn-frame.c (bar): Likewise. + +2020-07-13 Gary Benson + + * gdb.base/vla-datatypes.c (vla_factory): Factor out sections + defining and using VLA structure fields into... + * gdb.base/vla-struct-fields.c: New file. + * gdb.base/vla-datatypes.exp: Factor out VLA structure field + tests into... + * gdb.base/vla-struct-fields.exp: New file. + +2020-07-13 Tom de Vries + + * lib/gdb.exp (have_fuse_ld_gold): New caching proc. + * gdb.base/gcore-tls-pie.exp: Use have_fuse_ld_gold. + * gdb.base/gold-gdb-index.exp: Same. + * gdb.base/morestack.exp: Same. + +2020-07-11 Daniel Xu + + PR rust/26121 + * gdb.rust/modules.rs: Prevent linker from discarding test + symbol. + +2020-07-10 Pedro Alves + + PR gdb/26199 + * gdb.multi/multi-target.c (exit_thread): New. + (thread_start): Break loop if EXIT_THREAD. + * gdb.multi/multi-target.exp (test_no_unwaited_for): New proc. + (top level) Call test_no_resumed. + +2020-07-08 Tom Tromey + + * gdb.ada/catch_ex/foo.adb: Pass string to raise. + * gdb.ada/catch_ex.exp: Examine catchpoint text. + +2020-07-06 Andrew Burgess + + PR python/22748 + * gdb.opt/inline-frame-tailcall.c: New file. + * gdb.opt/inline-frame-tailcall.exp: New file. + * gdb.python/py-unwind-inline.c: New file. + * gdb.python/py-unwind-inline.exp: New file. + * gdb.python/py-unwind-inline.py: New file. + +2020-07-06 Andrew Burgess + + * gdb.python/py-arch-reg-groups.exp: New file. + +2020-07-06 Andrew Burgess + + * gdb.python/py-arch-reg-names.exp: New file. + +2020-07-06 Andrew Burgess + + * gdb.python/py-unwind.py (TestUnwinder::__call__): Add test for + gdb.PendingFrame.architecture method. + +2020-07-06 Tom de Vries + + * gdb.dwarf2/dw2-ranges-base.exp: Test line-table order. + +2020-07-03 Pedro Alves + + * gdb.base/structs2.c (main): Adjust second parem_reg call to + explicitly write negative numbers. + * gdb.base/structs2.exp: Adjust expected output. + +2020-07-03 Pedro Alves + + * gdb.base/charset.c (init_string): Change all char parameters to + unsigned char parameters. + +2020-07-03 Pedro Alves + + * gdb.base/call-sc.exp (start_scalars_test): Use + prepare_for_testing and don't try compiling with -DNO_PROTOTYPES. + * gdb.base/overlays.c: Remove references to PARAMS. + * gdb.base/ovlymgr.h (PARAMS): Delete, and remove all references. + * gdb.base/reread.exp: Don't set 'prototypes' global. + * gdb.base/structs.exp (start_structs_test): Use + prepare_for_testing and don't try compiling with -DNO_PROTOTYPES. + * gdb.base/structs2.exp: Don't set 'prototypes' global. Use + prepare_for_testing and don't try compiling with -DNO_PROTOTYPES. + Don't issue "set width 0". Remove gdb_stop_suppressing_tests + call. + * gdb.base/varargs.exp: Don't set 'prototypes' global. + +2020-07-03 Pedro Alves + + * gdb.base/m32rovly.c: Delete. + * gdb.base/ovlymgr.c: Remove all code guarded by __D10V__. + +2020-06-30 Philippe Waroquiers + + * gdb.python/py-breakpoint.exp: use gdb_test_multiline instead + of gdb_py_test_multiple. + * gdb.python/py-cmd.exp: Likewise. + * gdb.python/py-events.exp: Likewise. + * gdb.python/py-function.exp: Likewise. + * gdb.python/py-inferior.exp: Likewise. + * gdb.python/py-infthread.exp: Likewise. + * gdb.python/py-linetable.exp: Likewise. + * gdb.python/py-parameter.exp: Likewise. + * gdb.python/py-value.exp: Likewise. + +2020-06-30 Tom de Vries + + PR testsuite/26175 + * lib/future.exp (gdb_default_target_compile): Detect and handle + early_flags. + +2020-06-29 Simon Marchi + + * boards/simavr.exp (gdb_load): Catch errors when closing + previous connection. Close connection, wait for process and + unset simavr_spawn_id on failure. + +2020-06-29 Tom de Vries + + * lib/gdb.exp (unknown): Make test-case unresolved. + +2020-06-29 Tom de Vries + + PR gdb/25475 + * gdb.server/solib-list.exp: Verify that the symbol reload + confirmation question is asked. + +2020-06-26 Philippe Waroquiers + + * 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 + + * 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 + + * 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 + + * gdb.arch/riscv-tdesc-regs.exp: New test cases. + +2020-06-25 Andrew Burgess + + * gdb.arch/riscv-tdesc-regs.exp: Extend test case. + +2020-06-25 Andrew Burgess + + * 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 * gdb.arch/riscv-tdesc-regs.exp: Extend test case.