gdb/python: reformat an error string
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index d184b782049a4c0ac4714c1b7e2d7bacd3ea9203..8fb69c0bacf627153f99c440576c4eaac7d4895e 100644 (file)
@@ -1,3 +1,482 @@
+2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-framefilter.exp: Update expected results.
+       * gdb.python/python.exp: Update expected results.
+
+2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.tui/scroll.exp: Tighten expected results.  Remove comment
+       about bug in GDB, update expected results, and add more tests.
+
+2021-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.tui/scroll.exp: New file.
+       * gdb.tui/tui-layout-asm-short-prog.exp: Update expected results.
+       * lib/tuiterm.exp (Term::_csi_M): Delete count lines, scroll
+       remaining lines up.
+       (Term::check_region_contents): New proc.
+       (Term::check_box_contents): Use check_region_contents.
+
+2021-02-06  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/26922
+       * gdb.tui/tui-layout-asm.exp: Ignore whitespace mismatches when
+       scrolling.
+
+2021-02-05  Tom de Vries  <tdevries@suse.de>
+
+       PR breakpoints/27313
+       * gdb.base/catch-syscall.exp: Check that "catch syscall -1" is
+       rejected.
+
+2021-02-05  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/main-subprogram.exp: Add KFAIL for PR symtab/24549.
+       * gdb.fortran/mixed-lang-stack.exp: Same.
+
+2021-02-05  Tom de Vries  <tdevries@suse.de>
+
+       PR exp/27265
+       * gdb.base/complex-parts.exp: Add tests.
+
+2021-02-05  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/27307
+       * gdb.dwarf2/clang-debug-names.exp: Check file command warnings.
+
+2021-02-04  Shahab Vahedi  <shahab@synopsys.com>
+
+       * gdb.xml/tdesc-regs.exp: Use correct core-regs for ARC.
+
+2021-02-03  Pedro Alves  <pedro@palves.net>
+
+       * gdb.threads/detach-step-over.c: New file.
+       * gdb.threads/detach-step-over.exp: New file.
+
+2021-02-03  Pedro Alves  <pedro@palves.net>
+
+       * gdb.threads/attach-non-stop.c: New file.
+       * gdb.threads/attach-non-stop.exp: New file.
+
+2021-02-02  Lancelot SIX  <lsix@lancelotsix.com>
+
+       * gdb.base/inferior-noarg.c: New test.
+       * gdb.base/inferior-noarg.exp: New test.
+
+2021-02-02  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.base/scope.exp: Use proc_with_prefix.
+
+2021-02-02  Simon Marchi  <simon.marchi@efficios.com>
+
+       * lib/dwarf.exp (rnglists): Add -no-offset-array option to
+       table proc.
+       * gdb.dwarf2/rnglists-sec-offset.exp: Add test for
+       .debug_rnglists table without offset array.
+       * gdb.dwarf2/loclists-sec-offset.exp: Add test for
+       .debug_loclists table without offset array.
+
+2021-02-02  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.dwarf2/rnglists-sec-offset.exp: Add test for DW_AT_ranges
+       of DW_FORM_sec_offset form plus DW_AT_rnglists_base attribute.
+       * gdb.dwarf2/loclists-sec-offset.exp: Add test for
+       DW_AT_location of DW_FORM_sec_offset plus DW_AT_loclists_base
+       attribute
+
+2021-02-02  Simon Marchi  <simon.marchi@efficios.com>
+
+       PR gdb/26813
+       * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_loclistx.
+       (loclists): New proc.
+       * gdb.dwarf2/loclists-multiple-cus.c: New.
+       * gdb.dwarf2/loclists-multiple-cus.exp: New.
+       * gdb.dwarf2/loclists-sec-offset.c: New.
+       * gdb.dwarf2/loclists-sec-offset.exp: New.
+
+2021-02-02  Simon Marchi  <simon.marchi@efficios.com>
+
+       * lib/dwarf.exp (_location): Add parameters.
+       (_handle_DW_FORM): Adjust.
+
+2021-02-02  Simon Marchi  <simon.marchi@efficios.com>
+
+       PR gdb/26813
+       * lib/dwarf.exp (_handle_DW_FORM): Handle DW_FORM_rnglistx.
+       (cu): Generate header for DWARF 5.
+       (rnglists): New proc.
+       * gdb.dwarf2/rnglists-multiple-cus.exp: New.
+       * gdb.dwarf2/rnglists-sec-offset.exp: New.
+
+2021-02-02  Tom de Vries  <tdevries@suse.de>
+
+       PR symtab/24620
+       * gdb.dwarf2/fission-reread.exp: Add test-case.
+
+2021-02-01  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/fission-base.S: Pass -DDWO=$dwo.
+       * gdb.dwarf2/fission-loclists-pie.S: Same.
+       * gdb.dwarf2/fission-loclists.S: Same.
+       * gdb.dwarf2/fission-multi-cu.S: Same.
+       * gdb.dwarf2/fission-reread.S: Same.
+       * gdb.dwarf2/fission-base.exp: Use DWO.
+       * gdb.dwarf2/fission-loclists-pie.exp: Same.
+       * gdb.dwarf2/fission-loclists.exp: Same.
+       * gdb.dwarf2/fission-multi-cu.exp: Same.
+       * gdb.dwarf2/fission-reread.exp: Same.
+
+2021-01-29  Tom de Vries  <tdevries@suse.de>
+
+       PR breakpoints/26063
+       * gdb.dwarf2/dw2-step-out-of-function-no-stmt.c: New test.
+       * gdb.dwarf2/dw2-step-out-of-function-no-stmt.exp: New file.
+
+2021-01-29  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.opt/solib-intra-step.exp: Remove state tracking logic.
+
+2021-01-28  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.arch/i386-gnu-cfi.exp: Capture the position of function gate
+       in the backtrace, and use that in the rest of the test instead of
+       hardcoded constant 3.  Use "frame" instead of "up" for robustness.
+
+2021-01-28  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.arch/i386-sse-stack-align.S: Rename g[0-4] to test_g[0-4].
+       * gdb.arch/i386-sse-stack-align.c: Same.
+       * gdb.arch/i386-sse-stack-align.exp: Same.
+
+2021-01-28  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * lib/gdb.exp (default_gdb_init): Unset XDG_CONFIG_HOME.
+
+2021-01-28  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.ada/out_of_line_in_inlined.exp: Use gdb_breakpoint.
+
+2021-01-28  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: Add regexp to
+       "maint info line-table".  Make PASS pattern more specific.  Make
+       FAIL pattern work for -m32.
+
+2021-01-27  Lancelot SIX  <lsix@lancelotsix.com>
+
+       PR gdb/27133
+       * gdb.base/ui-redirect.exp: Add test case that ensures that
+       redirecting both logging and debug does not cause gdb to crash.
+
+
+2021-01-27  Matthew Malcomson  <matthew.malcomson@arm.com>
+
+       * gdb.arch/insn-reloc.c: Add tests for BR and BLR.
+
+2021-01-26  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.threads/killed-outside.exp: Allow regular output.
+
+2021-01-26  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.opt/solib-intra-step.exp: Handle stepping into thunk.
+
+2021-01-25  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/dw2-ranges-psym.exp (gdb_load_no_complaints): New proc.
+       * lib/gdb.exp: Use gdb_load_no_complaints.
+
+2021-01-25  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/fixed_points.exp: Add regression test.
+       * gdb.ada/fixed_points/fixed_points.adb (FP5_Var): New variable.
+       * gdb.ada/fixed_points/pck.adb (Delta5, FP5_Type): New.
+
+2021-01-25  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/local-enum.exp: Add enumerator resolution test.
+
+2021-01-25  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/local-enum.exp: New file.
+       * gdb.ada/local-enum/local.adb: New file.
+
+2021-01-23  Tom Tromey  <tom@tromey.com>
+
+       * lib/gdb.exp (default_gdb_init): Set INPUTRC to a cached file.
+
+2021-01-22  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * gdb.base/line65535.exp: Fix test expectation.
+
+2021-01-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * lib/gdb.exp (gdb_test_multiple): Remove things related to test
+       suppression.
+       (default_gdb_exit): Likewise.
+       (default_gdb_spawn): Likewise.
+       (send_gdb): Likewise.
+       (gdb_expect): Likewise.
+       (gdb_expect_list): Likewise.
+       (default_gdb_init): Likewise.
+       (gdb_suppress_entire_file): Remove.
+       (gdb_suppress_tests): Remove.
+       (gdb_stop_suppressing_tests): Remove.
+       (gdb_clear_suppressed): Remove.
+       * lib/mi-support.exp (mi_uncatched_gdb_exit): Remove things
+       related to test suppression.
+       (default_mi_gdb_start): Likewise.
+       (mi_gdb_reinitialize_dir): Likewise.
+       (mi_gdb_test): Likewise.
+       (mi_run_cmd_full): Likewise.
+       (mi_runto_helper): Likewise.
+       (mi_execute_to): Likewise.
+       * lib/prompt.exp (default_prompt_gdb_start): Likewise.
+       * gdb.base/bitfields.exp: Likewise.
+       * gdb.base/bitfields2.exp: Likewise.
+       * gdb.base/break.exp: Likewise.
+       * gdb.base/call-sc.exp: Likewise.
+       * gdb.base/callfuncs.exp: Likewise.
+       * gdb.base/dfp-test.exp: Likewise.
+       * gdb.base/endian.exp: Likewise.
+       * gdb.base/exprs.exp: Likewise.
+       * gdb.base/funcargs.exp: Likewise.
+       * gdb.base/hbreak2.exp: Likewise.
+       * gdb.base/recurse.exp: Likewise.
+       * gdb.base/scope.exp: Likewise.
+       * gdb.base/sepdebug.exp: Likewise.
+       * gdb.base/structs.exp: Likewise.
+       * gdb.base/until.exp: Likewise.
+       * gdb.cp/misc.exp: Likewise.
+
+2021-01-22  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR cli/25956
+       * gdb.base/style.exp (run_style_tests): Add version string test.
+       (test_startup_version_string): Use version style name.
+       * lib/gdb-utils.exp (style): Handle version style name.
+
+2021-01-22  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/style.exp (limited_style): New proc.
+       (clean_restart_and_disable): New proc.
+       (run_style_tests): New proc.  Most of the old tests from this file
+       are now in this proc.
+       (test_startup_version_string): New proc.  Reamining test from the
+       old file is in this proc.
+
+2021-01-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
+       Adjust to "set debug remote" changes.
+
+2021-01-21  Luis Machado  <luis.machado@linaro.org>
+
+       * lib/gdbserver-support.exp (gdb_target_cmd_ext): Handle a new error
+       message.
+
+2021-01-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * lib/tuiterm.exp (_log, _log_cur): New, use throughout.
+
+2021-01-21  Hannes Domani  <ssbssa@yahoo.de>
+
+       PR python/19151
+       * gdb.python/py-breakpoint.exp: Add tests for hardware breakpoints.
+
+2021-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * lib/tuiterm.exp: Rename _cur_x/_cur_y to _cur_col/_cur_row.
+
+2021-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * lib/tuiterm.exp: Add links in comments.
+
+2021-01-20  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.python/py-format-string.exp: Allow Deriv+$decimal as vtable
+       offset.
+
+2021-01-20  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (skip_rust_tests): Skip if multilib_flags contains -m32.
+
+2021-01-20  Sergio Durigan Junior  <sergiodj@sergiodj.net>
+
+       * gdb.arch/amd64-stap-expressions.S: New file.
+       * gdb.arch/amd64-stap-expressions.exp: New file.
+
+2021-01-19  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/step-over-syscall.exp: Detect and handle sysenter/int
+       sequence.
+
+2021-01-19  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.arch/i386-mpx.c (main): Drop argc/argv parameter.
+
+2021-01-18  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/array-slices.exp (run_test): Avoid including
+       addresses in test names.
+
+2021-01-15  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/26997
+       * gdb.fortran/array-slices.exp (run_test): Avoid pointer arithmetic
+       when adding sizeof.
+
+2021-01-14  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/24590
+       * gdb.base/style.exp: Handle shorter argv in frame command output.
+
+2021-01-13  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR gdb/26819
+       * gdb.server/stop-reply-no-thread-multi.c: New file.
+       * gdb.server/stop-reply-no-thread-multi.exp: New file.
+
+2021-01-12  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.arch/i386-mpx-call.c (have_mpx): Remove.
+       (main): Remove call to have_mpx.
+       * gdb.arch/i386-mpx-call.exp: Use have_mpx.
+       * gdb.arch/i386-mpx-map.c (have_mpx): Remove.
+       (main): Remote call to have_mpx.
+       * gdb.arch/i386-mpx-map.exp: Use have_mpx.
+       * gdb.arch/i386-mpx-sigsegv.c (have_mpx): Remove.
+       (main): Remove call to have_mpx.
+       * gdb.arch/i386-mpx-sigsegv.exp: Use have_mpx.
+       * gdb.arch/i386-mpx-simple_segv.c (have_mpx): Remove.
+       (main): Remove call to have_mpx.
+       * gdb.arch/i386-mpx-simple_segv.exp: Use have_mpx.
+       * gdb.arch/i386-mpx.c (have_mpx): Remove.
+       (main): Remote call to have_mpx.
+       * gdb.arch/i386-mpx.exp: Use have_mpx.
+       * lib/gdb.exp (have_mpx): New proc.
+
+2021-01-12  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
+
+       * gdb.arch/aarch64-fp.exp: Modify to test bfloat16 support.
+
+2021-01-12  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
+
+2021-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/debug-expr.exp: Add new tests.
+
+2021-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/dot-ops.exp: Add new tests.
+
+2021-01-11  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/26968
+       * gdb.arch/amd64-stap-three-arg-disp.S: Remove insn modifying $ebx.
+       Move insn setting $eax to before probe point.
+
+2021-01-09  Tom Tromey  <tom@tromey.com>
+
+       * gdb.trace/ax.exp: Do not require an "ext".
+
+2021-01-08  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/voidctx/pck.adb: New file.
+       * gdb.ada/voidctx/pck.ads: New file.
+       * gdb.ada/voidctx/voidctx.adb: New file.
+       * gdb.ada/voidctx.exp: New file.
+
+2021-01-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       PR gdb/27157
+       * gdb.base/empty-host-env-vars.exp: New test.
+
+2021-01-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/completion.exp: Add a new test.
+
+2021-01-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/intvar-dynamic-types.exp: New file.
+       * gdb.fortran/intvar-dynamic-types.f90: New file.
+
+2021-01-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/intvar-array.exp: New file.
+       * gdb.fortran/intvar-array.f90: New file.
+
+2021-01-07  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/assign_arr.exp: Add 'others' test.
+
+2021-01-06  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/fixed_points/pck.ads (Delta4): New constant.
+       (FP4_Type): New type.
+       (FP4_Var): New variable.
+       * gdb.ada/fixed_points/fixed_points.adb: Update.
+       * gdb.ada/fixed_points.exp: Add tests for binary operators.
+
+2021-01-06  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * lib/gdb.exp (gdb_test_sequence): Accept -prompt switch.
+       * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
+       Pass prompt containing debug print to gdb_test_sequence.
+
+2021-01-04  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/dw2-out-of-range-end-of-seq.exp: New file.
+
+2021-01-04  Simon Marchi  <simon.marchi@efficios.com>
+
+
+
+2021-01-04  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.server/abspath.exp: Append "set sysroot" to GDBFLAGS.
+       * gdb.server/connect-without-multi-process.exp: Likewise.
+       * gdb.server/exit-multiple-threads.exp: Likewise.
+       * gdb.server/ext-attach.exp: Likewise.
+       * gdb.server/ext-restart.exp: Likewise.
+       * gdb.server/ext-run.exp: Likewise.
+       * gdb.server/ext-wrapper.exp: Likewise.
+       * gdb.server/multi-ui-errors.exp: Likewise.
+       * gdb.server/no-thread-db.exp: Likewise.
+       * gdb.server/reconnect-ctrl-c.exp: Likewise.
+       * gdb.server/run-without-local-binary.exp: Likewise.
+       * gdb.server/server-kill.exp: Likewise.
+       * gdb.server/server-run.exp: Likewise.
+       * gdb.server/solib-list.exp: Likewise.
+       * gdb.server/stop-reply-no-thread.exp: Likewise.
+       * gdb.server/wrapper.exp: Likewise.
+       * gdb.server/sysroot.exp: Increase timeout when testing the
+       target: sysroot.
+
+2021-01-04  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.server/server-run.exp: Use clean_restart.
+
+2021-01-04  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.server/ext-run.exp: Use clean_restart.
+
+2021-01-04  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.server/stop-reply-no-thread.exp: Use build_executable
+       instead of prepare_for_testing.
+
+2021-01-04  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.server/solib-list.exp: Use clean_restart.
+
+2021-01-04  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/morestack.c: Remove printf.
+       * gdb.base/morestack.exp: Don't use -fuse-ld=gold.
+
 2020-12-31  Tom Tromey  <tom@tromey.com>
 
        * gdb.rust/simple.exp: Update output for Rust 1.49.
@@ -22947,6 +23426,6 @@ For older changes see ChangeLog-1993-2013.
 ;; version-control: never
 ;; End:
 
-    Copyright 2014-2020 Free Software Foundation, Inc.
+    Copyright 2014-2021 Free Software Foundation, Inc.
   Copying and distribution of this file, with or without modification,
   are permitted provided the copyright notice and this notice are preserved.
This page took 0.035937 seconds and 4 git commands to generate.