]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/ChangeLog
[gdb/testsuite] Fix fail in gdb.fortran/ptype-on-functions.exp with gcc-7
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
index cd62633f35c29eb13e62568ba278064171e0439e..a6171ade8a94159a450716910375d58dc321cf10 100644 (file)
@@ -1,3 +1,284 @@
+2021-07-05  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.fortran/ptype-on-functions.exp: Allow both $integer8 and
+       $integer4 for size of string length.
+
+2021-07-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.base/default.exp: Change $_gdb_major to 12.
+
+2021-07-01  Pedro Alves  <pedro@palves.net>
+
+       PR mi/15729
+       PR gdb/13463
+       * gdb.base/access-mem-running.c: New.
+       * gdb.base/access-mem-running.exp: New.
+       * gdb.threads/access-mem-running-thread-exit.c: New.
+       * gdb.threads/access-mem-running-thread-exit.exp: New.
+
+2021-06-29  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.dwarf2/dw2-reg-undefined.exp: Update regexp.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/info_sources_2-header.h: New file.
+       * gdb.base/info_sources_2-lib.c: New file.
+       * gdb.base/info_sources_2-test.c: New file.
+       * gdb.base/info_sources_2.exp: New file.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.mi/mi-info-sources.exp: Add additional tests.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.dwarf2/dw2-filename.exp: Update expected results.
+       * gdb.mi/mi-file.exp: Likewise.
+       * gdb.mi/mi-info-sources-base.c: New file.
+       * gdb.mi/mi-info-sources.c: New file.
+       * gdb.mi/mi-info-sources.exp: New file.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.cp/method-call-in-c.cc (struct foo_type): Add static member
+       function static_method.
+       (global_var): New global.
+       (main): Use new static_method to ensure it is compiled in.
+       * gdb.cp/method-call-in-c.exp: Test calls to static member
+       function.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR gdb/27994
+       * gdb.cp/method-call-in-c.cc (struct foo_type): Add operator+=,
+       change initial value of var member variable.
+       (main): Make use of foo_type's operator+=.
+       * gdb.cp/method-call-in-c.exp: Test use of operator+=.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR gdb/27994
+       * gdb.cp/method-call-in-c.cc: New file.
+       * gdb.cp/method-call-in-c.exp: New file.
+
+2021-06-25  Tom Tromey  <tom@tromey.com>
+
+       * lib/gdb.exp (add_gdb_index, ensure_gdb_index): Add "style"
+       parameter.
+       * gdb.rust/dwindex.exp: New file.
+       * gdb.rust/dwindex.rs: New file.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-breakpoint.c (do_throw): New function.
+       (main): Call do_throw.
+       * gdb.python/py-breakpoint.exp (test_catchpoints): New proc.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.guile/scm-breakpoint.exp (test_catchpoints): New proc.
+
+2021-06-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.guile/scm-breakpoint.exp (test_watchpoints): Add new tests.
+
+gdb/testsuite/ChangeLog
+2021-06-25  Carl Love  <cel@us.ibm.com>
+
+       * gdb.arch/powerpc-plxv-norel.exp: Add call to skip_power_isa_3_1_tests.
+       * lib/gdb.exp(skip_power_isa_3_1_tests): New gdb_caching_proc test.
+
+2021-06-25  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/py_range.exp: Add type name test cases.
+
+2021-06-24  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/info-macros.exp: Add <EOL> after trailing whitespace in
+       test names.
+
+2021-06-24  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/argv0-symlink.exp: Use with_test_prefix.
+
+2021-06-23  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (gdb_test_lines): Rewrite to accept single
+       multiline tcl regexp.
+       * gdb.base/info-types.exp.tcl: Update.  Make empty line at end of
+       regexp optional.
+       * gdb.base/info-macros.exp: Update.
+       * gdb.cp/cplusfuncs.exp: Update.
+
+2021-06-22  Andreas Schwab  <schwab@suse.de>
+
+       PR symtab/27999
+       * lib/dwarf.exp (start_end): New proc inside loclists.
+       * gdb.dwarf2/loclists-start-end.exp: New file.
+       * gdb.dwarf2/loclists-start-end.c: New file.
+
+2021-06-22  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/imported-unit-c.exp: New file.
+
+2021-06-22  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.server/server-kill.exp: Introduce global kill_pid_of, and
+       make use of this in prepare to select which pid we should kill.
+       Run all the tests twice with a different kill_pid_of value.
+       (prepare): Make use of kill_pid_of.
+       (test_stepi): New proc.
+
+2021-06-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-frame.exp: Add Frame.level tests.
+       * gdb.python/py-pending-frame-level.c: New file.
+       * gdb.python/py-pending-frame-level.exp: New file.
+       * gdb.python/py-pending-frame-level.py: New file.
+
+2021-06-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.python/py-unwind-user-regs.c: New file.
+       * gdb.python/py-unwind-user-regs.exp: New file.
+       * gdb.python/py-unwind-user-regs.py: New file.
+
+2021-06-17  Carl Love  <cel@us.ibm.com>
+
+       * gdb.arch/powerpc-power8.exp(bctar, bctarl): Update mnemonics
+       to bgetar and bgetarl.
+       * gdb.arch/powerpc-power8.s((bctar, bctarl): Update comments
+       for mnemonics to bgetar and bnstarl.
+
+2021-06-17  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.base/args.exp: Check target, KFAIL if remote.
+       (args_test): Add parameter and use it.
+
+2021-06-17  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.base/args.exp: Remove trailing parenthesis in test names.
+
+2021-06-17  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.base/args.exp: Use $old_gdbflags in all tests.
+
+2021-06-17  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.base/args.exp: Use save_vars.
+
+2021-06-14  Pedro Alves  <pedro@palves.net>
+
+       * gdb.base/annota1.exp: Build list using [list] instead of {}.
+       Tell [join] to join with no character.  Build expected pattern in
+       separate variable instead of in the -re expression directly.
+
+2021-06-11  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.mi/mi-sym-info.exp (114-symbol-info-function test): Increase
+       timeout.
+
+2021-06-11  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.base/print-symbol-loading.exp (proc test_load_shlib):
+       Allow "Symbols already loaded for..." messages.
+
+2021-06-11  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.base/execl-update-breakpoints.exp: Add regular
+       expression for optionally matching output related to
+       libthread_db.
+       * gdb.base/fork-print-inferior-events.exp: Likewise.
+
+2021-06-11  Felix Willgerodt  <felix.willgerodt@intel.com>
+
+       * gdb.mi/array.f: Convert into...
+       * gdb.mi/array.f90: ...this.
+       * gdb.mi/mi-var-child-f.exp: Use array.f90.
+
+2021-06-11  Tom Tromey  <tom@tromey.com>
+
+       PR rust/23427
+       * lib/rust-support.exp (rust_compiler_version): New caching proc.
+       * gdb.rust/rawids.exp: New file.
+       * gdb.rust/rawids.rs: New file.
+
+2021-06-10  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * lib/gdb.exp (default_gdb_exit): Unset gdb_tty_name.
+       (spawn_capture_tty_name): New, override builtin spawn.
+       (default_gdb_spawn): Capture GDB's TTY name.
+       * lib/tuiterm.exp (tuiterm_spawn): Remove.
+       (tuiterm_env_init, tuiterm_env_finish): Remove spawn override.
+       (Term) <resize>: Use new variable name.
+       (tuiterm_env_init, tuiterm_env_finish): Remove.
+       (tuiterm_env): Don't call tuiterm_env_init and register
+       tuiterm_env_finish in gdb_finish_hooks.
+       (gdb_finish_hooks): Remove.
+       (gdb_finish): Don't call finish hooks.
+
+2021-06-10  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.mi/user-selected-context-sync.c (child_sub_function, main):
+       Rewrite while (1) using dummy loop body.
+
+2021-06-10  Bhuvanendra Kumar N  <Bhuvanendra.KumarN@amd.com>
+
+       * gdb.base/foll-exec.c: convert the multi-line function call into
+       single line.
+
+2021-06-10  Tom de Vries  <tdevries@suse.de>
+
+       * lib/cp-support.exp (cp_test_ptype_class): Break up regexp.
+       * gdb.cp/nested-types.exp: Remove usage of read1 timeout factor.
+
+2021-06-10  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.cp/cplusfuncs.exp (info_func_regexp): Use gdb_test_lines.
+
+2021-06-09  Tom Tromey  <tromey@adacore.com>
+
+       * README (Example): Update read1 example.
+
+2021-06-09  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * lib/tuiterm.exp (Term) <_check_box>: Improve logging.
+
+2021-06-08  Lancelot Six  <lsix@lancelotsix.com>
+
+       * gdb.base/premature-dummy-frame-removal.py (TestUnwinder): Use
+       'is None' instead of '== None' and 'is not None' instead of
+       '!= None'.
+       * gdb.python/py-frame-args.py (lookup_function): Same.
+       * gdb.python/py-framefilter-invalidarg.py (Reverse_Function): Same.
+       * gdb.python/py-framefilter.py (Reverse_Function): Same.
+       * gdb.python/py-nested-maps.py (lookup_function): Same.
+       * gdb.python/py-objfile-script-gdb.py (lookup_function): Same.
+       * gdb.python/py-prettyprint.py (lookup_function): Same.
+       * gdb.python/py-section-script.py (lookup_function): Same.
+       * gdb.python/py-unwind-inline.py (dummy_unwinder): Same.
+       * gdb.python/python.exp: Same.
+       * gdb.rust/pp.py (lookup_function): Same.
+
+2021-06-08  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (multi_line): Require more than one argument.
+       * gdb.base/gdbinit-history.exp: Update multi_line call.
+       * gdb.base/jit-reader.exp: Remove multi_line call.
+       * gdb.fortran/dynamic-ptype-whatis.exp: Same.
+
+2021-06-08  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/info-types.exp.tcl (match_line, gdb_test_lines): Move ...
+       * lib/gdb.exp: ... here.
+       * gdb.base/info-macros.exp: Use gdb_test_lines.
+
+2021-06-08  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/info-types.exp.tcl (match_line): Handle --any.
+       (gdb_test_lines): Factor out of ...
+       (run_test): ... here.
+
 2021-06-08  Tom de Vries  <tdevries@suse.de>
 
        * gdb.base/batch-preserve-term-settings.exp (spawn_shell): Fix