X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=9f826a6290a72f77428fbe6ff1b9dbb78c8c142c;hb=94cb3754118669d46c8ad87c986d8d9c59fac65a;hp=294243a661758725c65326e61c5d53d1d3e06296;hpb=3df505f60eacd2c931092c7007f084d27583f9e5;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 294243a661..9f826a6290 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,505 @@ +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. + * gdb.ada/py_taft/main.adb: New file. + * gdb.ada/py_taft/pkg.adb: New file. + * gdb.ada/py_taft/pkg.ads: New file. + +2019-09-24 Tom de Vries + + PR gdb/24598 + * gdb.arch/amd64-init-x87-values.exp: Add xfail. + +2019-09-22 Tom de Vries + + * gdb.base/restore.exp: Allow register variables to be optimized out at + -O0. + +2019-09-20 Ulrich Weigand + + * gdb.arch/spu-info.exp: Remove file. + * gdb.arch/spu-info.c: Remove file. + * gdb.arch/spu-ls.exp: Remove file. + * gdb.arch/spu-ls.c: Remove file. + + * gdb.asm/asm-source.exp: Remove support for spu*-*-*. + * gdb.asm/spu.inc: Remove file. + + * gdb.base/dump.exp: Remove support for spu*-*-*. + * gdb.base/stack-checking.exp: Likewise. + * gdb.base/overlays.exp: Likewise. + * gdb.base/ovlymgr.c: Likewise. + * gdb.base/spu.ld: Remove file. + + * gdb.cp/bs15503.exp: Remove support for spu*-*-*. + * gdb.cp/cpexprs.exp: Likewise. + * gdb.cp/exception.exp: Likewise. + * gdb.cp/gdb2495.exp: Likewise. + * gdb.cp/mb-templates.exp: Likewise. + * gdb.cp/pr9167.exp: Likewise. + * gdb.cp/userdef.exp: Likewise. + + * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*. + + * gdb.cell: Remove directory. + * lib/cell.exp: Remove file. + +2019-09-19 Tom de Vries + + * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern. + +2019-09-19 Tom de Vries + + * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing. + +2019-09-19 Tom de Vries + + * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning + UNSUPPORTED) for 'Network is unreachable' message. Factor out of ... + (gdb_target_cmd): ... here. + * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return + value 2. + +2019-09-18 Andrew Burgess + + * gdb.base/source-dir.exp: Avoid having directory names in test + names. + +2019-09-17 Andrew Burgess + + * gdb.base/source-dir.exp: Add extra test for mapped compilation + directory. + +2019-09-17 Andrew Burgess + + * gdb.base/list-missing-source.exp: New file. + +2019-09-14 Tom de Vries + + PR teststuite/24599 + * gdb.ada/rename_subscript_param.exp: Require gnatmake 8. + * lib/ada.exp (gnatmake_version_at_least): New proc. + +2019-09-12 Andrew Burgess + + * gdb.base/maint.exp: Use exec_has_index_section. + +2019-09-12 Andrew Burgess + + * gdb.base/maint.exp: Add test for 'maint info sections'. + +2019-09-12 Tom de Vries + + * gdb.base/store.exp: Allow register variables to be optimized out at + -O0. + +2019-09-12 Philippe Waroquiers + + * gdb.ada/rdv_wait.exp: Update to new task names. + * gdb.base/task_switch_in_core.exp: Likewise. + * gdb.base/info_sources_base.c: Likewise. + +2019-09-10 Tom Tromey + + * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET. + +2019-09-10 Tom Tromey + + * gdb.ada/dgopt.exp: New file. + * gdb.ada/dgopt/x.adb: New file. + +2019-09-08 Tom Tromey + + * gdb.tui/resize.exp: Remove setup_xfail. + * gdb.tui/regs.exp: Remove setup_xfail. + * gdb.tui/basic.exp: Remove setup_xfail. + +2019-09-06 David Blaikie + + * gdb.base/label.exp: un-XFAIL label related tests under Clang. + * gdb.cp/cplabel.exp: Ditto. + * gdb.linespec/ls-errs.exp: Ditto. + +2019-09-05 Tom de Vries + + * lib/gdb.exp (cmp_file_string): New proc. + * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with + runto_main. Verify save breakpoints output. + +2019-09-04 Philippe Waroquiers + + * gdb.base/info-var.exp: Test info variables without running + to main, to avoid expect's buffer overflow. + +2019-09-03 Tom Tromey + + * gdb.ada/bias.exp: New file. + * gdb.ada/bias/bias.adb: New file. + * gdb.ada/print_chars.exp: Add regression test. + * gdb.ada/print_chars/foo.adb (My_Character): New type. + (MC): New variable. + +2019-08-29 Sandra Loosemore + + * gdb.base/argv0-symlink.exp: Run only on native target + and local host. + +2019-08-29 Tom de Vries + + * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more + diverse debug info. + * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4. + +2019-08-28 Tom de Vries + + * gdb.base/info-var.exp: Allow info variables to print info for files + other than info-var-f1.c and info-var-f2.c. + +2019-08-28 Andrew Burgess + + * gdb.fortran/info-types.exp: Add module. + * gdb.fortran/info-types.f90: Update expected results. + +2019-08-28 Andrew Burgess + + * gdb.fortran/info-types.exp: New file. + * gdb.fortran/info-types.f90: New file. + * lib/fortran.exp (fortran_character1): New proc. + +2019-08-27 Andrew Burgess + + * gdb.base/info-fun.exp: Extend to test the -n flag for 'info + functions'. Reindent as needed. + * gdb.base/info-var-f1.c: New file. + * gdb.base/info-var-f2.c: New file. + * gdb.base/info-var.exp: New file. + * gdb.base/info-var.h: New file. + +2019-08-26 Tom de Vries + + PR c++/24852 + * gdb.cp/no-libstdcxx-probe.exp: New test. + +2019-08-26 Tom de Vries + + * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe + * tests need to be skipped. + * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests. + * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to + mi_skip_libstdcxx_probe_tests. + +2019-08-26 Sergio Durigan Junior + + * gdb.python/py-xmethods.exp: Use raw strings when passing + arguments to SimpleXMethodMatcher. + +2019-08-22 Tom de Vries + + * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages + more informative. + +2019-08-21 Pedro Alves + + * gdb.base/with.exp: Test "with" with no arguments. + +2019-08-21 Tom de Vries + + * gdb.base/gdb-caching-proc.exp: Sort files. + +2019-08-20 Tom de Vries + + * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before + compilation. + +2019-08-16 Tom de Vries + + * gdb.base/compare-sections.exp ("after run to main"): Allow + mismatched read-only sections for PIE executables. + +2019-08-16 Tom Tromey + + * lib/tuiterm.exp (_csi_Z): New proc. + * gdb.tui/basic.exp: Update window positions. + * gdb.tui/empty.exp: Update window positions. + +2019-08-15 Sandra Loosemore + + * gdb.base/examine-backward.exp: Correct regexp for + "examine 3 bytes backward from ${address_zero}". + 2019-08-15 Tom Tromey * gdb.tui/empty.exp: Enable resizing tests. @@ -468,6 +970,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 @@ -546,6 +1049,7 @@ 2019-06-27 Tom Tromey + PR c++/20020: * gdb.cp/constexpr-field.exp: Use setup_xfail. 2019-06-26 Tom de Vries @@ -1415,6 +1919,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.