Add support for the readnever concept
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index e8afca552f1cd175b19f6ffdd1286bca27837983..9f84eea98b839d3b2d6c9f97078783756b723039 100644 (file)
@@ -1,3 +1,553 @@
+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  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
+       regex.
+
+2017-11-13  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.opt/inline-locals.exp: Remove trailing parentheses from
+       test names.
+
+2017-11-09  Pedro Alves  <palves@redhat.com>
+
+       * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
+       factored out from ...
+       (top level): ... here, and adjusted to avoid expecting beyond the
+       prompt in a single gdb_test_multiple.
+
+2017-11-09  Pedro Alves  <palves@redhat.com>
+
+       * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
+       output.
+       * gdb.server/ext-attach.exp ("kill" test): Likewise.
+       * gdb.server/ext-restart.exp ("kill" test): Likewise.
+       * gdb.server/ext-run.exp ("kill" test): Likewise.
+       * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
+
+2017-11-09  Pedro Alves  <palves@redhat.com>
+
+       * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
+       match till end of line.
+
+2017-11-09  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/memattr.exp: Tighten regexes to match the end line.
+
+2017-11-09  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
+       New procedures, factored out from ...
+       (top level): ... here, and adjusted to avoid expecting beyond the
+       prompt in one go.
+
+2017-11-09  Pedro Alves  <palves@redhat.com>
+
+       * gdb.asm/asm-source.exp ("kill" test): Match the whole query
+       output.  Fix '?' match.
+
+2017-11-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.ada/scoped_watch: New testcase.
+       * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
+       which is actually correct.
+       * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
+       * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
+
+2017-11-08  Pedro Alves  <palves@redhat.com>
+
+       * gdb.gdb/complaints.exp (test_initial_complaints)
+       (test_serial_complaints, test_short_complaints): Call
+       complaint_internal instead of complaint.
+
+2017-11-08  Djordje Todorovic  <djordje.todorovic@rt-rk.com>
+
+       * gdb.threads/tls-core.c: New file.
+       * gdb.threads/tls-core.exp: Likewise.
+
+2017-11-08   Pedro Alves  <palves@redhat.com>
+
+       * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
+       (p Exported_Capitalized): New test.
+       (p exported_capitalized): New test.
+
+2017-11-07  Pedro Alves  <palves@redhat.com>
+
+       * gdb.cp/ena-dis-br-range.exp: Add more tests.
+
+2017-11-07  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
+       * gdb.cp/ena-dis-br-range.exp: Adjust tests.
+       (disable_invalid, disable_inverted, disable_negative): New
+       procedures.
+       ("bad numbers"): New set of tests.
+
+2017-11-07  Pedro Alves  <palves@redhat.com>
+
+       * gdb.cp/ena-dis-br-range.exp: Add tests.
+
+2017-11-07  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/ena-dis-br.exp: Don't expect "warning:".
+
+2017-11-07  Xavier Roirand  <roirand@adacore.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/ena-dis-br.exp: Add reference to
+       gdb.cp/ena-dis-br-range.exp.
+       * gdb.cp/ena-dis-br-range.exp: New file.
+       * gdb.cp/ena-dis-br-range.cc: New file.
+
+2017-11-06  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/attach-non-pgrp-leader.c: New.
+       * gdb.base/attach-non-pgrp-leader.exp: New.
+
+2017-11-06  Pedro Alves  <palves@redhat.com>
+
+       * configure.ac: No longer check for termio.h and sgtty.h.
+       * configure: Regenerate.
+       * remote-utils.c: Include termios.h instead of gdb_termios.h.
+       (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
+       Remove termio and sgtty code.
+
+2017-11-03  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
+       in GDB is disabled.
+
+2017-11-03  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.python/py-thrhandle.exp: Skip it if python is not
+       enabled.
+
+2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
+       as a breakpoint command.
+
+2017-10-28  Maksim Dzabraev  <dzabraew@gmail.com>
+
+       PR python/21213
+       * gdb.python/py-infthread.exp: Test calling
+       InferiorThread.inferior () multiple times in a row.
+
+2017-10-27  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.opt/inline-break.exp (break_info_1): New procedure.
+       Test "info break" for every inlined function breakpoint.
+
+2017-10-27  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
+
+2017-10-26  Patrick Frants  <osscontribute@gmail.com>
+
+       * gdb.cp/classes.exp (test_static_members): Test printing
+       Outer::instance.
+       * gdb.cp/classes.c (struct Inner, struct Outer): New.
+       (Inner::instance, Outer::instance): New.
+
+2017-10-24  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
+       extra console" test in two stages.
+
+2017-10-24  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
+
+2017-10-24  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
+       loop.
+
+2017-10-24  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
+       $attempt" and "stoppedtry $stoppedtry" test prefixes.
+
+2017-10-24  Pedro Alves  <palves@redhat.com>
+
+       * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
+       parameter and handle it.  Don't output read value in test name.
+
+2017-10-24  Pedro Alves  <palves@redhat.com>
+
+       * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
+       custom test name.
+
+2017-10-24  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
+       include the unstable output directory name in the test's name.
+       (initial_setup_simple) <'set args'>: Use custom test name.
+
+2017-10-24  Pedro Alves  <palves@redhat.com>
+
+       * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
+       with explicit test name.
+
+2017-10-20  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
+       'wait -i'.  Use gdb_assert and remote_close.
+
+2017-10-19  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
+       number from variable rather than hard-coded.
+
+2017-10-19  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/long-inferior-output.c: New file.
+       * gdb.base/long-inferior-output.exp: New file.
+
+2017-11-18  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
+       method.
+       (main): Call it.
+       * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
+       Add additional user-defined conversion operator tests.
+
+2017-10-17  Pedro Alves  <palves@redhat.com>
+
+       * boards/native-stdio-gdbserver.exp: Load "local-board".
+
+2017-10-17  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/quit-live.c: New file.
+       * gdb.base/quit-live.exp: New file.
+
+2017-10-16  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
+       (class_with_protected_typedef, class_with_private_typedef)
+       (struct_with_public_typedef, struct_with_protected_typedef)
+       (struct_with_private_typedef): New classes/structs.
+       * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
+       typedefs and access specifiers.
+
+2017-10-16  Pedro Alves  <palves@redhat.com>
+           Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * README (Local vs Remote vs Native): New section.
+       * boards/local-board.exp: New file, with bits factored out from
+       ...
+       * boards/native-extended-gdbserver.exp: ... here.  Load
+       "local-board".
+       * boards/native-gdbserver.exp: Load "local-board".
+       (${board}_spawn, ${board}_exec): Delete.
+       * boards/native-stdio-gdbserver.exp: Most contents factored out to
+       ...
+       * boards/stdio-gdbserver-base.exp: ... this new file.
+       * boards/native-stdio-gdbserver.exp: Reimplement, by loading
+       "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
+       procedure.
+       * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
+       instead of native-stdio-gdbserver.  Don't set gdb_server_prog nor
+       stdio_gdbserver_command.
+       (${board}_get_remote_address, ${board}_get_comm_port)
+       (${board}_download, ${board}_upload): Delete.
+       (get_target_remote_pipe_cmd): New.
+
+2017-10-16  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.python/py-breakpoint.exp (test_bkpt_basic,
+       test_bkpt_deletion, test_bkpt_cond_and_cmds,
+       test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
+       test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
+       test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
+       remove with_test_prefix.
+
+2017-10-13  Pedro Alves  <palves@redhat.com>
+
+       * lib/gdb.exp (target_can_use_run_cmd): New procedure.
+       * gdb.base/annota1.exp: Use it instead of is_remote.
+       * gdb.base/annota3.exp: Use it instead of is_remote.
+       * gdb.cp/annota2.exp: Use it instead of is_remote.
+       * gdb.cp/annota3.exp: Use it instead of is_remote.
+       * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
+
+2017-10-13  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
+       (test_num_test_vars, run_and_count_vars, find_env)
+       (test_set_unset_env, test_inherit_env_var): New procedures.
+       (top level): Use them.
+
+2017-10-13  Pedro Alves  <palves@redhat.com>
+
+       * lib/selftest-support.exp (selftest_setup): Extend comments, and
+       also skip on stub-like targets.
+
+2017-10-13  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/22293
+       * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
+       (top level): Move some tests to ...
+       (test_not_found): ... this new procedure.
+       (top level): Call it.
+
+2017-10-13  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/term.exp: Don't skip if is_remote target.  Instead,
+       expect different "info terminal" output if testing with a
+       non-native target.
+
+2017-10-13  Pedro Alves  <palves@redhat.com>
+           Simon Marchi  <simon.marchi@polymtl.ca>
+
+       PR python/12966
+       * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
+
 2017-10-13  Pedro Alves  <palves@redhat.com>
 
        * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
This page took 0.031536 seconds and 4 git commands to generate.