]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/ChangeLog
Ensure that space allocated by assembler directives converts from an octet count...
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 9fdbcb8703c40ff987ec67d6ee810b80f2001606..574c63af962180877205927ec6995ba92fb54f6e 100644 (file)
@@ -1,3 +1,452 @@
+2020-09-18  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.fortran/array-slices.exp: Add missing message data.
+
+2020-09-17  Pedro Alves  <pedro@palves.net>
+
+       * gdb.cp/call-c-1.c (foo) [__cplusplus]: Add extern "C".
+
+2020-09-17  Pedro Alves  <pedro@palves.net>
+
+       * gdb.python/py-frame-inline.exp: Adjust to optionally expect a
+       full prototype.
+
+2020-09-17  Pedro Alves  <pedro@palves.net>
+
+       * gdb.python/py-as-string.c: Add cast.
+
+2020-09-17  Pedro Alves  <pedro@palves.net>
+
+       * gdb.base/sizeof.c (fill): Add cast.
+
+2020-09-17  Pedro Alves  <pedro@palves.net>
+
+       * gdb.base/share-env-with-gdbserver.c (main): Add cast.
+
+2020-09-17  Pedro Alves  <pedro@palves.net>
+
+       * gdb.base/prologue.c [__cplusplus] (marker): Explicitly specify
+       linkage name.
+       * gdb.base/prologue.exp: Use print /d.
+       * gdb.base/symbol-alias.exp: Handle C++ output.
+       * gdb.base/symbol-alias2.c: Handle C++ output.
+       [__cplusplus] (func): Explicitly specify linkage name.
+
+2020-09-17  Pedro Alves  <pedro@palves.net>
+
+       * gdb.python/py-nested-maps.c (struct key_t): Rename to...
+       (struct my_key_t): ... this.  Adjust all references.
+       (struct value_t): Rename to ...
+       (struct my_value_t): ... this.  Adjust all references.
+       (create_map, add_map_element, create_map_map)
+       (add_map_map_element): Add casts.
+
+2020-09-17  Pedro Alves  <pedro@palves.net>
+
+       * gdb.python/py-framefilter-mi.c (funca): Add casts.
+       * gdb.python/py-framefilter.c.c (funca, func2): Add casts.
+
+2020-09-17  Pedro Alves  <pedro@palves.net>
+
+       * gdb.mi/var-cmd.c (do_anonymous_type_tests): Add cast.
+
+2020-09-17  Pedro Alves  <pedro@palves.net>
+
+       * gdb.base/exprs.c: Replace 'this' with 'self' throughout.
+       * gdb.base/ptype.c: : Replace 'this' with 'self' throughout.
+       (charfoo, intfoo): Define full prototype.
+       * gdb.base/ptype1.c (charfoo): Define full prototype.
+       * gdb.base/setvar.c: Replace 'this' with 'self' throughout.
+       * gdb.base/whatis.c: Replace 'this' with 'self' throughout.
+
+2020-09-17  Pedro Alves  <pedro@palves.net>
+
+       * gdb.base/charset.c [__cplusplus] (wchar_t, char16_t, char32_t):
+       Don't define.
+       (utf_32_string): Compile for both C and C++.
+       * gdb.base/charset.exp: Use "print /d".
+
+2020-09-17  Pedro Alves  <pedro@palves.net>
+
+       * gdb.base/watchpoint.c (buf): Make it 31 bytes.
+       (nullptr): Rename to ...
+       (null_ptr): ... this.
+       * gdb.base/watchpoint.exp: Adjust to rename.
+
+2020-09-17  Pedro Alves  <pedro@palves.net>
+
+       * gdb.base/printcmds.c (three, flag_enum_without_zero)
+       (three_not_flag): Add casts.
+
+2020-09-17  Pedro Alves  <pedro@palves.net>
+
+       * gdb.base/examine-backward.c (Barrier, TestStrings): Now unsigned
+       char array.
+       (main): Add references to Barrier, TestStrings, TestStringsH and
+       TestStringsW.
+       * gdb.base/examine-backward.exp: Issue "set print asm-demangle on"
+       and expect a full prototype in C++.
+
+2020-09-17  Pedro Alves  <pedro@palves.net>
+
+       * gdb.base/nested-addr.c (main): Add cast.
+       * gdb.base/nested-addr.exp: Use "print /d".
+
+2020-09-17  Pedro Alves  <pedro@palves.net>
+
+       * gdb.base/break.exp (func): New.  Use it throughout when
+       expecting a function name.
+
+2020-09-17  Pedro Alves  <pedro@palves.net>
+
+       * gdb.base/display.exp: Issue "set print asm-demangle on".
+
+2020-09-17  Pedro Alves  <pedro@palves.net>
+
+       * gdb.base/find.c: Include <string.h>.
+       (init_bufs): Add cast.
+       * gdb.base/find.exp: Issue "set print asm-demangle on".
+
+2020-09-16  Tom Tromey  <tromey@adacore.com>
+
+       PR gdb/26598:
+       * gdb.base/skipcxx.exp: New file.
+       * gdb.base/skipcxx.cc: New file.
+
+2020-09-16  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/26617
+       * gdb.dlang/watch-loc.c: Only add .debug_aranges if
+        WITH_DEBUG_SECTIONS is defined.
+       (xstr, str): New macro.
+       (.debug_aranges): Use DMAIN_START_0/1/2 and DMAIN_LENGTH
+       to get start and size of _Dmain.
+       * gdb.dlang/watch-loc.exp: Pass DMAIN_START_0/1/2 and DMAIN_LENGTH
+       using additional_flags.
+
+2020-09-16  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.base/bp-cmds-sourced-script.c: New file.
+       * gdb.base/bp-cmds-sourced-script.exp: New test.
+       * gdb.base/bp-cmds-sourced-script.gdb: New file.
+
+2020-09-16  Tom de Vries  <tdevries@suse.de>
+
+       * lib/gdbserver-support.exp (gdbserver_exit): Make sure we
+       get the gdb prompt after issuing "monitor exit".
+
+2020-09-16  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/26624
+       * lib/gdb.exp (gdb_assert): Catch errors in condition evaluation.
+
+2020-09-16  Tom de Vries  <tdevries@suse.de>
+
+       PR testsuite/26618
+       * gdb.tui/new-layout.exp: Escape unbalanced braces.
+
+2020-09-15  Tom Tromey  <tromey@adacore.com>
+
+       PR rust/26197:
+       * lib/rust-support.exp (rust_llvm_version): New proc.
+       * gdb.rust/simple.exp: Check rust_llvm_version.
+
+2020-09-14  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.rust/traits.exp: Fix PATH warning.
+
+2020-09-13  Pedro Alves  <pedro@palves.net>
+
+       * gdb.base/catch-follow-exec.c (main): Add explicit return
+       statement.
+       * gdb.base/catch-signal.c (main): Likewise.
+       * gdb.base/condbreak-call-false.c (main): Likewise.
+       * gdb.base/consecutive.c (main): Add explicit return
+       statement and return type.
+       * gdb.base/cursal.c (main): Add explicit return statement.
+       * gdb.base/cvexpr.c (main): Likewise.
+       * gdb.base/display.c (main): Add explicit return statement and
+       return type.
+       * gdb.base/dprintf-detach.c (main): Add explicit return statement.
+       * gdb.base/endianity.c (main): Likewise.
+       * gdb.base/execd-prog.c (main): Likewise.
+       * gdb.base/gdb1090.c (main): Likewise.
+       * gdb.base/info_qt.c (main): Likewise.
+       * gdb.base/lineinc.c (main): Likewise.
+       * gdb.base/load-command.c (main): Likewise.
+       * gdb.base/macscp1.c (main): Likewise.
+       * gdb.base/pr10179-a.c (main): Likewise.
+       * gdb.base/quit-live.c (main): Likewise.
+       * gdb.base/scope0.c (main): Likewise.
+       * gdb.base/settings.c (main): Likewise.
+       * gdb.base/stack-checking.c (main): Return int.
+       * gdb.base/varargs.c (main): Add explicit return statement.
+       * gdb.cp/ambiguous.cc (main): Likewise.
+       * gdb.cp/anon-struct.cc (main): Likewise.
+       * gdb.cp/anon-union.cc (main): Likewise.
+       * gdb.cp/bool.cc (main): Likewise.
+       * gdb.cp/bs15503.cc (main): Likewise.
+       * gdb.cp/cplusfuncs.cc (main): Likewise.
+       * gdb.cp/cttiadd.cc (main): Likewise.
+       * gdb.cp/extern-c.cc (main): Likewise.
+       * gdb.cp/filename.cc (main): Likewise.
+       * gdb.cp/formatted-ref.cc (main): Likewise.
+       * gdb.cp/mb-ctor.cc (main): Likewise.
+       * gdb.cp/member-ptr.cc (main): Likewise.
+       * gdb.cp/minsym-fallback-main.cc (main): Likewise.
+       * gdb.cp/overload-const.cc (main): Likewise.
+       * gdb.cp/paren-type.cc (main): Likewise.
+       * gdb.cp/parse-lang.cc (main): Likewise.
+       * gdb.cp/pr-1023.cc (main): Likewise.
+       * gdb.cp/psmang1.cc (main): Likewise.
+       * gdb.cp/readnow-language.cc (main): Likewise.
+       * gdb.cp/ref-params.cc (main): Likewise.
+       * gdb.cp/rvalue-ref-params.cc (main): Likewise.
+       * gdb.cp/virtbase2.cc (main): Likewise.
+       * gdb.dwarf2/dw2-abs-hi-pc.c (main): Likewise.
+       * gdb.dwarf2/dw2-namespaceless-anonymous.c (main): Likewise.
+       * gdb.dwarf2/dw4-toplevel-types.cc (main): Likewise.
+       * gdb.mi/mi-console.c (main): Likewise.
+       * gdb.mi/mi-read-memory.c (main): Likewise.
+       * gdb.modula2/multidim.c (main): Likewise.
+       * gdb.opt/inline-small-func.c (main): Likewise.
+       * gdb.python/py-rbreak.c (main): Likewise.
+       * gdb.stabs/exclfwd1.c (main): Likewise.
+       * gdb.trace/qtro.c (main): Likewise.
+
+2020-09-13  Pedro Alves  <pedro@palves.net>
+
+       * gdb.base/share-env-with-gdbserver.c (main): Call my_getenv
+       instead of getenv.
+
+2020-09-13  Pedro Alves  <pedro@palves.net>
+
+       * gdb.base/dbx.exp (dbx_gdb_start): Adjust to use gdb_spawn
+       instead of spawning GDB with remote_spawn.
+       * lib/mi-support.exp (default_mi_gdb_start): Adjust to use
+       gdb_spawn instead of spawning GDB with remote_spawn.
+
+2020-09-13  Pedro Alves  <pedro@palves.net>
+
+       * gdb.dwarf2/ada-linkage-name.c (main): Move to the bottom of the
+       file and add calls to first and second.
+       * gdb.dwarf2/atomic.c (main): Move to the bottom of the file and
+       add call to f.
+
+2020-09-13  Pedro Alves  <pedro@palves.net>
+
+       * gdb.mi/mi-break-qualified.cc: New file.
+       * gdb.mi/mi-break-qualified.exp: New file.
+       * lib/mi-support.exp (mi_create_breakpoint_multi)
+       (mi_make_breakpoint_loc, mi_make_breakpoint_multi): New
+       procedures.
+       (mi_create_breakpoint_1): New, factored out from
+       mi_create_breakpoint.
+
+2020-09-13  Pedro Alves  <pedro@palves.net>
+
+       * gdb.cp/inherit.exp: No longer pass -Wno-deprecated-register.
+       * gdb.cp/misc.exp: No longer pass -Wno-deprecated-register.
+       * gdb.cp/misc.cc (class small, small::method, marker_reg1)
+       (register_class): Delete.
+       (main): Don't call register_class.
+
+2020-09-13  Pedro Alves  <pedro@palves.net>
+
+       * gdb.cp/classes.exp: No longer pass -Wno-deprecated-register.
+       (do_tests): Remove "calling method for small class" test.
+       * gdb.cp/classes.cc (class small, small::method, marker_reg1)
+       (register_class): Delete.
+       (main): Don't call register_class.
+       * gdb.cp/call-method-register.exp: New file, based on bits removed
+       from classes.exp.
+       * gdb.cp/call-method-register.cc: New file, based on bits removed
+       from classes.cc.
+
+2020-09-13  Pedro Alves  <pedro@palves.net>
+
+       * gdb.base/msym-bp-2.c: New.
+       * gdb.base/msym-bp-shl-lib.c: New file.
+       * gdb.base/msym-bp-shl-main-2.c: New file.
+       * gdb.base/msym-bp-shl-main.c: New file.
+       * gdb.base/msym-bp-shl.exp: New file.
+       * gdb.base/msym-bp.c: New file.
+       * gdb.base/msym-bp.exp: New file.
+
+2020-09-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.base/default.exp: Change $_gdb_major to 11.
+
+2020-09-11  Moritz Riesterer  <moritz.riesterer@intel.com>
+           Felix Willgerodt  <Felix.Willgerodt@intel.com>
+
+       * x86-avx512bf16.c: New file.
+       * x86-avx512bf16.exp: Likewise.
+       * lib/gdb.exp (skip_avx512bf16_tests): New function.
+
+2020-09-11  Tom de Vries  <tdevries@suse.de>
+
+       PR exp/26602
+       * gdb.cp/ambiguous.exp: Add KFAILs for PR26602.
+
+2020-09-11  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.base/bp-cmds-execution-x-script.exp: Remove a stale comment.
+
+2020-09-10  Alan Modra  <amodra@gmail.com>
+
+       PR 26597
+       * gdb.dlang/demangle.exp: Update tests as per gcc commit 387d0773f3.
+
+2020-09-08  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.dwarf2/frame-inlined-in-outer-frame.exp: Consume gdb prompt
+       after gdb_starti_cmd.
+
+2020-09-03  Alok Kumar Sharma  <AlokKumar.Sharma@amd.com>
+
+       * lib/fortran.exp (fortran_complex8): New proc.
+       (fortran_complex16): New proc.
+       * gdb.fortran/complex.exp: Use routines from fortran.exp
+       * gdb.fortran/pointer-to-pointer.exp: Likewise.
+       * gdb.fortran/vla-ptr-info.exp: Likewise.
+
+2020-09-03  Tom de Vries  <tdevries@suse.de>
+
+       PR breakpoint/26546
+       * gdb.base/label-without-address.exp: Runto main first.
+
+2020-09-02  Tom Tromey  <tromey@adacore.com>
+
+       * gdb.ada/mi_var_access.exp: Test children of access variable.
+       * gdb.ada/mi_var_access/mi_access.adb: Add new stop markers.
+       * gdb.ada/mi_var_array.exp: Update.
+
+2020-08-31  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.base/corefile.exp (warning-free): XFAIL test when running
+       on docker w/ AUFS storage driver.
+
+2020-08-31  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.base/corefile2.exp (renamed binfile): New tests.
+
+2020-08-31  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #.
+
+2020-08-31  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.dwarf2/frame-inlined-in-outer-frame.exp: New file.
+       * gdb.dwarf2/frame-inlined-in-outer-frame.S: New file.
+
+2020-08-31  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.dwarf2/dw2-reg-undefined.exp: Test "set debug frame 1"
+       output, printing a "not saved" value from history and printing a
+       convenience variable created from a "not saved" value.
+
+2020-08-31  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/eh_return.exp: Use nopie.
+
+2020-08-28  Pedro Alves  <pedro@palves.net>
+
+       * gdb.base/advance-until-multiple-locations.exp
+       (advance_overload, until_overload): Adjust to match the
+       frame/function header instead of the source line text.
+
+2020-08-28  Tom de Vries  <tdevries@suse.de>
+
+       * gdb.base/label-without-address.c: New test.
+       * gdb.base/label-without-address.exp: New file.
+
+2020-08-27  Pedro Alves  <pedro@palves.net>
+
+       PR gdb/26523
+       PR gdb/26524
+       * gdb.base/advance-until-multiple-locations.cc: New.
+       * gdb.base/advance-until-multiple-locations.exp: New.
+
+2020-08-27  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       *  gdb.dwarf2/dw2-reg-undefined.exp: Use multi_line.
+
+2020-08-27  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.arch/amd64-byte.exp: Make test names unique, use
+       gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
+       * gdb.arch/amd64-dword.exp: Likewise.
+       * gdb.arch/amd64-pseudo.c: Fix typo 'forth' -> 'fourth'.
+       * gdb.arch/amd64-stap-special-operands.exp: Make test names
+       unique.
+       * gdb.arch/amd64-tailcall-ret.exp: Likewise.
+       * gdb.arch/amd64-word.exp: Make test names unique, use
+       gdb_breakpoint, and fix typo 'forth' -> 'fourth'.
+       * gdb.arch/i386-byte.exp: Make test names unique, use
+       gdb_breakpoint.
+       * gdb.arch/i386-word.exp: Likewise.
+
+2020-08-25  Shahab Vahedi  <shahab@synopsys.com>
+
+       * gdb.arch/arc-tdesc-cpu.xml: Use new feature names.
+
+2020-08-25  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       PR gdb/26532
+       * gdb.threads/stepi-random-signal.exp: Update pattern.
+
+2020-08-25  Simon Marchi  <simon.marchi@efficios.com>
+
+       PR gdb/26532
+       * gdb.base/ui-redirect.exp: Update pattern.
+
+2020-08-25  Gary Benson <gbenson@redhat.com>
+
+       * gdb.dwarf2/dw2-dir-file-name.exp: Use system assembler
+       when compiling with clang.
+       * gdb.dwarf2/dw2-restore.exp: Likewise.
+
+2020-08-25  Gary Benson <gbenson@redhat.com>
+
+       * gdb.cp/ambiguous.exp: Enable test when compiling with GCC.
+       Add additional_flags=-Wno-inaccessible-base when compiling
+       with GCC >= 10.1 or clang.  Add additional_flags=-w when
+       compiling with GCC < 10.
+
+2020-08-25  Gaius Mulley  <gaiusmod2@gmail.com>
+
+       PR m2/26372
+       * gdb.modula2/multidim.c: New file.
+       * gdb.modula2/multidim.exp: New file.
+
+2020-08-24  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * lib/gdb.exp (runto): Always emit fail on internal error.
+
+2020-08-24  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdb.base/gdb-sigterm.exp (do_test): Update expected regexp.
+       * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
+       Likewise.
+       * gdb.threads/stepi-random-signal.exp: Likewise.
+
+2020-08-20  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>
+
+       * gdb.base/print-file-var.exp: Fix typo "breapoint".
+       * gdb.trace/strace.exp: Ditto.
+
+2020-08-19  Alok Kumar Sharma  <AlokKumar.Sharma@amd.com>
+
+       * gdb.fortran/vla-type.exp: Skip commands not required for
+       the Flang compiled binaries after prologue fix.
+
+2020-08-17  Tom de Vries  <tdevries@suse.de>
+           Tom Tromey  <tromey@adacore.com>
+
+       PR rust/26197:
+       * gdb.rust/simple.exp (xfail_pattern): Update for new failure.
+
 2020-08-17  Tom Tromey  <tromey@adacore.com>
 
        * gdb.ada/mi_var_access.exp: New file.
        disabled.
 
 2020-03-02  Pedro Alves  <palves@redhat.com>
-             Tom de Vries  <tdevries@suse.de>
+           Tom de Vries  <tdevries@suse.de>
 
        * lib/gdb.exp (gdb_test_multiple): Handle prompt_regexp option using
        -prompt prefix, before user_code argument.  Add -lbl option likewise.