]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/ChangeLog
[gdb/testsuite] Fix hello.go xpass
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 4f8d8517e3c0b1bc59bbfc1192f94ef2ce32667c..5553782e0a5282463c9b75fa98502c199fd7abb4 100644 (file)
@@ -1,3 +1,495 @@
+2020-02-20  Tom de Vries  <tdevries@suse.de>
+
+       PR go/17018
+       * gdb.go/hello.exp: Copy ...
+       * gdb.go/global-local-var-shadow.exp: ... here.  New file.  Expect
+       print of st to print value of global definition. Add xfail for GCC
+       PR93844.
+       * gdb.go/hello.exp: Remove printing of st before definition.
+       * gdb.go/hello.go: Copy ...
+       * gdb.go/global-local-var-shadow.go: ... here. New test.  Rename myst
+       to st.
+       * gdb.go/hello.go: Remove myst.  Remove comment about shadowing.
+
+2020-02-20  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (support_go_compile): New gdb_caching_proc.
+       (gdb_simple_compile): Handle compile_flags go by using .go extension
+       for source file.
+       * gdb.go/chan.exp: Use support_go_compile.
+       * gdb.go/handcall.exp: Same.
+       * gdb.go/hello.exp: Same.
+       * gdb.go/integers.exp: Same.
+       * gdb.go/max-depth.exp: Same.
+       * gdb.go/methods.exp: Same.
+       * gdb.go/package.exp: Same.
+       * gdb.go/strings.exp: Same.
+       * gdb.go/types.exp: Same.
+       * gdb.go/unsafe.exp: Same.
+
+2020-02-19  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.python/lib-types.exp: Make xfail more strict.
+
+2020-02-19  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.ada/funcall_ref.exp: Replace xfail setup by unsupported check.
+
+2020-02-19  Doug Evans  <dje@google.com>
+
+       PR rust/25535
+       * gdb.rust/simple.exp: Add test.
+       * gdb.rust/simple.rs: Add test.
+
+2020-02-19  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/corefile-buildid.exp (check_exec_file): Match info files
+       output line-by-line.
+
+2020-02-19  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.cp/cpexprs.exp: Remove c++/14186 kfail.
+
+2020-02-19  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/solib-overlap.exp: Use exec instead of system to execute
+       prelink.
+
+2020-02-19  Tom de Vries  <tdevries@suse.de>
+
+       * lib/cache.exp (ignore_pass, gdb_do_cache_wrap): New proc.
+       (gdb_do_cache): Use gdb_do_cache_wrap.
+       * gdb.base/gdb-caching-proc.exp (test_proc): Use gdb_do_cache_wrap.
+
+2020-02-19  Tom de Vries  <tdevries@suse.de>
+
+       * lib/dtrace.exp (dtrace_build_usdt_test_program): Use quiet as
+       gdb_compile option.
+
+2020-02-18  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.base/printcmds.exp (test_print_enums): Update expected
+       output.
+
+2020-02-18  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.base/printcmds.exp (test_print_enums): Expect hex values
+       for "unknown".
+
+2020-02-18  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.base/printcmds.c (enum flag_enum): Add FE_TWO_LEGACY
+       enumerator.
+
+2020-02-18  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.base/printcmds.c (enum flag_enum): Prefix enumerators with
+       FE_, add FE_NONE.
+       (three): Update.
+       (enum flag_enum_without_zero): New enum.
+       (flag_enum_without_zero): New variable.
+       (enum not_flag_enum): New enum.
+       (three_not_flag): New variable.
+       * gdb.base/printcmds.exp (test_artificial_arrays): Update.
+       (test_print_enums): Add more tests for printing flag enums.
+
+2020-02-18  Tom de Vries  <tdevries@suse.de>
+
+       * lib/ada.exp (gdb_compile_ada_1): Factor out of ...
+       (gdb_compile_ada): ... here.
+       (gnat_runtime_has_debug_info): Remove fail call for gdb_compile_ada
+       failure.  Use gdb_compile_ada_1 instead of gdb_compile_ada.
+
+2020-02-14  Tom Tromey  <tom@tromey.com>
+
+       * lib/gdbserver-support.exp (find_gdbserver): Find gdbserver in
+       build directory.
+       * boards/gdbserver-base.exp: Update path to gdbserver.
+
+2020-02-13  Tom de Vries  <tdevries@suse.de>
+
+       * lib/ada.exp (gdb_compile_ada): Delete stale exec before compilation.
+
+2020-02-13  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.ada/catch_ex_std.exp: Indicate unsupported if gnatbind/gnatlink
+       are missing.
+
+2020-02-13  Tom de Vries  <tdevries@suse.de>
+
+       * lib/ada.exp (gnatmake_version_at_least): Wrap exec call in a catch
+       call.
+
+2020-02-11  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR tui/25126
+       https://bugzilla.redhat.com/show_bug.cgi?id=1784210
+       * gdb.base/cached-source-file.c: New file.
+       * gdb.base/cached-source-file.exp: New file.
+
+2020-02-11  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/25488
+       * lib/gdb.exp (gdb_init): Unset $file_last_loaded.
+
+2020-02-10  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.multi/multi-target.exp: Skip if skip_gdbserver_tests.
+
+2020-02-10  Maciej W. Rozycki  <macro@wdc.com>
+
+       * gdb.base/step-over-no-symbols.exp: Verify that $before_addr
+       and $after_addr are both integers before making a comparison.
+
+2020-02-09  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/many-headers.exp: Echo gdb command to gdb.log.  Capture gdb
+       command output and paste it into gdb.log.  If any, paste catch message
+       to gdb.log.
+
+2020-02-07  Tom Tromey  <tromey@adacore.com>
+
+       PR breakpoints/24915:
+       * gdb.base/annotate-symlink.exp: Use setup_xfail.
+
+2020-02-06  Shahab Vahedi  <shahab@synopsys.com>
+
+       * gdb.tui/tui-missing-src.exp: Add the "missing source
+       file" test for the TUI.
+
+2020-02-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid
+       including a port number in the output.
+
+2020-02-04  Alok Kumar Sharma  <alokkumar.sharma@amd.com>
+
+       * lib/fortran.exp (fortran_int4): Handle clang.
+       (fortran_int8): Likewise.
+       (fortran_real4): Likewise.
+       (fortran_real8): Likewise.
+       (fortran_complex4): Likewise.
+       (fortran_logical4): Likewise.
+       (fortran_character1): Likewise.
+
+2020-02-04  Tom de Vries  <tdevries@suse.de>
+
+       * README (Race detection): Add note.
+
+2020-02-04  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (inferior_exited_re): Use "\[^\n\r\]*" instead of ".*".
+
+2020-02-04  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdb.exp (inferior_exited_re): Use non-capturing parentheses.
+
+2020-02-03  Rogerio A. Cardoso  <rcardoso@linux.ibm.com>
+
+       * gdb.arch/powerpc-power8.exp: Delete trailing whitespace of
+       tbegin., tend. instructions. Replace bctar-, bctar+, bctarl-,
+       bctarl+ extended mnemonics when avaliable by bgttar, bnstarl,
+       blttar, bnetarl.
+       * gdb.arch/powerpc-power8.s: Fix comments. Fix instructions
+       binary for blttar, bnetarl.
+       * gdb.arch/powerpc-power9.exp: Delete trailing whitespace of
+       wait instruction. Delete ldmx test.
+       * gdb.arch/powerpc-power9.s: Delete ldmx instruction.
+
+2020-02-03  Alok Kumar Sharma  <AlokKumar.Sharma@amd.com>
+
+       * gdb.fortran/array-bounds-high.exp: New file.
+       * gdb.fortran/array-bounds-high.f90: New file.
+
+2020-02-03  Lukas Durfina  <ldurfina@tachyum.com>  (tiny change)
+
+       * gdb.base/fileio.c: Remove #include of <sys/errno.h>.
+       Replace #include of <sys/fcntl.h> by <fcntl.h>.
+
+2020-02-01  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.server/server-kill-python.exp: Fix $gdb_tst_name typo.
+
+2020-01-31  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR tui/9765
+       * gdb.tui/tui-layout-asm-short-prog.S: New file.
+       * gdb.tui/tui-layout-asm-short-prog.exp: New file.
+
+2020-01-29  Luis Machado  <luis.machado@linaro.org>
+
+       * gdb.arch/aarch64-brk-patterns.c: New source file.
+       * gdb.arch/aarch64-brk-patterns.exp: New test.
+
+2020-01-29  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.cp/pass-by-ref-2.exp: Mark some tests as XFAIL based on the
+       GCC/Clang version.
+       * gdb.cp/pass-by-ref.exp: Ditto.
+
+2020-01-29  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.threads/watchpoint-fork-child.c: Guard prints with #if DEBUG.
+       * gdb.threads/watchpoint-fork-mt.c: Same.
+       * gdb.threads/watchpoint-fork-parent.c: Same.
+       * gdb.threads/watchpoint-fork-st.c: Same.
+       * gdb.threads/watchpoint-fork.exp: Compile with DEBUG=0.
+
+2020-01-27  Luis Machado  <luis.machado@linaro.org>
+
+       * gdb.base/step-over-syscall.exp (setup): Check if we're already
+       sitting at a syscall instruction when we hit the syscall function's
+       breakpoint.
+       Check PC against one obtained with the x command.
+       Validate syscall number.
+       (step_over_syscall): Don't continue to the syscall instruction if
+       we're already there.
+
+2020-01-25  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.base/attach.exp: Test 'set exec-file-mismatch'.
+
+2020-01-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.dwarf2/dw2-inline-many-frames.c: New file.
+       * gdb.dwarf2/dw2-inline-many-frames.exp: New file.
+
+2020-01-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.dwarf2/dw2-inline-stepping.c: New file.
+       * gdb.dwarf2/dw2-inline-stepping.exp: New file.
+
+2020-01-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/maint.exp: Update line table parsing test.
+       * gdb.dwarf2/dw2-ranges-base.exp: Add new line table parsing test.
+
+2020-01-24  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/25410
+       * gdb.multi/multi-re-run-1.c: New.
+       * gdb.multi/multi-re-run-2.c: New.
+       * gdb.multi/multi-re-run.exp: New.
+
+2020-01-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR gdb/23718
+       * gdb.server/server-kill-python.exp: New file.
+
+2020-01-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.server/multi-ui-errors.c: New file.
+       * gdb.server/multi-ui-errors.exp: New file.
+
+2020-01-24  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       PR tui/9765
+       * gdb.tui/tui-layout-asm.exp: Add scrolling test for asm window.
+
+2020-01-19  Tom Tromey  <tom@tromey.com>
+
+       * gdb.tui/main.exp: Add check for plain "file".
+
+2020-01-16  Christian Biesinger  <cbiesinger@google.com>
+
+       * lib/gdb.exp: Fix spelling error (seperatelly).
+
+2020-01-14  Tom Tromey  <tom@tromey.com>
+
+       PR symtab/12535:
+       * gdb.python/python.exp: Test decode_line with empty string
+       argument.
+
+2020-01-14  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * gdb.base/skip-inline.exp: Extend test.
+
+2020-01-13  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.dwarf2/dw2-bad-elf-other.S: New file.
+       * gdb.dwarf2/dw2-bad-elf.c: New file.
+       * gdb.dwarf2/dw2-bad-elf.exp: New file.
+
+2020-01-13  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * lib/dwarf.exp (Dwarf::lines): Reset _line_saw_program and
+       _line_saw_file.
+
+2020-01-13  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * lib/tuiterm.exp (Term::_check_box): Check some parts of the top
+       border.
+
+2020-01-10  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.multi/multi-target.exp (setup): Factor out "info
+       connections" and "info inferiors" tests to ...
+       (test_info_inferiors): ... this new procedure.
+       (top level): Run new "info-inferiors" tests.
+
+2020-01-10  Pedro Alves  <palves@redhat.com>
+
+       * gdb.server/bkpt-other-inferior.exp: New file.
+
+2020-01-10  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/kill-detach-inferiors-cmd.exp: Adjust expected output
+       of "add-inferior".
+       * gdb.base/quit-live.exp: Likewise.
+       * gdb.base/remote-exec-file.exp: Likewise.
+       * gdb.guile/scm-progspace.exp: Likewise.
+       * gdb.linespec/linespec.exp: Likewise.
+       * gdb.mi/new-ui-mi-sync.exp: Likewise.
+       * gdb.mi/user-selected-context-sync.exp: Likewise.
+       * gdb.multi/multi-target.exp (setup): Add "info connection" and
+       "info inferiors" tests.
+       * gdb.multi/remove-inferiors.exp: Adjust expected output of
+       "add-inferior".
+       * gdb.multi/watchpoint-multi.exp: Likewise.
+       * gdb.python/py-inferior.exp: Likewise.
+       * gdb.server/extended-remote-restart.exp: Likewise.
+       * gdb.threads/fork-plus-threads.exp: Adjust expected output of
+       "info inferiors".
+       * gdb.threads/forking-threads-plus-breakpoint.exp: Likewise.
+       * gdb.trace/report.exp: Likewise.
+
+2020-01-10  Pedro Alves  <palves@redhat.com>
+
+       * gdb.multi/multi-target.c: New file.
+       * gdb.multi/multi-target.exp: New file.
+       * lib/gdbserver-support.exp (gdb_target_cmd): Handle "Non-stop
+       mode requested, but remote does not support non-stop".
+
+2020-01-10  Pedro Alves  <palves@redhat.com>
+
+       * gdb.server/extended-remote-restart.exp (test_reload): Explicitly
+       disconnect before reconnecting.
+
+2020-01-10  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * gdb.server/connect-without-multi-process.exp: Also test
+       continuing to end.
+
+2020-01-10  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/remote-exec-file.exp: New file.
+
+2020-01-10  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/fork-running-state.exp (do_test): Adjust expected
+       output.
+       * gdb.threads/async.c: New.
+       * gdb.threads/async.exp: New.
+       * gdb.multi/tids-gid-reset.c: New.
+       * gdb.multi/tids-gid-reset.exp: New.
+
+2020-01-10  George Barrett  <bob@bob131.so>
+
+       * gdb.base/stap-probe.c (relocation_marker): Add dummy variable
+       to help in finding the image relocation offset.
+       * gdb.base/stap-probe.exp (stap_test): Accept arbitrary compile
+       options in arguments.
+       (stap_test_no_debuginfo): Likewise.
+       (stap-probe-nosem-noopt-pie, stap-probe-nosem-noopt-nopie): Add
+       test variants.
+       (stap_test): Add null semaphore relocation test.
+
+2020-01-10  George Barrett  <bob@bob131.so>
+
+       * gdb.base/stap-probe.c: Rename USE_PROBES to USE_SEMAPHORES.
+       * gdb.base/stap-probe.exp: Likewise.
+       (stap_test): Pass argument as an additional flag.
+       (stap_test_no_debuginfo): Likewise.
+       (stap_test): Check `info probes stap' output for semaphore
+       addresses if the test binary is supposed to have them.
+
+2020-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.tui/basic.exp: Add more scrolling tests.
+
+2020-01-09  Tom Tromey  <tom@tromey.com>
+
+       PR tui/18932:
+       * lib/tuiterm.exp (Term::wait_for): Rename from _accept.  Return a
+       meangingful value.
+       (Term::command, Term::resize): Update.
+       * gdb.tui/basic.exp: Add scrolling test.
+
+2020-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.tui/tui-layout-asm.exp: New file.
+
+2020-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * lib/tuiterm.exp (Term::check_box_contents): New proc.
+
+2020-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * lib/tuiterm.exp (Term::prepare_for_tui): New proc.
+       (Term::enter_tui): Use Term::prepare_for_tui.
+
+2020-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * lib/tuiterm.exp (Term::dump_screen): Always dump the screen when
+       called.
+
+2020-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/skip.exp: Fix race condition in test.
+
+2020-01-06  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/backtrace.c: New file.
+       * gdb.base/backtrace.exp: New file.
+
+2020-01-05  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.tui/list.exp: Test 'focus next' after 'list main'.
+
+2020-01-03  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.base/style.exp: Test that warnings are styled.
+
+2019-12-29  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * gdb.base/line65535.exp: New file.
+       * gdb.base/line65535.c: New file.
+
+2019-12-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * lib/ada.exp (gnat_runtime_has_debug_info): New proc.
+       * lib/gnat_debug_info_test.adb: New file.
+       * gdb.ada/ptype_tagged_param.exp: Use
+       gnat_runtime_has_debug_info, expect a different output if
+       runtime does not have debug info.
+
+2019-12-20  Simon Marchi  <simon.marchi@efficios.com>
+
+       * lib/sym-info-cmds.exp (GDBInfoSymbols::check_no_entry): Add
+       (another) quote in test name.
+
+2019-12-20  Simon Marchi  <simon.marchi@efficios.com>
+
+       * lib/sym-info-cmds.exp (GDBInfoModuleSymbols::check_no_entry):
+       Add quote in test name.
+
+2019-12-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.cp/pass-by-ref.cc: Delete.  Generated in the output
+       directory instead.
+       * gdb.cp/pass-by-ref.exp: Extend with more cases.
+       * gdb.cp/pass-by-ref-2.cc: New file.
+       * gdb.cp/pass-by-ref-2.exp: New file.
+
+2019-12-20  Tom Tromey  <tom@tromey.com>
+
+       * gdb.tui/list-before.exp: New file.
+
+2019-12-20  Tom Tromey  <tom@tromey.com>
+
+       * gdb.tui/list.exp: Check for source on initial listing.
+
 2019-12-11  Tom Tromey  <tromey@adacore.com>
 
        * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
        * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
        functions.
 
+2019-04-25  Ali Tamur  <tamur@google.com>
+
+       * lib/dwarf.exp (_handle_DW_FORM): Add DW_FORM_strx.
+
 2019-04-25  Sergio Durigan Junior  <sergiodj@redhat.com>
 
        PR corefiles/11608
        PR gdb/23104
        * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
 
+2018-04-22  Rajendra SY  <rajendra.sy@gmail.com>
+
+       PR gdb/23095
+       * gdb.base/break-probes.exp: Pass shlib_load to
+       prepare_for_testing.  Set normal_bp to r_debug_state if target is
+       bsd.
+
 2018-04-19  Richard Bunt  <richard.bunt@arm.com>
 
        * gdb.threads/multiple-successive-infcall.c: New test.
@@ -17987,6 +18490,6 @@ For older changes see ChangeLog-1993-2013.
 ;; version-control: never
 ;; End:
 
-    Copyright 2014-2019 Free Software Foundation, Inc.
+    Copyright 2014-2020 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.