X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=e24b066fb1535ab3cf590c5fce82cb1b658446e4;hb=3dcc261cf8dfbf60075cc4617cec0b1aaab8896f;hp=21839c7c12b295456989ceb133e909bc9483403c;hpb=5144dfba285d9b467016b7a2f72f0240fda7ce8f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 21839c7c12..e24b066fb1 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,515 @@ +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. + +2020-06-25 Andrew Burgess + + * gdb.arch/riscv-tdesc-regs-32.xml: New file. + * gdb.arch/riscv-tdesc-regs-64.xml: New file. + * gdb.arch/riscv-tdesc-regs.c: New file. + * gdb.arch/riscv-tdesc-regs.exp: New file. + +2020-06-24 Pedro Alves + + * gdb.arch/amd64-entry-value-paramref.exp: Use + prepare_for_testing_full and don't pass "c++" for the .S file + build spec. + * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with + $options, since it's an assembly file. Remove -Wno-deprecated. + * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when + compiling C++ programs. + +2020-06-24 Pedro Alves + + * lib/gdb.exp (gdb_compile): Update intro comment. If C/C++ with + Clang, add "-Wno-unknown-warning-option" to the options. + +2020-06-23 Andrew Burgess + + * gdb.xml/tdesc-reload.c: New file. + * gdb.xml/tdesc-reload.exp: New file. + * gdb.xml/maint-xml-dump-01.xml: New file. + * gdb.xml/maint-xml-dump-02.xml: New file. + * gdb.xml/maint-xml-dump.exp: New file. + +2020-06-23 Sandra Loosemore + + * lib/completion-support.exp (test_gdb_completion_offers_commands): + Adjust for omitted commands when TUI is disabled. + +2020-06-23 Gary Benson + Pedro Alves + + * gdb.cp/namespace.cc: Improve -Wunused-value fix. + * gdb.cp/nsimport.cc: Likewise. + * gdb.cp/nsnested.cc: Likewise. + * gdb.cp/nsnoimports.cc: Likewise. + * gdb.cp/nsusing.cc: Likewise. + * gdb.cp/smartp.cc: Likewise. + * gdb.python/py-pp-integral.c: Likewise. + * gdb.python/py-pp-re-notag.c: Likewise. + +2020-06-23 Gary Benson + + * gdb.cp/namespace.cc: Avoid build failure with -Wunused-value. + * gdb.cp/nsimport.cc: Likewise. + * gdb.cp/nsnested.cc: Likewise. + * gdb.cp/nsnoimports.cc: Likewise. + * gdb.cp/nsusing.cc: Likewise. + * gdb.cp/smartp.cc: Likewise. + * gdb.python/py-pp-integral.c: Likewise. + * gdb.python/py-pp-re-notag.c: Likewise. + +2020-06-22 Philippe Waroquiers + + * gdb.base/default-args.exp: New test. + * gdb.base/default-args.c: New file. + * gdb.base/alias.exp: Update expected error msg for alias foo=bar. + * gdb.base/default.exp: Update to new help text. + * gdb.base/help.exp: Likewise. + * gdb.base/page.exp: Likewise. + * gdb.base/style.exp: Likewise. + * gdb.guile/guile.exp: Likewise. + * gdb.python/python.exp: Likewise. + +2020-06-22 Sandra Loosemore + + * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on + remote host. Fix search path syntax on Windows host. + +2020-06-21 Philippe Waroquiers + + * gdb.base/attach.exp: Test priority of 'exec-file' changed + over 'exec-file-mismatch'. + * gdb.base/attach.c: Mark should_exit volatile. + * gdb.base/attach2.c: Likewise. Add a comment explaining + why the sleep cannot be big. + * gdb.base/attach3.c: New file. + +2020-06-20 Sandra Loosemore + + * gdb.mi/mi-sym-info.exp: Adjust filename patterns to make directory + prefix optional. + +2020-06-20 Sandra Loosemore + + * gdb.base/list-missing-source.exp: Correct $srcfile manipulation + for remote host. + +2020-06-19 Sandra Loosemore + Hafiz Abid Qadeer + + * gdb.xml/tdesc-regs.exp (load_description): Correct pathname of + file sent to remote host. + (top level): Allow int32_t as type of 32-bit register. + +2020-06-19 Tom de Vries + + * lib/gdb.exp (gdb_note): New proc. + * lib/future.exp (gdb_default_target_compile_1): Factor out of ... + (gdb_default_target_compile): ... here. Only call + gdb_default_target_compile_1 if use_gdb_compile() is set. + (use_gdb_compile): Change to array. + (toplevel): Update sets of use_gdb_compile to specify language. + Warn about default_target_compile override. Store dejagnu's version + of default_target_compile in dejagnu_default_target_compile. + +2020-06-18 Tom de Vries + + * lib/gdb.exp (gdb_init): Move all but call to default_gdb_init to ... + (default_gdb_init): ... here. + +2020-06-17 Sandra Loosemore + + Fix TUI support checks in gdb.tui tests. + + * gdb.tui/basic.exp: Skip test when TUI is unsupported, don't + just say UNSUPPORTED. + * gdb.tui/corefile-run.exp: Likewise. + * gdb.tui/empty.exp: Likewise. + * gdb.tui/list-before.exp: Likewise. + * gdb.tui/list.exp: Likewise. + * gdb.tui/main.exp: Likewise. + * gdb.tui/regs.exp: Likewise. + * gdb.tui/resize.exp: Likewise. + * gdb.tui/tui-layout-asm-short-prog.exp: Likewise. + * gdb.tui/tui-layout-asm.exp: Likewise. + * gdb.tui/tui-missing-src.exp: Likewise. + * gdb.tui/winheight.exp: Likewise. + * gdb.tui/new-layout.exp: Likewise. Also move check earlier. + +2020-06-17 Sandra Loosemore + + Fix TCL error in gdb.python/py-format-string.exp. + + * gdb.python/py-format-string.exp: Move test for python support + earlier, out of function body. + +2020-06-15 Simon Marchi + + * gdb.base/index-cache-load-twice.c: New. + * gdb.base/index-cache-load-twice.exp: New. + +2020-06-17 Keith Seitz + + * gdb.debuginfod/fetch_src_and_symbols.exp: Pass INTERNAL_GDBFLAGS + when executing "gdb --configuration". + +2020-06-17 Tom de Vries + + * lib/gdb.exp (gdb_tcl_unknown): New proc. + (gdb_init): Use gdb_tcl_unknown for ::unknown override. Make override + conditional on presence of gdb_tcl_unknown. + (gdb_finish): Make override undo conditional on presence of + gdb_tcl_unknown. + +2020-06-16 Tom Tromey + + * gdb.python/tui-window.py (failwin): New function. Register it + as a TUI window type. + * gdb.python/tui-window.exp: Create new "fail" layout. Test it. + +2020-06-16 Gary Benson + + * gdb.python/py-nested-maps.c (create_map): Add missing return + value. + (create_map_map): Likewise. + +2020-06-15 Tankut Baris Aktemur + + * gdb.base/jit-elf-so.exp: Refer to the global main_loader_basename + variable. + * gdb.base/jit-reader-simple.exp: Fix typo ("Built" -> "Build"), + and use the already-defined 'options' variable. + +2020-06-12 Andrew Burgess + Tom de Vries + + * lib/gdb.exp (gdb_known_globals, gdb_persistent_globals): New global. + (gdb_persistent_global, gdb_persistent_global_no_decl): New proc. + (gdb_setup_known_globals): New proc. + (gdb_cleanup_globals): New proc. + * lib/gdb.exp (load_lib): New override proc. + (gdb_stdin_log_init): Set var in_file as persistent global. + * lib/pascal.exp (gdb_stdin_log_init): Set vars + pascal_compiler_is_gpc, pascal_compiler_is_fpc, gpc_compiler and + fpc_compiler as persistent global. + +2020-06-12 Tom de Vries + + * lib/tuiterm.exp (spawn): Rename to ... + (tui_spawn): ... this. + (toplevel): Move rename of spawn ... + (gdb_init_tuiterm): ... here. New proc. + (gdb_finish_tuiterm): New proc. + * lib/gdb.exp (gdb_finish_hooks): New global var. + (gdb_finish): Handle gdb_finish_hooks. + (tuiterm_env): New proc. + * gdb.python/tui-window.exp: Replace load_lib tuiterm.exp with + tuiterm_env. + * gdb.tui/basic.exp: Same. + * gdb.tui/corefile-run.exp: Same. + * gdb.tui/empty.exp: Same. + * gdb.tui/list-before.exp: Same. + * gdb.tui/list.exp: Same. + * gdb.tui/main.exp: Same. + * gdb.tui/new-layout.exp: Same. + * gdb.tui/regs.exp: Same. + * gdb.tui/resize.exp: Same. + * gdb.tui/tui-layout-asm-short-prog.exp: Same. + * gdb.tui/tui-layout-asm.exp: Same. + * gdb.tui/tui-missing-src.exp: Same. + * gdb.tui/winheight.exp: Same. + +2020-06-12 Tom de Vries + + PR testsuite/26110 + * lib/gdb.exp (gdb_init): Revert dejagnu's override of ::unknown. + (gdb_finish): Reinstall dejagnu's override of ::unknown. + +2020-06-11 Tom Tromey + + PR gdb/18318: + * gdb.base/printcmds.exp (test_float_accepted): Add more hex + floating point tests. + +2020-06-11 Keith Seitz + + PR gdb/21356 + * gdb.base/vla-datatypes.c (vla_factory): Add typedef for struct + vla_struct. + Add new struct vla_typedef and union vla_typedef_union and + corresponding instantiation objects. + Initialize new objects. + * gdb.base/vla-datatypes.exp: Add tests for vla_typedef_struct_object + and vla_typedef_union_object. + Fixup type for vla_struct_object. + +2020-06-11 Tom de Vries + + * lib/gdb.exp (with_override): New proc, factored out of ... + * gdb.base/dbx.exp: ... here. Use with_override and save_vars. + +2020-06-10 Tom de Vries + + * gdb.ada/ptype_union.exp: Remove PR24713 workaround. + +2020-06-09 Simon Marchi + + * gdb.base/index-cache.exp (test_cache_disabled): Add test_prefix + parameter, update callers. + +2020-06-04 Simon Marchi + + * gdb.dwarf2/share-psymtabs-bt.exp: New file. + * gdb.dwarf2/share-psymtabs-bt.c: New file. + * gdb.dwarf2/share-psymtabs-bt-2.c: New file. + +2020-06-04 Tom de Vries + + * lib/gdb.exp (gdb_file_cmd): Avoid path names in error messages. + +2020-06-04 Tom de Vries + + * lib/gdb.exp (gdb_file_cmd): Replace incomplete gdb_expect by + exp_continue. + +2020-06-04 Tom de Vries + + * lib/gdb.exp (gdb_file_cmd): Use perror instead of fail. + +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