X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=2d26a5e90ed829d3ec549272b791f54e7fc17bca;hb=56a4f5a10b1e90d60527455b8542ba98fd0f6349;hp=500aa51c3406fd7aaf8f902fd92feee6a4910a54;hpb=1b83d09cd503d7fde57c50db51d5780ee8df5fae;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 500aa51c34..2d26a5e90e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,530 @@ +2020-04-28 Tom de Vries + + * gdb.opt/inline-cmds.exp: Set KFAIL PR. + +2020-04-28 Tom de Vries + + * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*". + +2020-04-28 Tom de Vries + + * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL. + +2020-04-28 Tom de Vries + + * gdb.dwarf2/main-foo.c: New test. + * gdb.dwarf2/struct-with-sig.exp: New file. + +2020-04-25 Tom de Vries + + * boards/debug-types.exp: New file. + +2020-04-25 Andrew Burgess + + * gdb.btrace/multi-inferior.exp: Avoid paths in test names. + +2020-04-24 Tom Tromey + + 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 + + * 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 + + * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Set language of CU to + C++. + +2020-04-24 Tom Tromey + + * 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 + + PR python/23662: + * gdb.ada/variant.exp: Add Python checks. + * gdb.rust/simple.exp: Add dynamic type checks. + +2020-04-24 Tom Tromey + + * 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 + + * 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 + + * 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 + + * lib/gdb.exp (clean_restart): Reset errcnt and warncnt. + +2020-04-24 Tom de Vries + + * gdb.dwarf2/dwzbuildid.exp: Add quiet to dwzbuildid-mismatch compile + flags. + +2020-04-24 Tom de Vries + + * gdb.dwarf2/dw2-error.exp: Add quiet to compile flags. + +2020-04-24 Tom de Vries + + * 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 + + * gdb.base/decl-before-def.exp: Run to main and print a again. + +2020-04-23 Tom de Vries + + * 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 + + * gdb.base/readnever.exp: Skip if GDBFLAGS contain -readnow/--readnow. + +2020-04-22 Tom de Vries + + * 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 + + * gdb.dlang/watch-loc.c (.debug_aranges): Fix _Dmain length. + +2020-02-18 Mihails Strasuns + + * 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 + + * gdb.base: Rename all jit related test and source files. + +2020-02-18 Mihails Strasuns + + * gdb.base/jit-reader.exp: Relax register output check. + +2020-04-22 Tom de Vries + + 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 + + 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 + + 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 + + * gdb.base/advance.c (func): New argument, to match call site. + (func2, func3): Add return statements. + +2020-04-21 Tankut Baris Aktemur + + * gdb.multi/run-only-second-inf.c: New file. + * gdb.multi/run-only-second-inf.exp: New file. + +2020-04-21 Markus Metzger + + * gdb.btrace/multi-inferior.c: New test. + * gdb.btrace/multi-inferior.exp: New file. + +2020-04-21 Markus Metzger + + * gdb.btrace/enable-new-thread.c: New test. + * gdb.btrace/enable-new-thread.exp: New file. + +2020-04-21 Tom de Vries + + PR gdb/25471 + * gdb.threads/killed-outside.c: New test. + * gdb.threads/killed-outside.exp: New file. + +2020-04-20 Gary Benson + + * 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 + + * 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 + + * gdb.cp/exception.cc: Fix compilation error with clang. + +2020-04-20 Gary Benson + + * gdb.trace/tspeed.c: Fix compilation error with clang. + +2020-04-20 Gary Benson + + * gdb.base/jit-main.c: Fix compilation error with clang. + +2020-04-17 Kamil Rytarowski + + * 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 + + * gdb.base/fork-running-state.c: Include "signal.h". + +2020-04-17 Tom Tromey + + * 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 + + 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 + + * gdb.base/maint-expand-symbols-header-file.exp: Set language before + loading exec. + +2020-04-15 Andrew Burgess + + * gdb.base/many-completions.exp: New file. + +2020-04-14 Tom de Vries + + PR symtab/25718 + * gdb.dwarf2/dw2-symtab-includes.exp: New file. + +2020-04-14 Tom de Vries + + PR symtab/25720 + * gdb.base/maint-expand-symbols-header-file.c: New test. + * gdb.base/maint-expand-symbols-header-file.exp: New file. + * gdb.base/maint-expand-symbols-header-file.h: New test. + +2020-04-14 Andrew Burgess + + * gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete. + * gdb.dwarf2/dw2-inline-small-func.exp: Pass options to + get_func_info. + (get_func_info): Delete. + * gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete. + * gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete. + * lib/dwarf.exp (get_func_info): New function. + +2020-04-13 Tom de Vries + + * lib/ada.exp (find_ada_tool): Pass --GCC and -B to gnatlink, similar + to what find_gnatmake does. + +2020-04-10 Tom de Vries + + * gdb.base/style.exp: Expect "Expanding full symbols" message for + -readnow. + +2020-04-10 Tom de Vries + + PR cli/25808 + * gdb.base/style.c: Add leading newlines. + * gdb.base/style.exp: Use gdb_get_line_number to get specific lines. + Check listing of main's one-line body. + +2020-04-08 Tom de Vries + + * lib/gdb.exp (psymtabs_p): New proc. + * gdb.dwarf2/imported-unit.exp: Mark "no static partial symbols in + importing unit" unsupported if there are no partial symbols. + +2020-04-08 Tom de Vries + + PR testsuite/25760 + * gdb.ada/call_pn.exp: Call "maint expand-symtabs". Add xfails. + +2020-04-07 Tom de Vries + + PR symtab/25796 + * gdb.dwarf2/imported-unit-abstract-const-value.exp: New file. + +2020-04-07 Tom de Vries + + * gdb.base/check-psymtab.c: New test. + * gdb.base/check-psymtab.exp: New file. + +2020-04-06 Tom Tromey + + * gdb.ada/variant-record/proc.adb: New file. + * gdb.ada/variant-record/value.adb: New file. + * gdb.ada/variant-record/value.s: New file. + * gdb.ada/variant-record.exp: New file. + +2020-04-03 Hannes Domani + + PR gdb/25325 + * gdb.cp/typed-enum.cc: New test. + * gdb.cp/typed-enum.exp: New file. + +2020-04-02 Andrew Burgess + + * gdb.dwarf2/dw2-inline-small-func-lbls.c: New file. + * gdb.dwarf2/dw2-inline-small-func.c: New file. + * gdb.dwarf2/dw2-inline-small-func.exp: New file. + * gdb.dwarf2/dw2-inline-small-func.h: New file. + * gdb.opt/inline-small-func.c: New file. + * gdb.opt/inline-small-func.exp: New file. + * gdb.opt/inline-small-func.h: New file. + +2020-04-02 Andrew Burgess + + * lib/dwarf.exp (Dwarf::lines::program::DW_LNS_set_file): New + function. + +2020-04-02 Andrew Burgess + + * lib/dwarf.exp (function_range): Allow compiler options to be + specified. + +2020-04-02 Tom de Vries + + * gdb.dwarf2/break-inline-psymtab-2.c (bar): Add + __attribute__((always_inline)). + * gdb.dwarf2/break-inline-psymtab.exp: Don't use -O2. + +2020-04-02 Tom de Vries + + * lib/gdbserver-support.exp (gdbserver_exit): Factor out of ... + (gdbserver_gdb_exit): ... here. Add timeout warning. + * gdb.multi/multi-target.exp (server_spawn_ids): New global var. + (connect_target_extended_remote): Append new server_spawn_id to + server_spawn_ids. + (cleanup): New proc. + (setup, ): Call cleanup. + +2020-04-02 Tom de Vries + + * gdb.base/main-psymtab.exp: New file. + +2020-04-02 Tom de Vries + + * gdb.fortran/mixed-lang-stack.exp: Accept new complex printing style. + +2020-04-01 Tom Tromey + + * gdb.base/complex-parts.exp: Add type tests. + +2020-04-01 Tom Tromey + + * gdb.base/complex-parts.exp: Add arithmetic tests. + +2020-04-01 Tom Tromey + + * gdb.compile/compile.exp: Update. + * gdb.compile/compile-cplus.exp: Update. + * gdb.base/varargs.exp: Update. + * gdb.base/floatn.exp: Update. + * gdb.base/endianity.exp: Update. + * gdb.base/callfuncs.exp (do_function_calls): Update. + * gdb.base/funcargs.exp (complex_args, complex_integral_args) + (complex_float_integral_args): Update. + * gdb.base/complex.exp: Update. + * gdb.base/complex-parts.exp: Update. + +2020-04-01 Tom Tromey + + * gdb.rust/union.rs: New file. + * gdb.rust/union.exp: New file. + * gdb.rust/simple.rs (Union, Union2): Move to union.rs. + (main): Update. + * gdb.rust/simple.exp: Move union tests to union.exp. + +2020-04-01 Tom Tromey + + * gdb.rust/simple.rs (main): Remove "y0". + +2020-04-01 Tankut Baris Aktemur + + * gdb.multi/stop-all-on-exit.c: New test. + * gdb.multi/stop-all-on-exit.exp: New file. + +2020-04-01 Hannes Domani + + PR gdb/24789 + * gdb.cp/misc.cc: Add integer reference variable. + * gdb.cp/misc.exp: Add test. + +2020-04-01 Tankut Baris Aktemur + + * gdb.server/stop-reply-no-thread.exp: Enhance the test + scenario to cover execution until the end and also the case + +2020-03-31 Tom de Vries + + * gdb.base/c-linkage-name.exp: Fix test-case comment. Set language to + c. Use "maint info symtabs" to check symtab expansion. + +2020-03-30 Tom de Vries + + * gdb.base/c-linkage-name.exp: Use readnow call to mark a test + unsupported. + (verify_psymtab_expanded): Move ... + * lib/gdb.exp (verify_psymtab_expanded): ... here. Add unsupported + test. + (readnow): New proc. + +2020-03-23 Andrew Burgess + + * gdb.fortran/mixed-lang-stack.exp: Replace two hard coded address + with $hex. + +2020-03-20 Tom Tromey + + * gdb.dwarf2/dw2-ranges-base.exp: Update regular expressions. + +2020-03-20 Tom Tromey + + * gdb.ada/sub_variant/subv.adb: New file. + * gdb.ada/sub_variant.exp: New file. + +2020-03-20 Tom de Vries + + * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Bail out if + first break fails. + * gdb.threads/step-over-trips-on-watchpoint.exp: (do_test): Same. + +2020-03-19 Andrew Burgess + + * gdb.server/exit-multiple-threads.c: New file. + * gdb.server/exit-multiple-threads.exp: New file. + +2020-03-19 Andrew Burgess + + * gdb.fortran/mixed-lang-stack.c: New file. + * gdb.fortran/mixed-lang-stack.cpp: New file. + * gdb.fortran/mixed-lang-stack.exp: New file. + * gdb.fortran/mixed-lang-stack.f90: New file. + +2020-03-19 Andrew Burgess + + * gdb.linespec/cp-completion-aliases.cc: New file. + * gdb.linespec/cp-completion-aliases.exp: New file. + +2020-03-19 Tom de Vries + + * gdb.opt/inline-locals.exp: Add kfail PR number. Make kfail matching + more precise. + +2020-03-18 Tom de Vries + + * gdb.dwarf2/break-inline-psymtab-2.c: New test. + * gdb.dwarf2/break-inline-psymtab.c: New test. + * gdb.dwarf2/break-inline-psymtab.exp: New file. + +2020-03-16 Tom de Vries + + * lib/cache.exp (gdb_do_cache): Add and handle local variables + cache_verify and cache_verify_proc. + +2020-03-15 Tom de Vries + + * gdb.server/solib-list.exp: Handle + 'Load new symbol table from "/lib64/ld-2.26.so"? (y or n)'. + +2020-03-15 Tom de Vries + + * gdb.base/maint.exp: Use exp_continue in long lines for "maint print + objfiles". + +2020-03-14 Tom Tromey + + * gdb.base/cvexpr.exp: Add test for _Atomic and restrict. + +2020-03-14 Tom de Vries + + * gdb.mi/mi-fortran-modules.exp: Use exp_continue. + +2020-03-14 Tom de Vries + + * gdb.threads/attach-many-short-lived-threads.exp: Read "info threads" + result in line-by-line fashion. + +2020-03-14 Tom de Vries + + * lib/gdb.exp (supports_statement_frontiers): New proc. + * gdb.cp/step-and-next-inline.exp: Use supports_statement_frontiers. + +2020-03-14 Tom de Vries + + * gdb.base/printcmds.exp: Add missing quoting for "print + teststring2". + +2020-03-13 Tom Tromey + + * gdb.base/printcmds.exp (test_print_strings): Add regression + test. + * gdb.base/printcmds.c (charptr): New typedef. + (teststring2): New global. + 2020-03-13 Andrew Burgess * gdb.base/break-interp.exp: Use the tail of the filename, not the @@ -1632,7 +2159,7 @@ 2019-09-29 Tom de Vries - * 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 @@ -2127,7 +2654,7 @@ 2019-07-29 Tom de Vries * 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