]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/ChangeLog
Linux: Access memory even if threads are running
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 016bb722037193301722b51c83e6e1ab132230f3..67fa42cbe3b333977967124ed9f4c791097de5d4 100644 (file)
@@ -1,3 +1,386 @@
+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
+       matching of initial prompt.
+
+2021-06-08  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.threads/multi-create-ns-info-thr.exp: Limit breakpoint regexp to
+       one line.
+
+2021-06-08  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/sect-cmd.exp: Use gdb_test.  Use -wrap "".  Fix
+       test name.
+
+2021-06-08  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/sect-cmd.exp: Fix saw_section_address_line regexp.
+
+2021-06-07  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.base/continue-all-already-running.exp: Call fail if can't
+       run to main.
+
+2021-06-07  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR gdb/27847
+       * gdb.dwarf2/dw2-weird-type-len.c: New file.
+       * gdb.dwarf2/dw2-weird-type-len.exp: New file.
+
+2021-06-07  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.base/attach.exp (test_command_line_attach_run): Use
+       proc_with_prefix.
+
+2021-06-07  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/27908
+       * gdb.base/run-attach-while-running.exp (test): Don't match prompt
+       after attach using '$gdb_prompt $'.
+
+2021-06-07  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/info-types.exp.tcl: Remove "File .*" matching from regexp
+       matching state machine.
+
+2021-06-07  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/new-ui-pending-input.exp
+       (test_command_line_new_ui_pending_input): Fix regexp for "initial
+       prompt on extra console".
+
+2021-06-07  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/info-types.exp.tcl (run_test): Move "random line" regexp
+       up.
+
+2021-06-06  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.server/stop-reply-no-thread-multi.exp: Clear sysroot when
+       host and target are local.
+
+2021-06-05  Hannes Domani  <ssbssa@yahoo.de>
+
+       * gdb.python/py-symbol.exp: Fix tests for Python 3.
+
+2021-06-05  Shahab Vahedi  <shahab@synopsys.com>
+
+       * gdb.arch/arc-disassembler-options.exp: New test.
+       * gdb.arch/arc-disassembler-options.s: New test source.
+
+2021-06-04  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/array_of_symbolic_length.exp: New file.
+       * gdb.ada/array_of_symbolic_length/foo.adb: New file.
+       * gdb.ada/array_of_symbolic_length/gl.adb: New file.
+       * gdb.ada/array_of_symbolic_length/gl.ads: New file.
+       * gdb.ada/array_of_symbolic_length/pck.adb: New file.
+       * gdb.ada/array_of_symbolic_length/pck.ads: New file.
+
+2021-06-03  Magne Hov  <mhov@undo.io>
+
+       PR python/27841
+       * gdb.python/py-events.exp: Extend inferior exit tests.
+       * gdb.python/py-events.py: Print inferior exit PID.
+
+2021-06-03  Hannes Domani  <ssbssa@yahoo.de>
+
+       * gdb.python/py-symbol.exp: Test symbol constants.
+
+2021-06-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * gdb.dwarf2/per-bfd-sharing.exp: Fix temp-dir leakage.
+
+2021-06-02  Carl Love  <cel@us.ibm.com>
+
+       * gdb.threads/threadapply.c: Add global mybarrier.
+       (main): Add pthread_barrier_init.
+       (thread_function): Replace while loop with myp increment and
+       pthread_barrier_wait.
+
+2021-06-02  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * lib/gdb.exp (gdb_compile): Only add the -J option when using a
+       gcc based Fortran compiler, for example, flang does not support
+       this option.
+
+2021-06-02  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * lib/fortran.exp (fortran_int8): Escape '*' in pattern.
+
 2021-06-01  Tom Tromey  <tromey@adacore.com>
 
        * Makefile.in (all): Don't print anything.