X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=86f2130c2698f3f837991b763c5d20bb8f0a2fcc;hb=640ab94712483457b99bd1039b52821c510b28a7;hp=56ee785b1f1d4ea3beba76fbef79032fd6b26b6b;hpb=5d63b30afa2d1e24a3d1e6fe97507473e0545a02;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 56ee785b1f..86f2130c26 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,589 @@ +2019-11-27 Andrew Burgess + + * gdb.fortran/info-modules.exp: Compile source files in correct + order. + +2019-11-27 Kevin Buettner + + * gdb.dwarf2/imported-unit.exp: New file. + * gdb.dwarf2/imported-unit.c: New file. + +2019-11-27 Andrew Burgess + + * gdb.mi/mi-fortran-modules-2.f90: New file. + * gdb.mi/mi-fortran-modules.exp: New file. + * gdb.mi/mi-fortran-modules.f90: New file. + +2019-11-27 Andrew Burgess + + * gdb.mi/mi-sym-info-1.c: New file. + * gdb.mi/mi-sym-info-2.c: New file. + * gdb.mi/mi-sym-info.exp: New file. + +2019-11-22 Tom Tromey + + * gdb.ada/tasks.exp: Add -ada-task-info regression test. + * gdb.ada/tasks/foo.adb: Add another stopping location. + +2019-11-21 Peeter Joot + + * gdb.base/endianity.c: New test. + * gdb.base/endianity.exp: New file. + +2019-11-21 Lukas Durfina + + * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64. + +2019-11-21 Tom de Vries + + PR gdb/24956 + * gdb.base/ui-redirect.exp: Test output of user-defined command. + +2019-11-20 Sergio Durigan Junior + + * gdb.python/py-progspace.exp: Add missing parentheses on some + 'print' commands. + +2019-11-19 Tom Tromey + + * gdb.tui/winheight.exp: New file. + +2019-11-19 Andrew Burgess + + * gdb.base/ctf-whatis.c: Delete. + * gdb.base/ctf-whatis.exp: Delete. + * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf. + +2019-11-19 Andrew Burgess + + * gdb.base/ctf-cvexpr.exp: Delete. + * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf. + +2019-11-19 Andrew Burgess + + * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in + the compiler. Clean up header comment a little. + * gdb.base/ctf-ptype.exp: Likewise. + * gdb.base/ctf-whatis.exp: Likewise. + * lib/gdb.exp (skip_ctf_tests): New proc. + +2019-11-18 Sergio Durigan Junior + + https://bugzilla.redhat.com/show_bug.cgi?id=1765117 + * gdb.tui/corefile-run.exp: New file. + +2019-11-14 Tom Tromey + + * gdb.base/gdbvars.exp (test_convenience_variables): Add + regression tests. + +2019-11-12 Tom Tromey + + * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output + after any command. Expect prompt after WAIT_FOR is seen. + (enter_tui): Enable resize messages. + (command): Expect command in output. + (get_line): Avoid error when cursor appears to be off-screen. + (dump_screen): Include screen size in title. + (_do_resize): New proc, from "resize". + (resize): Rewrite. Do resize in two steps. + * gdb.tui/empty.exp (layouts): Fix entries. + (check_boxes): Remove xfail. + (check_text): Dump screen on failure. + +2019-11-10 Andrew Burgess + + * gdb.python/py-symbol.exp: Add test for + gdb.lookup_static_symbols. + +2019-11-10 Andrew Burgess + + * gdb.python/py-symbol.c: Declare and call function from new + py-symbol-2.c file. + * gdb.python/py-symbol.exp: Compile both source files, and add new + tests for gdb.lookup_static_symbol. + * gdb.python/py-symbol-2.c: New file. + +2019-11-02 Tom de Vries + + * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test. + * gdb.base/anon.exp: Same. + * gdb.base/auto-connect-native-target.exp: Same. + * gdb.base/call-ar-st.exp: Same. + * gdb.base/catch-syscall.exp: Same. + * gdb.base/commands.exp: Same. + * gdb.base/default.exp: Same. + * gdb.base/display.exp: Same. + * gdb.base/float.exp: Same. + * gdb.base/foll-fork.exp: Same. + * gdb.base/help.exp: Same. + * gdb.base/info-macros.exp: Same. + * gdb.base/info-proc.exp: Same. + * gdb.base/info-target.exp: Same. + * gdb.base/long_long.exp: Same. + * gdb.base/macscp.exp: Same. + * gdb.base/memattr.exp: Same. + * gdb.base/nofield.exp: Same. + * gdb.base/pointers.exp: Same. + * gdb.base/printcmds.exp: Same. + * gdb.base/ptype.exp: Same. + * gdb.base/restore.exp: Same. + * gdb.base/return.exp: Same. + * gdb.base/scope.exp: Same. + * gdb.base/set-noassign.exp: Same. + * gdb.base/setshow.exp: Same. + * gdb.base/shlib-call.exp: Same. + * gdb.base/signals.exp: Same. + * gdb.base/sigstep.exp: Same. + * gdb.base/skip.exp: Same. + * gdb.base/solib-symbol.exp: Same. + * gdb.base/stap-probe.exp: Same. + * gdb.base/step-line.exp: Same. + * gdb.base/step-test.exp: Same. + * gdb.base/style.exp: Same. + * gdb.base/varargs.exp: Same. + * gdb.base/vla-datatypes.exp: Same. + * gdb.base/vla-ptr.exp: Same. + * gdb.base/vla-sideeffect.exp: Same. + * gdb.base/volatile.exp: Same. + * gdb.base/watch-cond-infcall.exp: Same. + * gdb.base/watchpoint.exp: Same. + +2019-11-02 Tom de Vries + + * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test. + * gdb.cp/cpexprs.exp: Same. + * gdb.cp/except-multi-location.exp: Same. + * gdb.cp/exceptprint.exp: Same. + * gdb.cp/gdb2384.exp: Same. + * gdb.cp/inherit.exp: Same. + * gdb.cp/m-static.exp: Same. + * gdb.cp/meth-typedefs.exp: Same. + * gdb.cp/misc.exp: Same. + * gdb.cp/namespace.exp: Same. + * gdb.cp/non-trivial-retval.exp: Same. + * gdb.cp/overload.exp: Same. + * gdb.cp/pr17132.exp: Same. + * gdb.cp/re-set-overloaded.exp: Same. + * gdb.cp/rvalue-ref-types.exp: Same. + * gdb.cp/templates.exp: Same. + +2019-11-01 Luis Machado + + PR gdb/25124 + + * gdb.arch/pr25124.S: New file. + * gdb.arch/pr25124.exp: New file. + +2019-10-31 Andrew Burgess + + * gdb.fortran/info-modules.exp: Update expected results, and add + additional tests for 'info module functinos', and 'info module + variables'. + * gdb.fortran/info-types.exp: Update expected results. + * gdb.fortran/info-types.f90: Extend testcase with additional + module variables and functions. + +2019-10-31 Andrew Burgess + + * gdb.fortran/info-modules.exp: New file. + * gdb.fortran/info-types.exp: Build with new file. + * gdb.fortran/info-types.f90: Include and use new module. + * gdb.fortran/info-types-2.f90: New file. + +2019-10-31 Philippe Waroquiers + + * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str. + * gdb.base/settings.exp: Test all settings types using + $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting, + that now verifies that the value of "maint show" is the same as + returned by the settings functions. Test the type of the + maintenance settings. + * gdb.base/default.exp: Update show_conv_list. + +2019-10-31 Tom de Vries + + * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to + gdb_test. + * gdb.arch/amd64-disp-step.exp: Same. + * gdb.asm/asm-source.exp: Same. + * gdb.btrace/buffer-size.exp: Same. + * gdb.btrace/cpu.exp: Same. + * gdb.btrace/enable.exp: Same. + * gdb.dwarf2/count.exp: Same. + * gdb.dwarf2/dw2-ranges-func.exp: Same. + * gdb.dwarf2/dw2-ranges-psym.exp: Same. + * gdb.fortran/vla-datatypes.exp: Same. + * gdb.fortran/vla-history.exp: Same. + * gdb.fortran/vla-ptype.exp: Same. + * gdb.fortran/vla-value.exp: Same. + * gdb.fortran/whatis_type.exp: Same. + * gdb.guile/guile.exp: Same. + * gdb.multi/tids.exp: Same. + * gdb.python/py-finish-breakpoint.exp: Same. + * gdb.python/py-framefilter.exp: Same. + * gdb.python/py-pp-registration.exp: Same. + * gdb.python/py-xmethods.exp: Same. + * gdb.python/python.exp: Same. + * gdb.server/connect-with-no-symbol-file.exp: Same. + * gdb.server/no-thread-db.exp: Same. + * gdb.server/run-without-local-binary.exp: Same. + * gdb.stabs/weird.exp: Same. + * gdb.threads/attach-many-short-lived-threads.exp: Same. + * gdb.threads/thread-find.exp: Same. + * gdb.threads/tls-shared.exp: Same. + * gdb.threads/tls.exp: Same. + * gdb.threads/wp-replication.exp: Same. + * gdb.trace/ax.exp: Same. + * lib/gdb.exp (gdb_test_exact, help_test_raw): Same. + +2019-10-31 Tom de Vries + + * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test. + * gdb.ada/array_subscript_addr.exp: Same. + * gdb.ada/arrayidx.exp: Same. + * gdb.ada/arrayparam.exp: Same. + * gdb.ada/arrayptr.exp: Same. + * gdb.ada/boolean_expr.exp: Same. + * gdb.ada/call_pn.exp: Same. + * gdb.ada/complete.exp: Same. + * gdb.ada/fixed_cmp.exp: Same. + * gdb.ada/fun_addr.exp: Same. + * gdb.ada/funcall_param.exp: Same. + * gdb.ada/interface.exp: Same. + * gdb.ada/mod_from_name.exp: Same. + * gdb.ada/null_array.exp: Same. + * gdb.ada/packed_array.exp: Same. + * gdb.ada/packed_tagged.exp: Same. + * gdb.ada/print_chars.exp: Same. + * gdb.ada/print_pc.exp: Same. + * gdb.ada/ptype_arith_binop.exp: Same. + * gdb.ada/ptype_field.exp: Same. + * gdb.ada/ptype_tagged_param.exp: Same. + * gdb.ada/rec_return.exp: Same. + * gdb.ada/ref_tick_size.exp: Same. + * gdb.ada/str_ref_cmp.exp: Same. + * gdb.ada/taft_type.exp: Same. + * gdb.ada/tagged.exp: Same. + * gdb.ada/type_coercion.exp: Same. + * gdb.ada/uninitialized_vars.exp: Same. + +2019-10-30 Tom de Vries + + * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag. + +2019-10-26 Tom de Vries + + * gdb.base/bigcore.c: Fix typos in comments. + * gdb.base/ctf-ptype.c: Same. + * gdb.base/long_long.c: Same. + * gdb.dwarf2/dw2-op-out-param.S: Same. + * gdb.python/py-evthreads.c: Same. + * gdb.reverse/i387-stack-reverse.c: Same. + * gdb.trace/tfile.c: Same. + * lib/compiler.c: Same. + * lib/compiler.cc: Same. + +2019-10-25 Tom de Vries + + * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in + gdb_test_multiple calls. + * gdb.reverse/sigall-reverse.exp: Same. + * gdb.reverse/solib-precsave.exp: Same. + * gdb.reverse/solib-reverse.exp: Same. + * gdb.reverse/until-precsave.exp: Same. + * gdb.reverse/until-reverse.exp: Same. + +2019-10-24 Tom de Vries + + * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag. + * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing + kfail using -wrap pattern flag and convenience variable + gdb_test_name. + +2019-10-24 Andrew Burgess + + * gdb.python/py-progspace.exp: Add tests for the + Progspace.block_for_pc method. + +2019-10-23 Tom Tromey + + * configure: Rebuild. + * aclocal.m4: Use m4_include, not sinclude. + +2019-10-21 Tom de Vries + + * gdb.base/infcall-nested-structs.c: Add + __attribute__((noinline,noclone)) to all functions. + (call_all): Add missing variable initialization. Simplify return value. + (breakpt): Increment volatile variable, to prevent call from being + optimized out. + * gdb.base/infcall-nested-structs.exp: Compile with -O2. + +2019-10-17 Tom de Vries + + * gdb.fortran/module.exp: Allow info variables to print info for files + other than module.f90. + +2019-10-16 Andrew Burgess + + * gdb.fortran/module.exp: Extend with 'info variables' test. + +2019-10-16 Andrew Burgess + + * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and + F77_FOR_TARGET. + +2019-10-16 Tom de Vries + + PR tdep/25096 + * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs. + +2019-10-16 Tom de Vries + + PR tdep/24104 + * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104. + Add KFAIL for PR tdep/25096. + +2019-10-16 Tom de Vries + + PR testsuite/25059 + * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541. + +2019-10-16 Tom de Vries + + * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed + as signed. + +2019-10-14 Simon Marchi + + * gdb.mi/list-thread-groups-available.exp: Read entries one by + one instead of increasing timeout. + +2019-10-13 Tom de Vries + + PR record/25038 + * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL. + * gdb.reverse/sigall-reverse.exp: Same. + * gdb.reverse/solib-precsave.exp: Same. + * gdb.reverse/solib-reverse.exp: Same. + * gdb.reverse/step-precsave.exp: Same. + * gdb.reverse/until-precsave.exp: Same. + * gdb.reverse/until-reverse.exp: Same. + * lib/gdb.exp (gdb_continue_to_breakpoint): Same. + +2019-10-10 Andreas Arnez + + * gdb.base/infcall-nested-structs.c (cmp_struct_02_01) + (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02) + (cmp_struct_05_01, cmp_struct_static_02_01) + (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant + comparisons. + +2019-10-10 Tom de Vries + + PR testsuite/24888 + * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to + gnatlink. + +2019-10-09 Tom de Vries + + PR testsuite/25048 + * gdb.rust/simple.exp: Add xfails for incorrect DWARF. + +2019-10-07 Andrew Burgess + + * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada + exceptions due to missing debug information. + +2019-10-07 Tom de Vries + + * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1. + +2019-10-07 Andrew Burgess + + * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism. + * gdb.base/annota1.exp: Update to use gdb_test_name. + +2019-10-07 Weimin Pan + + * gdb.base/ctf-whatis.exp: New file. + * gdb.base/ctf-whatis.c: New file. + * gdb.base/ctf-ptype.exp: New file. + * gdb.base/ctf-ptype.c: New file. + * gdb.base/ctf-constvars.exp: New file. + * gdb.base/ctf-constvars.c: New file. + * gdb.base/ctf-cvexpr.exp: New file. + +2019-10-04 Tom de Vries + + * gdb.cp/local-static.c (main): Move declaration of int i out of the + for loop. + +2019-10-03 Tom Tromey + + PR rust/24976: + * gdb.rust/simple.rs (Union2): New type. + (main): Use Union2. + * gdb.rust/simple.exp: Add test. + +2019-10-03 Andrew Burgess + + * gdb.fortran/nested-funcs-2.exp: Run tests with and without the + nested function prefix. + +2019-10-03 Bernhard Heckel + Richard Bunt + Andrew Burgess + + * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on + nested functions. + * gdb.fortran/nested-funcs.f90: Update expected results. + * gdb.fortran/nested-funcs-2.exp: New file. + * gdb.fortran/nested-funcs-2.f90: New file. + +2019-10-03 Andrew Burgess + + * gdb.python/py-parameter.exp: Make test names unique. + * gdb.python/py-template.exp: Likewise. + * gdb.python/py-value.exp: Likewise. + +2019-10-03 Andrew Burgess + + * gdb.base/break-interp.exp: Reduce test name duplication. + * gdb.base/call-sc.exp: Likewise. + * gdb.base/callfuncs.exp: Likewise. + * gdb.base/charset.exp: Likewise. + * gdb.base/dump.exp: Likewise. + * gdb.base/ena-dis-br.exp: Likewise. + * gdb.base/relational.exp: Likewise. + * gdb.base/step-over-syscall.exp: Likewise. + * gdb.base/structs.exp: Likewise. + +2019-10-03 Andrew Burgess + + * gdb.linespec/explicit.exp: Make test names unique. + * gdb.linespec/ls-errs.exp: Likewise. + +2019-10-03 Andrew Burgess + + * gdb.reverse/break-precsave.exp: Make test names unique. + * gdb.reverse/break-reverse.exp: Likewise. + * gdb.reverse/finish-precsave.exp: Likewise. + * gdb.reverse/finish-reverse.exp: Likewise. + * gdb.reverse/machinestate-precsave.exp: Likewise. + * gdb.reverse/machinestate.exp: Likewise. + * gdb.reverse/readv-reverse.exp: Likewise. + * gdb.reverse/recvmsg-reverse.exp: Likewise. + * gdb.reverse/sigall-precsave.exp: Likewise. + * gdb.reverse/sigall-reverse.exp: Likewise. + * gdb.reverse/step-indirect-call-thunk.exp: Likewise. + * gdb.reverse/watch-precsave.exp: Likewise. + * gdb.reverse/watch-reverse.exp: Likewise. + +2019-10-03 Andrew Burgess + + * gdb.threads/stop-with-handle.c: New file. + * gdb.threads/stop-with-handle.exp: New file. + +2019-10-03 Tom de Vries + + PR testsuite/25059 + * gdb.base/list-missing-source.exp: Allowing the "Compilation + directory" line to be missing. + +2019-10-03 Tom de Vries + + PR testsuite/25059 + * gdb.base/info-types.exp: Make the presence of the 'unsigned int' + type optional. + +2019-10-02 Andreas Arnez + + * gdb.python/py-format-string.c (string.h): New include. + (main): Fill a_struct_with_union.the_union.an_int with bytes of + the same value, for endianness-independence. + * gdb.python/py-format-string.exp (default_regexp_dict) + (test_pretty_structs, test_format): Adjust expected output to the + changed initialization. + +2019-10-02 Tom Tromey + + * gdb.ada/catch_ex_std.exp: Add $_ada_exception test. + +2019-10-02 Pedro Alves + Andrew Burgess + + * gdb.base/print-file-var-lib1.c: Include and + "print-file-var.h". + (this_version_id) Use ATTRIBUTE_VISIBILITY. + (get_version_1): Print this_version_id and its address. + Add extern "C" wrappers around interface functions. + * gdb.base/print-file-var-lib2.c: Include and + "print-file-var.h". + (this_version_id) Use ATTRIBUTE_VISIBILITY. + (get_version_2): Print this_version_id and its address. + Add extern "C" wrappers around interface functions. + * gdb.base/print-file-var-main.c: Include , , + and "print-file-var.h". + Add extern "C" wrappers around interface functions. + [VERSION_ID_MAIN] (this_version_id): Define. + (main): Define v0. Use dlopen if SHLIB_NAME is defined. + * gdb.base/print-file-var.h: Add some #defines to simplify setting + up extern "C" blocks. + * gdb.base/print-file-var.exp (test): New, factored out from top + level. + (top level): Test all combinations of attribute hidden or not, + dlopen or not, and this_version_id symbol in main file or not. + Compile tests as both C++ and C, make test names unique. + +2019-10-01 Tom Tromey + + * gdb.base/style.exp: Test "show logging filename". + +2019-10-01 Tom Tromey + + * lib/gdb-utils.exp (style): Handle "metadata" argument. + * gdb.base/style.exp: Add metadata style test. + +2019-10-01 Tom Tromey + + * gdb.base/style.exp: Test "pwd". + +2019-10-01 Tom Tromey + + * gdb.base/style.exp: Update tests. + +2019-10-01 Andreas Arnez + + * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and + 'six' to unsigned. + (s1): Initialize fields 'four' and 'six' instead of 'three' and + 'five'. Use an all-ones bit pattern for each. + * gdb.base/pretty-print.exp: Adjust expected output of "print s1" + to its changed values. + +2019-09-30 Tom Tromey + + * gdb.rust/traits.rs: Disable all warnings. + +2019-09-29 Tom de Vries + + * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file. + +2019-09-29 Tom de Vries + + * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy. + +2019-09-27 Tom de Vries + + * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps. + +2019-09-27 Tom de Vries + + PR record/23188 + * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188. + 2019-09-26 Tom Tromey * gdb.ada/py_taft.exp: New file. @@ -697,6 +1283,7 @@ 2019-07-08 Alan Hayward + PR breakpoints/25011 * gdb.base/break-idempotent.exp: Test both PIE and non PIE. 2019-07-04 Pedro Alves @@ -775,6 +1362,7 @@ 2019-06-27 Tom Tromey + PR c++/20020: * gdb.cp/constexpr-field.exp: Use setup_xfail. 2019-06-26 Tom de Vries @@ -1644,6 +2232,7 @@ 2019-03-22 Alan Hayward + PR testsuite/25016 * README: Add pie options. * gdb.base/break-interp.exp: Ensure pie is disabled. * gdb.base/dump.exp: Likewise.