testsuite: Nullify pointers before first usage.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index dcdc09cc1dcc67a53e759ea7f218936ef871836d..e14b6540a4f531288e71636825a931c81e5a9f2f 100644 (file)
@@ -1,3 +1,536 @@
+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.
+       * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
+
+2016-01-23  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
+       endian targets.
+
+2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       Fix testsuite compatibility with Guile.
+       * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
+       number.
+
+2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix testsuite compatibility with Guile.
+       * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
+       (thread 1): New test for backtrace through signal handler.
+
+2016-01-22  Yao Qi  <yao.qi@linaro.org>
+
+       PR testsuite/19491
+       * gdb.base/multi-forks.c: Include
+       ../lib/unbuffer_output.c
+       (main): Call gdb_unbuffer_output.
+
+2016-01-21  Doug Evans  <dje@google.com>
+
+       * lib/ada.exp (gdb_compile_ada): Fix typo.
+
+2016-01-21  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.base/break-fun-addr.exp: New file.
+       * gdb.base/break-fun-addr1.c: New file.
+       * gdb.base/break-fun-addr2.c: New file.
+
+2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
+       * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
+       enum flag values.
+
+2016-01-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
+       when GDB can not set the vector return value.  Add more comments
+       for clarification.
+
+2016-01-20  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
+       command.
+
+2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * Makefile.in (DO_RUNTEST): Add --status and update usages.
+
+2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * Makefile.in (check-single): Pass --status to runtest.
+       (check/%.exp): Likewise.
+
+2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * Makefile.in (check-parallel): Propagate return code from make
+       do-check-parallel.
+
+2016-01-19  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * gdb.trace/ftrace.exp: Fix expected message on continue.
+       * gdb.trace/pending.exp: Fix expected message on continue.
+       * gdb.trace/trace-break.exp: Fix expected message on continue.
+
+2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * lib/gdb.exp (gdb_test): Remove unused global references.
+
+2016-01-18  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/async-shell.exp: Adjust expected output.
+       * gdb.base/dprintf-non-stop.exp: Adjust expected output.
+       * gdb.base/siginfo-thread.exp: Adjust expected output.
+       * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
+       * gdb.java/jnpe.exp: Adjust expected output.
+       * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
+       * gdb.threads/continue-pending-status.exp: Adjust expected output.
+       * gdb.threads/leader-exit.exp: Adjust expected output.
+       * gdb.threads/manythreads.exp: Adjust expected output.
+       * gdb.threads/pthreads.exp: Adjust expected output.
+       * gdb.threads/schedlock.exp: Adjust expected output.
+       * gdb.threads/siginfo-threads.exp: Adjust expected output.
+       * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
+       expected output.
+       * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
+       output.
+       * gdb.threads/sigthread.exp: Adjust expected output.
+       * gdb.threads/watchpoint-fork.exp: Adjust expected output.
+
+2016-01-18  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.guile/scm-section-script.c: Replace @progbits with
+       %progbits.
+       * gdb.python/py-section-script.c: Likewise.
+
+2016-01-15  Pedro Alves  <palves@redhat.com>
+
+       * gdb.multi/tids.exp: Test star wildcard ranges.
+
+2016-01-15  Pedro Alves  <palves@redhat.com>
+
+       * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
+       command from "thread apply" invocation.
+       (thr_apply_info_thr_invalid): Default the expected output to the
+       input tid list.
+       (top level): Add tests that use convenience variables.  Add tests
+       for "thread apply" with a valid TID list, but missing the command.
+
 2016-01-13  Pedro Alves  <palves@redhat.com>
 
        * gdb.base/default.exp: Expect $_gthread as well.
This page took 0.03107 seconds and 4 git commands to generate.