X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=21cfc17294ed8eab10b8ac20e52b06904ed9173f;hb=f9b5d5ea18a3878ca48c1b747e35d456133858bc;hp=319d3eb976c94796d1ec415a32f078e28014bb15;hpb=3ee6bb113afd87a408dd8551768d801d04556ffd;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 319d3eb976..21cfc17294 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,506 @@ +2020-06-03 Tom de Vries + + 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 + + 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 + + * gdb.dwarf2/multidictionary.exp: Don't use + gdb_spawn_with_cmdline_opts. + +2020-06-01 Andrew Burgess + + * 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 + + * gdb.linespec/cp-replace-typedefs-ns-template.cc: New. + * gdb.linespec/cp-replace-typedefs-ns-template.exp: New. + +2020-05-29 Gary Benson + + * 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 + + * 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 + + * gdb.cp/koenig.exp (prepare_for_testing): Add + additional_flags=-Wno-unused-comparison. + * gdb.cp/operator.exp (prepare_for_testing): Likewise. + +2020-05-28 Gary Benson + + * gdb.base/sigaltstack.c (catcher): Add default case to switch + statement. + +2020-05-28 Gary Benson + + * gdb.cp/classes.exp (prepare_for_testing): Add + additional_flags=-Wno-deprecated-register. + * gdb.cp/inherit.exp (prepare_for_testing): Likewise. + * gdb.cp/misc.exp: Likewise. + +2020-05-28 Gary Benson + + * gdb.linespec/cpls-ops.cc (dummy): New static global. + (test_op_new::operator new): Add return statement. + (test_op_new_array::operator new[]): Likewise. + +2020-05-27 Pedro Alves + + * gdb.linespec/cp-completion-aliases.exp: Remove readline_is_used + check. Use test_gdb_complete_unique instead of + test_gdb_complete_tab_unique + test_gdb_complete_cmd_unique. Use + test_gdb_complete_multiple instead of + test_gdb_complete_tab_multiple + test_gdb_complete_cmd_multiple. + +2020-05-27 Luis Machado + + * gdb.arch/aarch64-sighandler-regs.exp: Fix duplicated test names. + * gdb.arch/aarch64-tagged-pointer.exp: Likewise. + * gdb.arch/arm-disassembler-options.exp: Likewise. + * gdb.arch/arm-disp-step.exp: Likewise. + * gdb.arch/thumb-prologue.exp: Likewise. + * gdb.base/async.exp: Likewise. + * gdb.base/auxv.exp: Likewise. + * gdb.base/complex-parts.exp: Likewise. + * gdb.base/ena-dis-br.exp: Likewise. + * gdb.base/foll-exec.exp: Likewise. + * gdb.base/permissions.exp: Likewise. + * gdb.base/relocate.exp: Likewise. + * gdb.base/return2.exp: Likewise. + * gdb.base/sigbpt.exp: Likewise. + * gdb.base/siginfo-obj.exp: Likewise. + * gdb.cp/converts.exp: Likewise. + * gdb.cp/exceptprint.exp: Likewise. + * gdb.cp/inherit.exp: Likewise. + * gdb.cp/nsnoimports.exp: Likewise. + * gdb.cp/virtbase2.exp: Likewise. + * gdb.mi/mi-var-cmd.exp: Likewise. + * gdb.mi/var-cmd.c: Likewise. + +2020-05-26 Tom Tromey + + * gdb.ada/arr_acc_idx_w_gap.exp: Add tests. + +2020-05-26 Tom Tromey + + * gdb.ada/arr_acc_idx_w_gap.exp: Add enum subrange tests. + * gdb.ada/arr_acc_idx_w_gap/enum_with_gap.ads (Enum_Subrange): New + type. + * gdb.ada/arr_acc_idx_w_gap/enum_with_gap_main.adb (V): New + variable. + +2020-05-26 Christian Biesinger + + * Makefile.in: Use = instead of == for the test command + for portability. + +2020-05-26 Tom de Vries + + * gdb.base/gold-gdb-index-2.c: New test. + * gdb.base/gold-gdb-index.c: New test. + * gdb.base/gold-gdb-index.exp: New file. + * gdb.base/gold-gdb-index.h: New test. + +2020-05-25 Tom de Vries + + * boards/gold-gdb-index.exp: New file. + +2020-05-25 Simon Marchi + + * boards/simavr.exp: New file. + +2020-05-25 Simon Marchi + + * lib/gdb.exp (gdb_run_cmd): Return success or failure. + * gdb.base/inferior-args.exp: New file. + * gdb.base/inferior-args.c: New file. + +2020-05-25 Simon Marchi + + * lib/gdb.exp (gdb_run_cmd): Change argument from args to + inferior_args. Pass it to gdb_reload. + (gdb_start_cmd, gdb_starti_cmd): Change argument from args to + inferior_args. + (gdb_reload): Add inferior_args argument. + * config/gdbserver.exp (gdb_reload): Add inferior_args argument, + pass it to gdbserver_run. + * boards/native-gdbserver.exp: Do not set noargs. + * boards/native-extended-gdbserver.exp (gdb_reload): Add + inferior_args argument. + * boards/stdio-gdbserver-base.exp (gdb_reload): Likewise. + * gdb.base/a2-run.exp: Check for use_gdb_stub. + * gdb.base/args.exp: Likewise. + +2020-05-25 Tom de Vries + + * lib/gdb.exp (exec_is_pie): Add comment. + +2020-05-25 Tom de Vries + + * lib/jit-elf-helpers.exp (compile_and_download_n_jit_so): Use $f + instead of $binfile in the untested message. + +2020-05-25 Tom de Vries + + PR testsuite/26031 + * lib/gdb.exp (exec_is_pie): Test readelf -h output. + +2020-05-25 Tom de Vries + + * boards/gold.exp: New file. + +2020-05-23 Tom Tromey + + * gdb.base/style.exp: Remove completion styling test. + * lib/gdb-utils.exp (style): Remove completion styles. + +2020-05-23 Tom Tromey + + * gdb.base/style.exp: Add completion styling test. + * lib/gdb-utils.exp (style): Add completion styles. + +2020-05-22 Andrew Burgess + + * gdb.base/annota1.exp: Update expected results. + * gdb.cp/annota2.exp: Update expected results, remove duplicate + test name. + * gdb.cp/annota3.exp: Update expected results. + +2020-05-20 Simon Marchi + + PR gdb/26016 + * gdb.base/coredump-filter.c (do_mmap): Check mmap ret val + against MAP_FAILED. + * gdb.base/coremaker.c (mmapdata): Likewise. + * gdb.base/jit-reader-host.c (main): Likewise. + * gdb.base/sym-file-loader.c (load): Likewise. + (load_shlib): Likewise. + +2020-05-20 Tom Tromey + + * gdb.ada/array_char_idx.exp: Recognize initialized array. + +2020-05-20 Tom de Vries + + PR symtab/25833 + * gdb.base/with-mf-inc.c: New test. + * gdb.base/with-mf-main.c: New test. + * gdb.base/with-mf.exp: New file. + +2020-05-19 Tom Tromey + + * gdb.rust/simple.exp: Restore missing test result. + +2020-05-19 Tom de Vries + + * gdb.base/gdb-caching-proc.exp: Fix typo. + +2020-05-19 Tom Tromey + + * gdb.rust/simple.exp: Add some test descriptions. + (test_one_slice): Use with_test_prefix. + +2020-05-18 Tom de Vries + + * gdb.base/gdb-caching-proc.exp: Use with_test_prefix. + +2020-05-17 Pedro Alves + + PR gdb/25741 + * gdb.base/hw-sw-break-same-address.exp: New file. + +2020-05-16 Pedro Alves + + * gdb.multi/multi-re-run.exp (test_re_run): Switch + LAST_LOADED_FILE accordingly. + +2020-05-15 Philippe Waroquiers + + * gdb.base/alias.exp: Verify 'help aliases' shows user defined aliases. + +2020-05-15 Philippe Waroquiers + + * gdb.base/help.exp: Test apropos and help for commands + having aliases. Fixed comments not starting with an + upper-case letter or not finishing with a dot. + +2020-05-15 Philippe Waroquiers + + * gdb.base/alias.exp: Update help output check. + +2020-05-15 Philippe Waroquiers + + * gdb.base/default.exp: Update output following fixes. + +2020-05-15 Philippe Waroquiers + + * gdb.base/alias.exp: Test aliases starting with a prefix of + another alias. + +2020-05-15 Gary Benson + + * gdb.base/info-os.c (main): Add return statement. + * gdb.base/info_minsym.c (minsym_fun): Likewise. + * gdb.base/large-frame-2.c (func): Likewise. + * gdb.base/pr10179-a.c (foo1, bar1): Likewise. + * gdb.base/pr10179-b.c (foo2): Likewise. + * gdb.base/valgrind-disp-step.c (foo): Likewise. + * gdb.base/watch-cond.c (func): Likewise. + * gdb.multi/goodbye.c (verylongfun): Likewise. + * gdb.multi/hello.c (commonfun): Likewise. + * gdb.python/py-finish-breakpoint.c (call_longjmp): Likewise. + * gdb.threads/fork-plus-threads.c (thread_func): Likewise. + * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks): + Likewise. + * gdb.threads/hand-call-new-thread.c (foo): Likewise. + * gdb.threads/interrupt-while-step-over.c (child_function): + Likewise. + * gdb.trace/actions-changed.c (end): Likewise. + +2020-05-15 Gary Benson + + * gdb.opencl/callfuncs.exp: Report when test skipped. + * gdb.opencl/convs_casts.exp: Likewise. + * gdb.opencl/datatypes.exp: Likewise. + * gdb.opencl/operators.exp: Likewise. + * gdb.opencl/vec_comps.exp: Likewise. + +2020-05-15 Tom de Vries + + * gdb.base/align.exp.in: Rename to ... + * gdb.base/align.exp.tcl: ... this. + * gdb.base/align-c++.exp: Update. + * gdb.base/align-c.exp: Update. + * gdb.base/all-architectures.exp.in: Rename to ... + * gdb.base/all-architectures.exp: ... this. + * gdb.base/all-architectures-0.exp: Update. + * gdb.base/all-architectures-1.exp: Update. + * gdb.base/all-architectures-2.exp: Update. + * gdb.base/all-architectures-3.exp: Update. + * gdb.base/all-architectures-4.exp: Update. + * gdb.base/all-architectures-5.exp: Update. + * gdb.base/all-architectures-6.exp: Update. + * gdb.base/all-architectures-7.exp: Update. + * gdb.base/infcall-nested-structs.exp.in: Rename to ... + * gdb.base/infcall-nested-structs.exp.tcl: ... this. + * gdb.base/infcall-nested-structs-c++.exp: Update. + * gdb.base/infcall-nested-structs-c.exp: Update. + * gdb.base/info-types.exp.in: Rename to ... + * gdb.base/info-types.exp.tcl: ... this. + * gdb.base/info-types-c++.exp: Update. + * gdb.base/info-types-c.exp: Update. + * gdb.base/max-depth.exp.in: Rename to ... + * gdb.base/max-depth.exp.tcl: ... this. + * gdb.base/max-depth-c++.exp: Update. + * gdb.base/max-depth-c.exp: Update. + * gdb.cp/cpexprs.exp.in: Rename to ... + * gdb.cp/cpexprs.exp.tcl: ... this. + * gdb.cp/cpexprs-debug-types.exp: Update. + * gdb.cp/cpexprs.exp: Update. + * gdb.cp/infcall-nodebug.exp.in: Rename to ... + * gdb.cp/infcall-nodebug.exp.tcl: ... this. + * gdb.cp/infcall-nodebug-c++-d0.exp: Update. + * gdb.cp/infcall-nodebug-c++-d1.exp: Update. + * gdb.cp/infcall-nodebug-c-d0.exp: Update. + * gdb.cp/infcall-nodebug-c-d1.exp: Update. + * gdb.dwarf2/clang-debug-names.exp.in: Rename to ... + * gdb.dwarf2/clang-debug-names.exp.tcl: ... this. + * gdb.dwarf2/clang-debug-names-2.exp: Update. + * gdb.dwarf2/clang-debug-names.exp: Update. + +2020-05-15 Andrew Burgess + + * lib/check-test-names.exp: Remove code that prevents this file + loading when tests are run in parallel. + +2020-05-15 Pedro Alves + + * gdb.multi/multi-kill.exp (start_inferior): Remove + 'testpid' parameter. Refer to namespace variable directly. + (testpid): Declare as namespace variable. + +2020-05-15 Pedro Alves + + * gdb.multi/multi-kill.exp: Wrap in namespace. + (start_inferior): Add TESTPID parameter. Use it instead of the + testpid global. + (top level): Define empty TESTPID array, and pass it down to + start_inferior. + +2020-05-14 Tom de Vries + + * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior + output. + +2020-05-14 Tom de Vries + + * gdb.base/align.exp: Split into ... + * gdb.base/align.exp.in: ... + * gdb.base/align-c++.exp: ... + * gdb.base/align-c.exp: ... these. + * gdb.base/infcall-nested-structs.exp: Split into ... + * gdb.base/infcall-nested-structs.exp.in: ... + * gdb.base/infcall-nested-structs-c++.exp: ... + * gdb.base/infcall-nested-structs-c.exp: ... these. + * gdb.base/info-types.exp: Split into ... + * gdb.base/info-types.exp.in: ... + * gdb.base/info-types-c++.exp: ... + * gdb.base/info-types-c.exp: ... these. + * gdb.base/max-depth.exp: Split into ... + * gdb.base/max-depth.exp.in: ... + * gdb.base/max-depth-c++.exp: ... + * gdb.base/max-depth-c.exp: ... these. + * gdb.cp/infcall-nodebug.exp: Split into ... + * gdb.cp/infcall-nodebug.exp.in: ... + * gdb.cp/infcall-nodebug-c++-d0.exp: ... + * gdb.cp/infcall-nodebug-c++-d1.exp: ... + * gdb.cp/infcall-nodebug-c-d0.exp: ... + * gdb.cp/infcall-nodebug-c-d1.exp: ... these. + +2020-05-14 Tankut Baris Aktemur + Pedro Alves + + * gdb.multi/multi-exit.c: New file. + * gdb.multi/multi-exit.exp: New file. + * gdb.multi/multi-kill.c: New file. + * gdb.multi/multi-kill.exp: New file. + +2020-05-14 Tankut Baris Aktemur + + * gdb.base/annota1.exp: Update the expected output. + * gdb.cp/annota2.exp: Ditto. + +2020-05-12 Andrew Burgess + + * lib/check-test-names.exp: Disable when testing is being run in + parallel. + +2020-05-12 Tom de Vries + + * gdb.base/jit-elf.exp: Fix string concat. + +2020-05-12 Tom de Vries + + * lib/jit-elf-helpers.exp: Don't use undefined variables in untested + messages. + +2020-05-12 Tom de Vries + + * gdb.multi/multi-term-settings.exp: Use with_test_prefix. + +2020-05-12 Tom de Vries + + * gdb.ada/catch_ex.exp: Use with_test_prefix. + * gdb.ada/mi_catch_ex.exp: Same. + * gdb.ada/mi_catch_ex_hand.exp: Same. + +2020-05-12 Tom de Vries + + * gdb.fortran/complex.exp: Use with_test_prefix. + +2020-05-12 Tom de Vries + + * gdb.trace/passcount.exp: Fix test-names. + +2020-05-12 Tom de Vries + + * gdb.pascal/gdb11492.exp: Use with_test_prefix. + +2020-05-12 Tom de Vries + + * gdb.gdb/complaints.exp: Use with_test_prefix. + * gdb.xml/tdesc-regs.exp: Same. + * gdb.opt/inline-locals.exp: Fix test name. + +2020-05-12 Tom de Vries + + * gdb.dwarf2/comp-unit-lang.exp: Use with_test_prefix. + * gdb.dwarf2/dw2-bad-parameter-type.exp: Same. + * gdb.dwarf2/implref-struct.exp: Same. + * gdb.dwarf2/varval.exp: Ensure get_sizeof is called once per type. + * gdb.dwarf2/data-loc.exp: Same. Remove duplicate test. + +2020-05-11 Simon Marchi + + * gdb.base/jit-so.exp (one_jit_test): Change test name. + +2020-05-11 Andrew Burgess + + * lib/check-test-names.exp (all_test_names): New module variable. + (counts): Add 'duplicates' field. + (_check_duplicates): New procedure. + (check): Also check for duplicates. + (do_log_summary): Print duplicates count. + (do_reset_vars): Reset counter for duplicate test names, and + discard all know test names. + +2020-05-11 Andrew Burgess + + * lib/gdb.exp: Include check-test-names.exp library. + * lib/check-test-names.exp: New file. + +2020-05-11 Tom de Vries + + * gdb.ada/packed_tagged.exp: Change kfail into xfail. + +2020-05-11 Keith Seitz + + * gdb.ada/attr_ref_and_charlit.exp: Fix typo. + +2020-05-11 Tom de Vries + + * gdb.cp/cpexprs.exp: Move everything except flags setting ... + * gdb.cp/cpexprs.exp.in: .. here. + * gdb.cp/cpexprs-debug-types.exp: Include cpexprs.exp.in instead of + cpexprs.exp. + +2020-05-11 Keith Seitz + + * gdb.ada/arrayparam.exp: Resolve duplicate and tail parentheses + test names. + * gdb.ada/arrayptr.exp: Likewise. + * gdb.ada/assign_arr.exp: Likewise. + * gdb.ada/attr_ref_and_charlit.exp: Likewise. + * gdb.ada/bp_on_var.exp: Likewise. + * gdb.ada/call_pn.exp: Likewise. + * gdb.ada/complete.exp: Likewise. + * gdb.ada/fun_overload_menu.exp: Likewise. + * gdb.ada/funcall_param.exp: Likewise. + * gdb.ada/funcall_ref.exp: Likewise. + * gdb.ada/packed_array_assign.exp: Likewise. + * gdb.ada/same_component_name.exp: Likewise. + * gdb.ada/type_coercion.exp: Likewise. + * gdb.ada/unc_arr_ptr_in_var_rec.exp: Likewise. + * gdb.ada/variant_record_packed_array.exp: Likewise. + 2020-05-11 Tom de Vries PR symtab/25941