]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/ChangeLog
Update GDB test case for new lnia extended mnemonic.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 582a51ee398844115cfc501e41c6fc2c6dad6058..5b71fec42a8f1b5da9d2b9af4711f436c895abeb 100644 (file)
@@ -1,3 +1,477 @@
+2017-06-19  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * gdb.arch/powerpc-power9.exp: Update test case for new lnia
+       extended mnemonic.
+       * gdb.arch/powerpc-power9.s: Likewise.
+
+2017-06-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
+       on 32-bit x86 targets.  Exploit is_*_target macros where
+       appropriate.
+
+2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
+       register pieces.
+
+2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
+       located in one or more DWARF pieces.
+
+2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * lib/gdb.exp (get_endianness): New proc.
+       * gdb.arch/aarch64-fp.exp: Use it.
+       * gdb.arch/altivec-regs.exp: Likewise.
+       * gdb.arch/e500-regs.exp: Likewise.
+       * gdb.arch/vsx-regs.exp: Likewise.
+       * gdb.base/dump.exp: Likewise.
+       * gdb.base/funcargs.exp: Likewise.
+       * gdb.base/gnu_vector.exp: Likewise.
+       * gdb.dwarf2/formdata16.exp: Likewise.
+       * gdb.dwarf2/implptrpiece.exp: Likewise.
+       * gdb.dwarf2/nonvar-access.exp: Likewise.
+       * gdb.python/py-inferior.exp: Likewise.
+       * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
+
+2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       PR gdb/21226
+       * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
+       stack value pieces are taken from the LSB end.
+
+2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
+       variable at nonzero offset.
+
+2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.dwarf2/var-access.c: New file.
+       * gdb.dwarf2/var-access.exp: New test.
+       * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
+
+2017-06-12  Tom Tromey  <tom@tromey.com>
+
+       * gdb.dwarf2/formdata16.exp: Add tests.
+
+2017-06-12  Tom Tromey  <tom@tromey.com>
+
+       * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
+
+2017-06-12  Tom Tromey  <tom@tromey.com>
+
+       PR exp/16225:
+       * gdb.reverse/i386-sse-reverse.exp: Update tests.
+       * gdb.arch/vsx-regs.exp: Update tests.
+       * gdb.arch/s390-vregs.exp (hex128): New proc.
+       Update test.
+       * gdb.arch/altivec-regs.exp: Update tests.
+
+2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * gdb.base/startup-with-shell.c: New file.
+       * gdb.base/startup-with-shell.exp: Likewise.
+
+2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * gdb.server/non-existing-program.exp: Update regex in order to
+       reflect the fact that gdbserver is now using fork_inferior (with a
+       shell) to startup the inferior.
+
+2017-05-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
+       support function calls from GDB.
+
+2017-05-21  Tom Tromey  <tom@tromey.com>
+
+       PR rust/21466:
+       * gdb.rust/unsized.exp: New file.
+       * gdb.rust/unsized.rs: New file.
+
+2017-05-19  Tom Tromey  <tom@tromey.com>
+
+       PR rust/21484:
+       * gdb.rust/watch.exp: New file.
+       * gdb.rust/watch.rs: New file.
+
+2017-05-18  Tom Tromey  <tom@tromey.com>
+
+       * gdb.rust/simple.exp: Allow Box to be qualified.
+
+2017-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
+
+2017-05-18  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/fileio.c (test_write, test_read, test_close)
+       (test_fstat): Don't print 'ret' in the fail path.
+
+2017-05-18  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/fileio.c (stop, test_open, test_write, test_read)
+       (test_lseek, test_close, test_stat, test_fstat, test_isatty)
+       (test_system, test_rename, test_unlink, test_time): Change
+       prototypes.
+       * gdb.base/fileio.exp (stop_msg): Adjust.
+
+2017-05-18  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/fileio.c (null_str): New global.
+       (test_stat): Use it.
+       * gdb.base/fileio.exp: Remove nowarnings.
+
+2017-05-17  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
+
+2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
+       argument command.
+       (top-level): Invoke test_set_inferior_tty.
+
+2017-05-04  Pedro Alves  <palves@redhat.com>
+
+       * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
+       Add parens to print call for Python 3.
+
+2017-05-03  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.cp/oranking.cc (dummy): New function to grab malloc.
+       (main): Call it.
+
+2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
+
+       * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
+       to prev and next.
+
+2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
+
+       * gdb.python/py-record-btrace.exp: Remove test for
+       gdb.BtraceInstruction.error.
+
+2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
+
+       * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
+
+2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
+
+       * gdb.python/py-record-btrace-threads.c: New file.
+       * gdb.python/py-record-btrace-threads.exp: New file.
+
+2017-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR testsuite/8595
+       * gdb.base/environ.exp: Make test available in all architectures.
+       Move bits related to "info program" testing to
+       gdb.base/info-program.exp.  Rewrite tests to use the two new
+       procedures mentione below.
+       (test_set_show_env_var) New procedure.
+       (test_set_show_env_var_equal): Likewise.
+       * gdb.base/info-program.exp: New file.
+
+2017-04-27  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.cp/oranking.cc (test15): New function.
+       (main): Call test15 and declare additional variables for testing.
+       * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
+       "p foo101('abc')" tests.
+       Add tests for cv qualifier overloads.
+       * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
+       "lvalue reference overload" test.
+       * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
+       "print value of f1 on Child&& in f2" test.
+
+2017-04-19  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
+       procedure.
+       (top level): Call it.
+       * lib/gdb.exp (gdb_define_cmd): New procedure.
+
+2017-04-12  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/21323
+       * gdb.cp/wide_char_types.c: Include <wchar.h>.
+       (wchar): New global.
+       * gdb.cp/wide_char_types.exp (wide_char_types_program)
+       (do_test_wide_char, wide_char_types_no_program, top level): Add
+       wchar_t testing.
+
+2017-04-12  Pedro Alves  <palves@redhat.com>
+
+       PR c++/21323
+       * gdb.cp/wide_char_types.c: New file.
+       * gdb.cp/wide_char_types.exp: New file.
+
+2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR gdb/21352
+       * gdb.trace/tsv.exp: Add test for "tsave -r".
+
+2017-03-30  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * gdb.dlang/watch-loc.c: New file.
+       * gdb.dlang/watch-loc.exp: New file.
+
+2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.python/py-section-script.exp (sepdebug): New testcases.
+
+2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
+
+       * gdb.arch/arc-analyze-prologue.S: New file.
+       * gdb.arch/arc-analyze-prologue.exp: Likewise.
+
+2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
+
+       * gdb.arch/arc-decode-insn.S: New file.
+       * gdb.arch/arc-decode-insn.exp: Likewise.
+
+2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>
+
+       PR tdep/20928
+       * gdb.arch/sparc64-regs.exp: New file.
+       * gdb.arch/sparc64-regs.S: Likewise.
+
+2017-03-21  Tim Wiederhake  <tim.wiederhake@intel.com>
+
+       * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
+       and memory view on Python 3.
+
+2017-03-20  Artemiy Volkov  <artemiyv@acm.org>
+           Keith Seitz  <keiths@redhat.com>
+
+       PR gdb/14441
+       * gdb.cp/demangle.exp: Add rvalue reference tests.
+       * gdb.cp/rvalue-ref-casts.cc: New file.
+       * gdb.cp/rvalue-ref-casts.exp: New file.
+       * gdb.cp/rvalue-ref-overload.cc: New file.
+       * gdb.cp/rvalue-ref-overload.exp: New file.
+       * gdb.cp/rvalue-ref-params.cc: New file.
+       * gdb.cp/rvalue-ref-params.exp: New file.
+       * gdb.cp/rvalue-ref-sizeof.cc: New file.
+       * gdb.cp/rvalue-ref-sizeof.exp: New file.
+       * gdb.cp/rvalue-ref-types.cc: New file.
+       * gdb.cp/rvalue-ref-types.exp: New file.
+       * gdb.python/py-rvalue-ref-value-cc.cc: New file.
+       * gdb.python/py-rvalue-ref-value-cc.exp: New file.
+
+2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
+
+       * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
+       New procedure.
+
+2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
+
+       * lib/mi-support.exp (mi_gdb_test): Add additional message
+       for unexpected output.
+
+2017-03-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/examine-backward.c (Barrier): New character array
+       constant, to ensure that TestStrings is preceded by a string
+       terminator.
+
+2017-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
+       * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
+       and implicit pointer into such a location.
+
+2017-03-16  Doug Evans  <dje@google.com>
+
+       * gdb.python/py-lazy-string (pointer): Really add new typedef.
+
+2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * gdb.cp/m-static.exp: Fix expectation for prototype of
+       test5.single_constructor and single_constructor::single_constructor.
+
+2017-03-16  Doug Evans  <dje@google.com>
+
+       * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
+       * gdb.guile/scm-lazy-string.c: New file.
+       * gdb.guile/scm-value.exp: Move lazy string tests to ...
+       * gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
+       for pointer, array, typedef lazy strings.
+
+2017-03-16  Doug Evans  <dje@google.com>
+
+       PR python/17728, python/18439, python/18779
+       * gdb.python/py-value.c (main) Delete locals sptr, sn.
+       * gdb.python/py-lazy-string.c (pointer): New typedef.
+       (main): New locals ptr, array, typedef_ptr.
+       * gdb.python/py-value.exp: Move lazy string tests to ...
+       * gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
+       array, typedef lazy strings.
+
+2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>
+
+       * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
+         Add optional 'test' parameter.
+
+2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.base/commands.exp (backslash_in_multi_line_command_test):
+       Skip for versions of DejaGnu < 1.5.
+
+2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * lib/gdb.exp (dejagnu_version): New proc.
+       * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
+       Use dejagnu_version.
+
+2017-03-10  Keith Seitz  <keiths@redhat.com>
+
+       PR c++/8128
+       * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
+       type from destructor regexps.
+       Add a branch which actually passes the test.
+       Adjust "ptype t5i" test names.
+
+2017-03-08  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/step-over-exit.exp: Add explicit test message.
+
+2017-03-08  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/18360
+       * gdb.threads/interrupt-while-step-over.c: New file.
+       * gdb.threads/interrupt-while-step-over.exp: New file.
+
+2017-03-08  Pedro Alves  <palves@redhat.com>
+
+       * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
+       * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
+
+2017-03-08  Pedro Alves  <palves@redhat.com>
+
+       * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
+       PKRU as not supported as a PASS.
+
+2017-03-08  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
+       prefix instead of $binfile1/$binfile2.
+       * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
+       in test message.
+       * gdb.python/py-completion.exp: Use "load python file" as test
+       messages instead of unstable path names.
+
+2017-03-08  Pedro Alves  <palves@redhat.com>
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       PR cli/21218
+       * gdb.base/commands.exp (backslash_in_multi_line_command_test):
+       New proc.
+       (top level): Call it.
+
+2017-03-08  Pedro Alves  <palves@redhat.com>
+
+       PR tui/21216
+       * gdb.tui/tui-nl-filtered-output.exp: New file.
+
+2017-03-08  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/completion.exp: Move TUI completion tests to ...
+       * gdb.tui/completion.exp: ... this new file.
+
+2017-03-08  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/tui-disasm-long-lines.c,
+       gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
+       gdb.base/tui-layout.exp: Move to ...
+       * gdb.tui/: ... this new directory.
+
+2017-03-07  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/tui-layout.c: New file.
+       * gdb.base/tui-layout.exp: New file.
+
+2017-03-07  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/tui-layout.c: Rename to ...
+       * gdb.base/tui-disasm-long-lines.c: ... this.
+       * gdb.base/tui-layout.exp: Rename to ...
+       * gdb.base/tui-disasm-long-lines.exp: ... this.
+
+2017-03-07  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/tui-layout.exp: Add intro comment and fix typo.
+
+2017-03-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       * i386-mpx-call.c: New file.
+       * i386-mpx-call.exp: New file.
+
+2017-02-28  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * gdb.arch/powerpc-power.exp: Delete test.
+       * gdb.arch/powerpc-power.s: Likewise.
+       * gdb.disasm/disassembler-options.exp: New test.
+       * gdb.arch/powerpc-altivec.exp: Likewise.
+       * gdb.arch/powerpc-altivec.s: Likewise.
+       * gdb.arch/powerpc-altivec2.exp: Likewise.
+       * gdb.arch/powerpc-altivec2.s: Likewise.
+       * gdb.arch/powerpc-altivec3.exp: Likewise.
+       * gdb.arch/powerpc-altivec3.s: Likewise.
+       * gdb.arch/powerpc-power7.exp: Likewise.
+       * gdb.arch/powerpc-power7.s: Likewise.
+       * gdb.arch/powerpc-power8.exp: Likewise.
+       * gdb.arch/powerpc-power8.s: Likewise.
+       * gdb.arch/powerpc-power9.exp: Likewise.
+       * gdb.arch/powerpc-power9.s: Likewise.
+       * gdb.arch/powerpc-vsx.exp: Likewise.
+       * gdb.arch/powerpc-vsx.s: Likewise.
+       * gdb.arch/powerpc-vsx2.exp: Likewise.
+       * gdb.arch/powerpc-vsx2.s: Likewise.
+       * gdb.arch/powerpc-vsx3.exp: Likewise.
+       * gdb.arch/powerpc-vsx3.s: Likewise.
+       * gdb.arch/arm-disassembler-options.exp: Likewise.
+       * gdb.arch/powerpc-disassembler-options.exp: Likewise.
+       * gdb.arch/s390-disassembler-options.exp: Likewise.
+
+2017-02-23  Luis Machado  <lgustavo@codesourcery.com>
+
+       * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
+       (check_supported_features): ... this. Changed return type to void.
+       (supports_rdseed): New static global.
+       (rdseed): Check supports_rdseed.
+       (initialize): Call check_supported_features.
+
+2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
+
+       * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
+       gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
+       and lqarx/stqcx.
+       * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
+       * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
+
+2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
+
+       * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
+       uppercase.
+
+2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.dwarf2/formdata16.c: New file.
+       * gdb.dwarf2/formdata16.exp: New file.
+       * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
+
+2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
+       * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
+       * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
+       * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
+       DW_AT_GNU_*.
+
 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.