testsuite: Nullify pointers before first usage.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 8b6246995dab93594902ce37e6e690e66c90d889..e14b6540a4f531288e71636825a931c81e5a9f2f 100644 (file)
@@ -1,3 +1,415 @@
+2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
+
+       * gdb.mi/vla.f90: Nullify pointer after declaration.
+
+2016-03-01  Pedro Alves  <palves@redhat.com>
+
+       * gdb.trace/ftrace-lock.c: Include <unistd.h>.
+
+2016-03-01  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
+       before anything else.
+       * gdb.threads/watchpoint-fork-mt.c: Likewise.  Don't define
+       _GNU_SOURCE here.
+       * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
+       before anything else.
+       * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
+
+2016-03-01  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
+
+2016-03-01  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.arch/arm-disp-step.exp: Use standard_testfile and
+       prepare_for_testing.
+
+2016-03-01  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
+
+2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
+       manually constructing the output path.
+
+2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.arch/s390-stackless.S: New.
+       * gdb.arch/s390-stackless.exp: New.
+
+2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * gdb.dlang/circular.c: New file.
+       * gdb.dlang/circular.exp: New file.
+
+2016-02-26  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
+       [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
+       (testcases): Update.
+
+2016-02-26  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.reverse/aarch64.c: Rename to ...
+       * gdb.reverse/insn-reverse.c: ... it.
+       * gdb.reverse/aarch64.exp: Rename to ...
+       * gdb.reverse/insn-reverse.exp: ... it.
+
+2016-02-26  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
+       (testcase_ftype): New.
+       (testcases): New array.
+       (n_testcases): New.
+       (main): Call each element in testcases.
+       * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
+       (read_testcase): New.
+       Do the tests in a loop.
+
+2016-02-25  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/branches.c: Remove.
+
+2016-02-25  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       PR gdb/13808
+       * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
+
+2016-02-25  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * gdb.trace/ftrace.exp: Remove unnecessary target check.
+
+2016-02-25  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
+       change x86_64 call_insn to 'callq'.
+
+2016-02-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * gdb.trace/tfile-avx.c: Move to...
+       * gdb.trace/tracefile-pseudo-reg.c: Here.
+       * gdb.trace/tfile-avx.exp: Move to...
+       * gdb.trace/tracefile-pseudo-reg.exp: Here.
+
+2016-02-24  Gary Benson <gbenson@redhat.com>
+
+       * gdb.base/attach-pie-noexec.exp: Do not expect an error
+       message on attach.
+
+2016-02-23  Doug Evans  <dje@google.com>
+
+       * gdb.base/skip.c (test_skip): New function.
+       (end_test_skip_file_and_function): New function.
+       (test_skip_file_and_function): New function.
+       * gdb.base/skip1.c (test_skip): New function.
+       (skip1_test_skip_file_and_function): New function.
+       * gdb.base/skip.exp: Add tests for new skip options.
+       * gdb.base/skip-solib.exp: Update expected output.
+       * gdb.perf/skip-command.cc: New file.
+       * gdb.perf/skip-command.exp: New file.
+       * gdb.perf/skip-command.py: New file.
+
+2016-02-22  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
+       info registers pattern.
+
+2016-02-18  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * lib/future.exp: Add D support.
+       (gdb_find_gdc): New proc.
+       (gdb_default_target_compile): Add D support.
+
+2016-02-18  Wei-cheng Wang  <cole945@gmail.com>
+
+       * gdb.trace/tspeed.c (myclock): Return wallclock instead of
+       user+system time.
+       (trace_speed_test): Determine the iteration count for a time
+       between 15..30 seconds.
+
+2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       * gdb.arch/i386-mpx-sigsegv.c: New file.
+       * gdb.arch/i386-mpx-sigsegv.exp: New file.
+       * gdb.arch/i386-mpx-simple_segv.c: New file.
+       * gdb.arch/i386-mpx-simple_segv.exp: New file.
+
+2016-02-18  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
+       Don't call setup_kfail.
+
+2016-02-18  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
+       Set "set breakpoint condition-evaluation" per $cond_bp_target.
+
+2016-02-16  Doug Evans  <dje@google.com>
+
+       * gdb.base/skip.c: Add copyright.  Whitespace cleanup.
+       * gdb.base/skip1.c: Ditto.
+       * gdb.base/skip.exp: Whitespace cleanup.
+
+2016-02-16  Don Breazeal  <donb@codesourcery.com>
+
+       PR remote/19496
+       * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
+       Remove kfail for PR remote/19496.
+
+2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * lib/gdb.exp (standard_temp_file): Return a path specific to
+       the runtest invocation.
+
+2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.trace/save-trace.exp: Change relative path to be in the
+       standard output directory.
+
+2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.arch/i386-prologue.c: Add missing prototypes.
+
+2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
+       * gdb.arch/i386-prologue.exp: Likewise.
+       * gdb.arch/i386-size.exp: Likewise.
+
+2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
+       define object file path.
+       * gdb.btrace/gcore.exp: Use standard_output_file to define core
+       file path.
+       * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
+       standard_output_file to define binfile.
+
+2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix compatibility with recent gfortran-5.3.1.
+       * gdb.fortran/vla-history.exp (print vla1 allocated)
+       (print vla2 allocated, print $2, print $3): Remove
+       (print $4): Rename to ...
+       (print $2): ... here.
+       (print $9): Rename to ...
+       (print $5): ... here.
+       (print $10): Rename to ...
+       (print $6): ... here.
+       * gdb.fortran/vla.f90: Add pvla initialization.
+
+2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
+       New test.
+       * gdb.fortran/vla-value-sub.exp: Likewise.
+
+2016-02-12  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
+
+2016-02-12  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * i386-biarch-core.exp: Define corefile using
+       standard_output_file.
+
+2016-02-12  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.arch/arm-single-step-kernel-helper.c: New.
+       * gdb.arch/arm-single-step-kernel-helper.exp: New.
+
+2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/tailcall-only.exp: New.
+       * gdb.btrace/tailcall-only.c: New.
+       * gdb.btrace/x86_64-tailcall-only.S: New.
+       * gdb.btrace/i686-tailcall-only.S: New.
+
+2016-02-11  Pedro Alves  <palves@redhat.com>
+
+       * README (Parallel testing): Add missing double quotes.
+
+2016-02-11  Pedro Alves  <palves@redhat.com>
+
+       * README (Parallel testing): New section.
+       (GDB_PARALLEL): Rewrite.
+       (FORCE_PARALLEL): Document.
+
+2016-02-11  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * gdb.trace/tfile-avx.c: New test.
+       * gdb.trace/tfile-avx.exp: New test.
+
+2016-02-09  Keith Seitz  <keiths@redhat.com>
+
+       PR breakpoints/19546
+       * gdb.base/infcall-exec.c: New file.
+       * gdb.base/infcall-exec2.c: New file.
+       * gdb.base/infcall-exec.exp: New file.
+
+2016-02-09  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
+       (toplevel): Call test_bkpt_address.
+
+2016-02-09  Keith Seitz  <keiths@redhat.com>
+
+       PR python/19506
+       * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
+       (toplevel): Call test_bkpt_address.
+
+2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
+       to AC_OUTPUT.
+       * configure: Regenerate.
+
+2016-02-09  Pedro Alves  <palves@redhat.com>
+
+       PR breakpoints/19548
+       * gdb.base/execl-update-breakpoints.c (some_function): New
+       function.
+       (main): Call it.
+       * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
+       Tighten expected GDB output.
+
+2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * Makefile.in (ALL_SUBDIRS): Remove.
+       (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
+       (distclean maintainer-clean realclean): Likewise.
+       * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
+       * configure: Regenerate.
+       * gdb.ada/Makefile.in: Delete.
+       * gdb.arch/Makefile.in: Likewise.
+       * gdb.asm/Makefile.in: Likewise.
+       * gdb.base/Makefile.in: Likewise.
+       * gdb.btrace/Makefile.in: Likewise.
+       * gdb.cell/Makefile.in: Likewise.
+       * gdb.compile/Makefile.in: Likewise.
+       * gdb.cp/Makefile.in: Likewise.
+       * gdb.disasm/Makefile.in: Likewise.
+       * gdb.dlang/Makefile.in: Likewise.
+       * gdb.dwarf2/Makefile.in: Likewise.
+       * gdb.fortran/Makefile.in: Likewise.
+       * gdb.gdb/Makefile.in: Likewise.
+       * gdb.go/Makefile.in: Likewise.
+       * gdb.guile/Makefile.in: Likewise.
+       * gdb.java/Makefile.in: Likewise.
+       * gdb.linespec/Makefile.in: Likewise.
+       * gdb.mi/Makefile.in: Likewise.
+       * gdb.modula2/Makefile.in: Likewise.
+       * gdb.multi/Makefile.in: Likewise.
+       * gdb.objc/Makefile.in: Likewise.
+       * gdb.opencl/Makefile.in: Likewise.
+       * gdb.opt/Makefile.in: Likewise.
+       * gdb.pascal/Makefile.in: Likewise.
+       * gdb.perf/Makefile.in: Likewise.
+       * gdb.python/Makefile.in: Likewise.
+       * gdb.reverse/Makefile.in: Likewise.
+       * gdb.server/Makefile.in: Likewise.
+       * gdb.stabs/Makefile.in: Likewise.
+       * gdb.threads/Makefile.in: Likewise.
+       * gdb.trace/Makefile.in: Likewise.
+       * gdb.xml/Makefile.in: Likewise.
+       * lib/gdb.exp (make_gdb_parallel_path): Add check for
+       GDB_PARALLEL.
+       (standard_output_file): Remove check for GDB_PARALLEL, always
+       return path in outputs/$subdir/$testname.
+
+2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
+       (site.exp): Assign abs_srcdir to tcl's srcdir.
+
+2016-02-04  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/foll-exec-mode.c: Include limits.h.
+       (main): Add parameters argc and argv.  Get directory from
+       argv[0].
+       * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
+       compilation.
+       * gdb.base/foll-exec.c: Include limits.h.
+       (main): Add parameters argc and argv.
+       Get directory from argv[0].
+       * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
+       Adjust tests on the number of lines as source code changed.
+       * gdb.base/foll-vfork-exit.c: Include limits.h.
+       (main): Add one line of statement before vfork.
+       * gdb.base/foll-vfork.c: Include limits.h and string.h.
+       (main): Add parameters argc and argv.  Get directory from
+       argv[0].
+       * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
+       (setup_gdb): Set tbreak to skip some source lines.
+       * gdb.multi/bkpt-multi-exec.c: Include limits.h.
+       (main): Add parameters argc and argv.  Get directory from
+       argv[0].
+       * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
+       compilation.
+       * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
+       (main): Add parameters argc and argv.  Get directory from
+       argv[0].
+       * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
+       compilation.
+
+2016-02-01  Doug Evans  <dje@google.com>
+
+       * gdb.base/skip.exp: Clean up multiple references to same test name.
+
+2016-02-01  Pedro Alves  <palves@redhat.com>
+
+       PR remote/19496
+       * gdb.threads/forking-threads-plus-breakpoint.exp
+       (displaced_stepping_supported): New global.
+       (probe_displaced_stepping_support): New procedure.
+       (do_test): Add 'displaced' parameter, and use it.
+       (top level): Check for displaced stepping support.  Add displaced
+       stepping on/off testing axis.
+
+2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
+       pointer.  Don't perform further tests on the unassociated pointer
+       if the first test fails.
+
+2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/max-value-size.c: New file.
+       * gdb.base/max-value-size.exp: New file.
+       * gdb.base/huge.exp: Disable max-value-size for this test.
+
+2016-01-28  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
+
+2016-01-28  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
+
+2016-01-25  Pedro Alves  <palves@redhat.com>
+
+       PR threads/19461
+       * gdb.base/fork-running-state.c: New file.
+       * gdb.base/fork-running-state.exp: New file.
+
+2016-01-25  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/19494
+       * gdb.base/catch-fork-kill.c: New file.
+       * gdb.base/catch-fork-kill.exp: New file.
+
+2016-01-25  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
+       Delete, moved to lib/gdb.exp.
+       * gdb.threads/forking-threads-plus-breakpoint.exp
+       (foreach_with_prefix): Likewise.
+       * gdb.threads/process-dies-while-handling-bp.exp
+       (foreach_with_prefix): Likewise.
+       * lib/gdb.exp (foreach_with_prefix): New procedure.
+
 2016-01-25  Marcin Kościelnicki  <koriakin@0x04.net>
 
        * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
        * Makefile.in (check-parallel): Propagate return code from make
        do-check-parallel.
 
-2016-01-19  Pedro Alves  <palves@redhat.com>
-
-       * ax-gdb.c (agent_command_1): Adjust call to decode_line_full.
-       * break-catch-throw.c (re_set_exception_catchpoint): Pass the
-       current program space down to linespec decoding and breakpoint
-       location updating.
-       * breakpoint.c (parse_breakpoint_sals): Adjust calls to
-       decode_line_full.
-       (until_break_command): Adjust calls to decode_line_1.
-       (base_breakpoint_decode_location, bkpt_decode_location): Add
-       'search_pspace' parameter.  Pass it along.
-       (bkpt_probe_create_sals_from_location): Adjust calls to
-       parse_probes.
-       (tracepoint_decode_location, tracepoint_probe_decode_location)
-       (strace_marker_decode_location): Add 'search_pspace' parameter.
-       Pass it along.
-       (all_locations_are_pending): Rewrite to take a breakpoint and
-       program space as arguments instead.
-       (hoist_existing_locations): New function.
-       (update_breakpoint_locations): Add 'filter_pspace' parameter.  Use
-       hoist_existing_locations instead of always removing all locations,
-       and adjust to all_locations_are_pending change.
-       (location_to_sals): Add 'search_pspace' parameter.  Pass it along.
-       Don't disable the breakpoint if there are other locations in
-       another program space.
-       (breakpoint_re_set_default): Adjust to pass down the current
-       program space as filter program space.
-       (decode_location_default): Add 'search_pspace' parameter and pass
-       it along.
-       (prepare_re_set_context): Don't switch program space here.
-       (breakpoint_re_set): Use save_current_space_and_thread instead of
-       save_current_program_space.
-       * breakpoint.h (struct breakpoint_ops) <decode_location>: Add
-       'search_pspace' parameter.
-       (update_breakpoint_locations): Add 'filter_pspace' parameter.
-       * cli/cli-cmds.c (edit_command, list_command): Adjust calls to
-       decode_line_1.
-       * elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the current
-       program space as filter program space.
-       * linespec.c (struct linespec_state) <search_pspace>: New field.
-       (create_sals_line_offset, convert_explicit_location_to_sals)
-       (parse_linespec): Pass the search program space down.
-       (linespec_state_constructor): Add 'search_pspace' parameter.
-       Store it.
-       (linespec_parser_new): Add 'search_pspace' parameter and pass it
-       along.
-       (linespec_lex_to_end): Adjust.
-       (decode_line_full, decode_line_1): Add 'search_pspace' parameter
-       and pass it along.
-       (decode_line_with_last_displayed): Adjust.
-       (collect_symtabs_from_filename, symtabs_from_filename): New
-       'search_pspace' parameter.  Use it.
-       (find_function_symbols): Pass the search program space down.
-       * linespec.h (decode_line_1, decode_line_full): Add
-       'search_pspace' parameter.
-       * probe.c (parse_probes_in_pspace): New function, factored out
-       from ...
-       (parse_probes): ... this.  Add 'search_pspace' parameter and use
-       it.
-       * probe.h (parse_probes): Add pspace' parameter.
-       * python/python.c (gdbpy_decode_line): Adjust.
-       * tracepoint.c (scope_info): Adjust.
-
 2016-01-19  Marcin Kościelnicki  <koriakin@0x04.net>
 
        * gdb.trace/ftrace.exp: Fix expected message on continue.
This page took 0.030855 seconds and 4 git commands to generate.