]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/ChangeLog
Fix gdb.ada/info_addr_mixed_case.exp (PR gdb/22670)
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
index bb8dd7923d41b7d6e4bac6ad5ebda6f1c1a42792..94486316d242b3fa2026c3442d167ff37991e3a8 100644 (file)
@@ -1,3 +1,508 @@
+2018-01-05  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/22670
+       * gdb.ada/info_addr_mixed_case.exp: Remove kfail.  Extend test to
+       exercise lower case too, and to exercise both full matching and
+       wild matching.
+
+2018-01-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/rename_subscript_param: New testcase.
+
+2018-01-05  Jerome Guitton  <guitton@adacore.com>
+
+       * gdb.ada/arr_acc_idx_w_gap: New testcase.
+
+2018-01-05  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/convvar_comp: New testcase.
+
+2018-01-05  Xavier Roirand  <roirand@adacore.com>
+
+       * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
+       (My_Table): New global variable.
+       * testsuite/gdb.ada/array_char_idx.exp: Add test.
+
+2018-01-04  Joel Brobecker  <brobecker@adacore.com>
+
+       PR gdb/22670
+       * gdb.ada/maint_with_ada: New testcase.
+
+2018-01-04  Joel Brobecker  <brobecker@adacore.com>
+
+       PR gdb/22670
+       * gdb.ada/bp_c_mixed_case: New testcase.
+
+2018-01-04  Joel Brobecker  <brobecker@adacore.com>
+
+       PR gdb/22670
+       * gdb.ada/complete.exp: Add "complete break ada" test.
+
+2018-01-04  Joel Brobecker  <brobecker@adacore.com>
+
+       PR gdb/22670
+       * gdb.ada/info_addr_mixed_case: New testcase.
+
+2018-01-03  Xavier Roirand  <roirand@adacore.com>
+
+       * gdb.ada/excep_handle.exp: New testcase.
+       * gdb.ada/excep_handle/foo.adb: New file.
+       * gdb.ada/excep_handle/pck.ads: New file.
+
+2018-01-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.base/step-line.c: Add extra empty line in copyright header.
+       * gdb.base/step-line.inp: Likewise.
+
+2018-01-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/dyn_stride.exp: Add slice test.
+
+2018-01-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/dyn_stride: New testcase.
+
+2017-12-27  Stafford Horne  <shorne@gmail.com>
+
+       * gdb.xml/extra-regs.xml: Add example foo reggroup.
+       * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
+
+2017-12-27  Stafford Horne  <shorne@gmail.com>
+
+       * gdb.base/reggroups.c: New file.
+       * gdb.base/reggroups.exp: New file.
+
+2017-12-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.dwarf2/ada-valprint-error.c: New file.
+       * gdb.dwarf2/ada-valprint-error.exp: New file.
+
+2017-12-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/assign_arr: New testcase.
+
+2017-12-18  Xavier Roirand  <roirand@adacore.com>
+
+       * gdb.ada/funcall_ptr: New testcase.
+
+2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR cli/16224
+       * gdb.base/ptype-offsets.cc: New file.
+       * gdb.base/ptype-offsets.exp: New file.
+
+2017-12-15  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
+       if XML is disabled.
+
+2017-12-15  Xavier Roirand  <roirand@adacore.com>
+
+       * gdb.ada/same_component_name: New testcase.
+
+2017-12-14  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/str_binop_equal: New testcase.
+
+2017-12-14  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/task_switch_in_core: New testcase.
+
+2017-12-13  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
+       * gdb.python/py-breakpoint.exp: Compile the test case as c++,
+       call test_bkpt_qualified.
+       (test_bkpt_qualified): New proc.
+
+2017-12-13  Pedro Alves  <palves@redhat.com>
+
+       * lib/completion-support.exp (test_gdb_complete_tab_multiple):
+       Tighten regexp by matching with an anchor.
+
+2017-12-13  Pedro Alves  <palves@redhat.com>
+
+       * gdb.cp/cpcompletion.exp: Load completion-support.exp.
+       ("expression with namespace"): New set of tests.
+       * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
+       (Nested::Test_NS::qux): New.
+       * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
+       defaults to 'start_quote_char' and 'end_quote_char' parameters.
+
+2017-12-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.base/server-del-break.c: New file.
+       * gdb.base/server-del-break.exp: New file.
+
+2017-12-12  Stafford Horne  <shorne@gmail.com>
+
+       * gdb.xml/tdesc-regs.exp: Add or1k support.
+
+2017-12-12  Stafford Horne  <shorne@gmail.com>
+
+       * gdb.base/bp-permanent.c: Define nop of or1k.
+
+2017-12-11  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
+       output with components being reordered.
+
+2017-12-11  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
+       output with components being reordered.
+
+2017-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/maint.exp (check for .gdb_index): Check also for
+       .debug_names.
+       * gdb.dlang/watch-loc.c (.debug_aranges): New.
+       * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
+       * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
+       (.gdb_index used after symbol reloading): Support also .debug_names.
+       * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
+
+2017-12-08  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.arch/aarch64-tagged-pointer.c (main): Update.
+       * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
+
+2017-12-08  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.arch/aarch64-tagged-pointer.c (main): Update.
+       * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
+
+2017-12-08  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.arch/aarch64-tagged-pointer.c: New file.
+       * gdb.arch/aarch64-tagged-pointer.exp: New file.
+
+2017-12-08  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
+       "int".
+
+2017-12-07  Keith Seitz  <keiths@redhat.com>
+
+       PR breakpoints/22569
+       * gdb.linespec/ls-errs.exp: Change expected result of "break
+       -source this file has spaces.c -line 3".
+       Check that an explicit source file followed by whitespace is
+       identified as an invalid explicit location.
+
+2017-12-07  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.cp/nested-types.cc: New file.
+       * gdb.cp/nested-types.exp: New file.
+       * lib/cp-support.exp: Load data-structures.exp library.
+       (debug_cp_test_ptype_class): New global.
+       (cp_ptype_class_verbose, next_line): New procedures.
+       (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
+       Add and document new return value.
+       Switch the list of lines to a queue.
+       Add support for new `type' key for nested type definitions.
+       Add debugging/troubleshooting messages.
+       * lib/data-structures.exp: New file.
+
+2017-12-07  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
+       with proc_with_prefix, don't use with_test_prefix.
+
+2017-12-07  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/break.exp: Add test for empty "commands".
+
+2017-12-07  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
+       malloc and catch syscall.
+
+2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
+       tests for explicit locations.
+
+2017-12-06  Pedro Alves  <palves@redhat.com>
+
+       * gdb.arch/i386-avx.exp: If testing with a RSP target, check
+       force-disabling XML descriptions.
+
+2017-12-04  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/22499
+       * gdb.arch/amd64-disp-step-avx.S: New file.
+       * gdb.arch/amd64-disp-step-avx.exp: New file.
+
+2017-12-03  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
+       and <string.h>.
+       (parent_function): Print distinct messages when waitpid fails, or
+       the child exits with a signal, or the child exits for an unhandled
+       reason.
+       * gdb.threads/process-dies-while-detaching.exp
+       (detach_and_expect_exit): New 'inf_output_re' parameter and use
+       it.  Wait for both inferior output and GDB's prompt.  Use an
+       indirect spawn id list.
+       (do_detach): New parameter 'child_exit'.  Use it to compute
+       expected inferior output.
+       (test_detach, test_detach_watch, test_detach_killed_outside):
+       Adjust to pass down the expected child exit kind.
+
+2017-12-01  Joel Brobecker  <brobecker@adacore.com>
+           Sergio Durigan Junior  <sergiodj@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
+
+2017-12-01  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * gdb.base/relocate.exp: Add tests to guarantee that arguments
+       to 'symbol-file' and 'add-symbol-file' can be
+       position-independent.
+
+2017-12-01  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
+       the URL in copyright header.
+       * gdb.arch/aarch64-fp.exp: Likewise.
+       * gdb.arch/ppc64-atomic-inst.exp: Likewise.
+       * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
+       * gdb.base/expand-psymtabs.exp: Likewise.
+       * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
+       * gdb.fortran/common-block.exp: Likewise.
+       * gdb.fortran/common-block.f90: Likewise.
+       * gdb.fortran/logical.exp: Likewise.
+       * gdb.fortran/vla-datatypes.f90: Likewise.
+       * gdb.fortran/vla-sub.f90: Likewise.
+
+2017-11-30  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/repeat_dyn: New testcase.
+
+2017-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
+       Update for changed thread numbering.
+       * gdb.cell/bt.exp: Update for changed GDB output.
+
+2017-11-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * boards/cc-with-tweaks.exp: Include local-board.exp instead of
+       setting isremote by hand.
+       * boards/dwarf4-gdb-index.exp: Likewise.
+       * boards/fission.exp: Likewise.
+       * boards/stabs.exp: Likewise.
+
+2017-11-30  Pedro Alves  <palves@redhat.com>
+
+       * gdb.linespec/cpls-ops.exp
+       (check_explicit_skips_function_argument): Extract the underlying
+       type of size_t instead of hardcoding it.
+
+2017-11-29  Pedro Alves  <palves@redhat.com>
+
+       PR c++/19436
+       * gdb.linespec/cpls-abi-tag.cc: New file.
+       * gdb.linespec/cpls-abi-tag.exp: New file.
+
+2017-11-29  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/langs.exp: Use -qualified.
+       * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
+       it.
+       * gdb.cp/namespace.exp: Use -qualified.
+       * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
+       (overload-3, template-overload, template-ret-type, const-overload)
+       (const-overload-quoted, anon-ns, ambiguous-prefix): New
+       procedures.
+       (test_driver): Call them.
+       * gdb.cp/save-bp-qualified.cc: New.
+       * gdb.cp/save-bp-qualified.exp: New.
+       * gdb.linespec/explicit.exp: Test -qualified.
+       * lib/completion-support.exp (completion::explicit_opts_list): Add
+       "-qualified".
+       * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
+
+2017-11-29  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
+
+2017-11-29  Tom Tromey  <tom@tromey.com>
+
+       * gdb.base/relocate.exp: Update invalid argument test.
+       Add new tests for invalid arguments.
+
+2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
+       Return 0 as a long.
+       * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
+
+2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * gdb.cp/breakpoint.cc (bar): Set return type to void.
+       * gdb.cp/psymtab-parameter.cc (func): Likewise.
+       * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
+       func ().
+       * gdb.cp/shadow.cc (B.func): Return 0.
+
+2017-11-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
+       expected output in gdb_expect call to allow the exception
+       message to be present as well.  Fix syntax confusion to avoid
+       TCL thinking that exception_name is an array.
+
+2017-11-26  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.arch/spu-info.c: Include <unistd.h>.
+       (do_signal_test): Fix broken calls to write.
+       * gdb.arch/spu-info.exp: Use prepare_for_testing.
+       Fix checks for empty mailboxes.  Update signal tests for corrected
+       do_signal_test routine.  Allow nonzero event status.
+       * gdb.arch/spu-ls.exp: Use prepare_for_testing.
+       * gdb.cell/arch.exp: Use standard_output_file.
+       * gdb.cell/break.exp: Likewise.
+       * gdb.cell/bt.exp: Likewise.
+       * gdb.cell/core.exp: Likewise.
+       * gdb.cell/dwarfaddr.exp: Likewise.
+       * gdb.cell/ea-cache.exp: Likewise.
+       * gdb.cell/ea-standalone.exp: Likewise.
+       * gdb.cell/f-regs.exp: Likewise.
+       * gdb.cell/fork.exp: Likewise.
+       * gdb.cell/gcore.exp: Likewise.
+       * gdb.cell/mem-access.exp: Likewise.
+       * gdb.cell/ptype.exp: Likewise.
+       * gdb.cell/registers.exp: Likewise.
+       * gdb.cell/sizeof.exp: Likewise.
+       * gdb.cell/solib-symbol.exp: Likewise.
+       * gdb.cell/solib.exp: Likewise.
+
+2017-11-25   Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/complete-empty.exp: New file.
+       * gdb.base/completion.exp: Adjust.
+
+2017-11-25  Pedro Alves  <palves@redhat.com>
+
+       * gdb.linespec/cpls-ops.cc: New file.
+       * gdb.linespec/cpls-ops.exp: New file.
+       * lib/completion-support.exp (test_complete_prefix_range_re): New,
+       factored out from ...
+       (test_complete_prefix_range): ... this.
+
+2017-11-24  Pedro Alves  <palves@redhat.com>
+
+       * gdb.linespec/cpcompletion.exp: New file.
+       * gdb.linespec/cpls-hyphen.cc: New file.
+       * gdb.linespec/cpls.cc: New file.
+       * gdb.linespec/cpls2.cc: New file.
+       * gdb.linespec/explicit.exp: Load completion-support.exp.  Adjust
+       test to use test_gdb_complete_unique.  Add label completion,
+       keyword completion and explicit location completion tests.
+       * lib/completion-support.exp: New file.
+
+2017-11-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
+       gdb.ada/mi_ex_cond.exp: Accept optional exception message in
+       when hitting an exception catchpoint.
+
+2017-11-22  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
+
+2017-11-22  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
+       * gdb.dwarf2/info-locals-optimized-out.exp: New file.
+       * gdb.dwarf2/info-locals-optimized-out.c: New file.
+
+2017-11-22  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/info-os.exp: Pass pthreads.
+       * gdb.multi/multi-attach.exp: Likewise.
+
+2017-11-22  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
+       compiler.
+
+2017-11-22  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
+       * gdb.base/break-interp.exp: Likewise.
+       * gdb.base/jit-attach-pie.exp: Likewise.
+
+2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.base/float128.c (large128): New variable.
+       * gdb.base/float128.exp: Add test to print largest __float128 value.
+
+2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.arch/vsx-regs.exp: Update register content checks.
+
+2017-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb.arch/ppc-longdouble.exp: New file.
+       * gdb.arch/ppc-longdouble.c: Likewise.
+
+2017-11-21  Pedro Alves  <palves@redhat.com>
+
+       * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
+
+2017-11-20  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/whatis-ptype-typedefs.c (double_typedef)
+       (long_double_typedef): New typedefs.
+       Use DEF on double and long double.
+       * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
+       cases.
+       (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
+       and 'long_double_ptr_same_size' locals.  Use them to decide
+       whether cast from array/function to float is valid/invalid.
+
+2017-11-17  Tom Tromey  <tom@tromey.com>
+
+       * gdb.rust/traits.rs: New file.
+       * gdb.rust/traits.exp: New file.
+
+2017-11-17  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/minsyms: New testcase.
+
+2017-11-16  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
+       * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
+
+2017-11-16  Pedro Alves  <palves@redhat.com>
+
+       * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
+       gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
+
+2017-11-16  Pedro Alves  <palves@redhat.com>
+
+       * gdb.server/reconnect-ctrl-c.c: New file.
+       * gdb.server/reconnect-ctrl-c.exp: New file.
+
+2017-11-16  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * gdb.python/py-rbreak.exp: New file.
+       * gdb.python/py-rbreak.c: New file.
+       * gdb.python/py-rbreak-func2.c: New file.
+
+2017-11-16  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/starti.exp ("continue" test): Remove ".*"s from
+       pattern.
+       * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
+       GDB.
+
 2017-11-15  Simon Marchi  <simon.marchi@ericsson.com>
 
        * gdb.tui/completionn.exp (test_tab_completion): Add space in
        instead of on dejagnu remote boards.
 
 2017-10-12  Pedro Alves  <palves@redhat.com>
-           Simon Marchi <simon.marchi@polymtl.ca>
+           Simon Marchi  <simon.marchi@polymtl.ca>
 
        * gdb.base/inferior-died.exp: Remove is_remote and isnative
        checks.  Use build_executable + clean_restart instead of
@@ -12657,6 +13162,6 @@ For older changes see ChangeLog-1993-2013.
 ;; version-control: never
 ;; End:
 
-    Copyright 2014-2017 Free Software Foundation, Inc.
+    Copyright 2014-2018 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.