Per-inferior/Inferior-qualified thread IDs
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 14c4b41b37033879d772e47439c933b91bda7d59..d9bafe133dd12c6831efb21d4a98843dbeda9a95 100644 (file)
@@ -1,3 +1,493 @@
+2016-01-07  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/break.exp: Adjust to output changes.
+       * gdb.base/hbreak2.exp: Likewise.
+       * gdb.base/sepdebug.exp: Likewise.
+       * gdb.base/watch_thread_num.exp: Likewise.
+       * gdb.linespec/keywords.exp: Likewise.
+       * gdb.multi/info-threads.exp: Likewise.
+       * gdb.threads/thread-find.exp: Likewise.
+       * gdb.multi/tids.c: New file.
+       * gdb.multi/tids.exp: New file.
+
+2016-01-13  Pedro Alves  <palves@redhat.com>
+
+       * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
+
+2016-01-13  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/default.exp: Expect $_inferior as well.
+       * gdb.multi/base.exp: Test $_inferior.
+
+2016-01-13  Pedro Alves  <palves@redhat.com>
+
+       PR breakpoints/19388
+       * gdb.base/catch-signal-siginfo-cond.c: New file.
+       * gdb.base/catch-signal-siginfo-cond.exp: New file.
+
+2016-01-12  Josh Stone  <jistone@redhat.com>
+           Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * gdb.base/catch-syscall.c (do_execve): New variable.
+       (main): Conditionally trigger an execve.
+       * gdb.base/catch-syscall.exp: Enable testing for remote targets.
+       (test_catch_syscall_execve): New, check entry/return across execve.
+       (do_syscall_tests): Call test_catch_syscall_execve.
+
+2016-01-12  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/random-signal.exp (do_test): New procedure, with body
+       of testcase moved in.
+
+2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/funcargs.exp (finish from indirectly called function):
+       Reintroduce the case for 'First'.
+
+2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
+       (tcatch_vfork_then_child_follow_exec)
+       (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
+       identification.
+
+2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
+       and repeats to unlimited.
+       * gdb.python/py-value.exp: Likewise.
+       * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
+       and repeats to unlimited.
+
+2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
+       and reordering the functions.
+       * gdb.multi/hangout.c: Likewise.
+       * gdb.multi/hello.c: Likewise.
+
+2016-01-08  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.perf/lib/perftest/perftest.py: Change relative imports to
+       absolute.
+       (SingleStatisticTestResult.report): Use dict.keys instead of
+       dict.iterkeys.
+
+2016-01-06  Pedro Alves  <palves@redhat.com>
+
+       * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
+
+2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * gdb.btrace/dlopen.exp: New.
+       * gdb.btrace/dlopen.c: New.
+       * gdb.btrace/dlopen-dso.c: New.
+
+2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * lib/gdb.exp (gdb_test): Update comments to clarify that the
+       PATTERN argument is optional.
+
+2015-12-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * lib/ada.exp (target_compile_ada_from_dir): New function.
+       (gdb_compile_ada): Reimplement avoiding the use of project files.
+       * gdb.ada/gnat_ada.gpr: Delete.
+       * gdb.ada/cond_lang.exp: Adjust test to make path before
+       filename optional.
+       * gdb.ada/small_reg_param.exp: Likewise.
+
+2015-12-22  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.base/foll-vork.exp: Remove HP-UX special case.
+
+2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
+       case.
+
+2015-12-21  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.base/break.exp: Remove dead code.
+       * gdb.base/sepdebug.exp: Likewise.
+
+2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.asm/asm-source.exp: Remove HP-UX references.
+       * gdb.base/annota1.exp: Likewise.
+       * gdb.base/annota3.exp: Likewise.
+       * gdb.base/attach.exp: Likewise.
+       * gdb.base/bigcore.exp: Likewise.
+       * gdb.base/break.exp: Likewise.
+       * gdb.base/call-ar-st.exp: Likewise.
+       * gdb.base/callfuncs.exp: Likewise.
+       * gdb.base/catch-fork-static.exp: Likewise.
+       * gdb.base/display.exp: Likewise.
+       * gdb.base/foll-exec-mode.exp: Likewise.
+       * gdb.base/foll-exec.exp: Likewise.
+       * gdb.base/foll-fork.exp: Likewise.
+       * gdb.base/foll-vfork.exp: Likewise.
+       * gdb.base/funcargs.exp: Likewise.
+       * gdb.base/hbreak2.exp: Likewise.
+       * gdb.base/inferior-died.exp: Likewise.
+       * gdb.base/interrupt.exp: Likewise.
+       * gdb.base/multi-forks.exp: Likewise.
+       * gdb.base/nodebug.exp: Likewise.
+       * gdb.base/sepdebug.exp: Likewise.
+       * gdb.base/solib1.c: Likewise.
+       * gdb.base/step-test.exp: Likewise.
+       * gdb.mi/non-stop.c: Likewise.
+       * gdb.mi/pthreads.c: Likewise.
+       * gdb.multi/bkpt-multi-exec.ex: Likewise.
+       * gdb.threads/pthreads.c: Likewise.
+       * gdb.threads/staticthreads.exp: Likewise.
+       * lib/future.exp: Likewise.
+       * lib/gdb.exp: Likewise.
+       * gdb.base/so-indr-cl.c: Remove.
+       * gdb.base/so-indr-cl.exp: Likewise.
+       * gdb.base/solib.c: Likewise.
+       * gdb.base/solib.exp: Likewise.
+       * gdb.base/solib2.c: Likewise.
+
+2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
+       * gdb.base/call-ar-st.exp: Likewise.
+       * gdb.base/callfuncs.exp: Likewise.
+       * gdb.base/condbreak.exp: Likewise.
+       * gdb.base/constvars.exp: Likewise.
+       * gdb.base/hbreak2.exp: Likewise.
+       * gdb.base/langs.exp: Likewise.
+       * gdb.base/list.exp: Likewise.
+       * gdb.base/long_long.exp: Likewise.
+       * gdb.base/ptype.exp: Likewise.
+       * gdb.base/scope.exp: Likewise.
+       * gdb.base/signals.exp: Likewise.
+       * gdb.base/so-impl-ld.exp: Likewise.
+       * gdb.base/varargs.exp: Likewise.
+       * gdb.base/volatile.exp: Likewise.
+       * gdb.base/whatis.exp: Likewise.
+       * gdb.cp/cplusfuncs.exp: Likewise.
+       * gdb.cp/inherit.exp: Likewise.
+       * gdb.cp/local.exp: Likewise.
+       * gdb.cp/member-ptr.exp: Likewise.
+       * gdb.cp/method.exp: Likewise.
+       * gdb.cp/overload.exp: Likewise.
+       * gdb.cp/templates.exp: Likewise.
+       * gdb.stabs/weird.exp: Likewise.
+       * lib/compiler.c: Likewise.
+       * lib/compiler.cc: Likewise.
+       * lib/cp-support.exp: Likewise.
+       * lib/gdb.exp: Likewise.
+
+2015-12-20  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * configure.ac: Remove HP-UX case.
+       * configure: Regenerate.
+
+2015-12-18  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * lib/gdb.exp (gdb_compile): Add function doc.
+
+2015-12-17  Pedro Alves  <palves@redhat.com>
+
+       PR threads/19354
+       * gdb.multi/info-threads.exp: New file.
+
+2015-12-15  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
+       is aarch64*-*-*.
+
+2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.base/history-duplicates.exp: Skip if no readline support.
+
+2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
+
+2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
+
+2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.base/completion.exp: Skip tests that interrupt GDB with
+       ctrl-C if nointerrupts target property is set.
+       * gdb.base/double-prompt-target-event-error.exp: Likewise.
+       * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
+       * gdb.base/paginate-bg-execution.exp: Likewise.
+       * gdb.base/paginate-execution-startup.exp: Likewise.
+       * gdb.base/random-signal.exp: Likewise.
+       * gdb.base/range-stepping.exp: Likewise.
+       * gdb.cp/annota2.exp: Likewise.
+       * gdb.cp/annota3.exp: Likewise.
+       * gdb.gdb/selftest.exp: Likewise.
+       * gdb.threads/continue-pending-status.exp: Likewise.
+       * gdb.threads/leader-exit.exp: Likewise.
+       * gdb.threads/manythreads.exp: Likewise.
+       * gdb.threads/pthreads.exp: Likewise.
+       * gdb.threads/schedlock.exp: Likewise.
+       * gdb.threads/sigthread.exp: Likewise.
+
+2015-12-11  Don Breazeal  <donb@codesourcery.com>
+
+       * gdb.base/execl-update-breakpoints.exp (main): Enable for target
+       remote.
+       * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
+       * gdb.base/foll-exec.exp (main): Enable for target remote.
+       * gdb.base/foll-fork.exp (main): Likewise.
+       * gdb.base/foll-vfork.exp (main): Likewise.
+       * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
+       (proc continue_to_exit_bp_loc): Use clean_restart.
+       * gdb.base/pie-execl.exp (main): Disable for target remote.
+       * gdb.base/watch-vfork.exp (main): Enable for target remote.
+       * gdb.mi/mi-nsthrexec.exp (main): Likewise.
+       * gdb.threads/execl.exp (main): Likewise.
+       * gdb.threads/fork-child-threads.exp (main): Likewise.
+       * gdb.threads/fork-plus-threads.exp (main): Disable for target
+       remote.
+       * gdb.threads/fork-thread-pending.exp (main): Enable for target
+       remote.
+       * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
+       pid.tid style ptids, instead of just tid.
+       * gdb.threads/thread-execl.exp (main): Enable for target remote.
+       * gdb.threads/watchpoint-fork.exp (main): Likewise.
+       * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
+       ptids, instead of just tid.
+
+2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/list.exp (test_list_forward): Add end of file error
+       test.
+       (test_repeat_list_command): Add end of file error test.
+       (test_list_backwards): Add beginning of file error test.
+
+2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/list.exp (test_list_invalid_args): New function,
+       defined, and called.
+
+2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/list.exp (test_list): Make test names unique.
+
+2015-12-11  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/coremaker2.c: Remove.
+
+2015-12-10  Pedro Alves  <palves@redhat.com>
+
+       * gdb.multi/base.exp: Remove stale "spaces" references.
+
+2015-12-10  Pedro Alves  <palves@redhat.com>
+
+       * gdb.multi/base.exp: Don't use nowarnings.
+       * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
+       * gdb.multi/hangout.c: Include stdio.h.
+       * gdb.multi/hello.c: Include stdlib.h.
+       * gdb.multi/multi-arch-exec.c: Include stdlib.h.
+       * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
+       * gdb.multi/multi-arch.exp: Don't use nowarnings.
+
+2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.dwarf2/dw2-ranges-base.c: New file.
+       * gdb.dwarf2/dw2-ranges-base.exp: New file.
+       * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
+       support additional line table, and debug ranges generation.
+       (Dwarf::ranges): New function, generate .debug_ranges.
+       (Dwarf::lines): Support generating simple line table programs.
+       (Dwarf::assemble): Initialise new namespace variables.
+
+2015-12-09  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.base/async.exp (proc test_background): Add case for
+       asynchronous execution not supported.
+
+2015-12-09  Luis Machado  <lgustavo@codesourcery.com>
+
+       * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
+         format and change test names to make them unique.
+
+2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
+           Pedro Alves  <pedro@redhat.com>
+
+       PR gdb/18702
+       Add checking of floatformats setup on x86_64 hosts.
+       * gdb.arch/i386-float.S (main): Load bigval and smallval.
+       (smallval, bigval): New labels/constants.
+       * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
+       float" after loading bigval and smallval.
+
+2015-12-07  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * gdb.ada/fun_overload_menu.exp: New testcase.
+       * gdb.ada/fun_overload_menu/foo.adb: New testcase.
+
+2015-12-04  Josh Stone  <jistone@redhat.com>
+
+       * gdb.base/catch-fork-static.exp: New.
+
+2015-12-03  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/sizeof.c: Don't include stdio.h and
+       ../lib/unbuffer_output.c.
+       (main): New variable 'size' and 'value'.  Remove printf and
+       gdb_unbuffer_output.  Assign return value to size and value.
+       * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
+       at the beginning.
+       (check_sizeof): Check the result by printing variable 'size'.
+       (check_valueof): Check the result by printing variable 'value'.
+
+2015-12-01  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/disp-step-syscall.exp: Define syscall instruction
+       for aarch64*-*-linux* target.
+
+2015-11-30  Pedro Alves  <palves@redhat.com>
+
+       * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
+
+2015-11-30  Pedro Alves  <palves@redhat.com>
+
+       * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
+       Handle non-stop mode vCont replies.
+
+2015-11-30  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
+       prepare_for_testing.  Start gdb with "set non-stop on" appended to
+       GDBFLAGS.  Lax expected stop output.
+
+2015-11-27  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.arch/arm-neon.exp: New.
+       * gdb.arch/arm-neon.c: New.
+
+2015-11-27  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
+
+2015-11-27  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.cp/annota2.exp: Allow multiple occurrences of the
+       frames-invalid annotation.
+
+2015-11-27  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.cp/annota2.exp: Use ${frames_invalid}.
+
+2015-11-26  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.threads/names.exp: New file.
+       * gdb.threads/names.c: New file.
+       * README: Mention gdb,no_thread_names.
+
+2015-11-26  Markus Metzger  <markus.t.metzger@intel.com>
+
+       PR 19297
+       * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
+       support" error.
+
+2015-11-24  Pedro Alves  <palves@redhat.com>
+
+       PR 17539
+       * gdb.base/display.exp: Expect displays to be sorted in ascending
+       order.  Use multi_line.
+       * gdb.base/solib-display.exp: Likewise.
+
+2015-11-24  Pedro Alves  <palves@redhat.com>
+
+       PR 17539
+        * gdb.base/display.exp: Expect displays to be sorted in ascending
+        order.  Use multi_line.
+        * gdb.base/solib-display.exp: Likewise.
+
+2015-11-24  Pedro Alves  <palves@redhat.com>
+
+       PR 17539
+       * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
+       threads in ascending order.
+       * gdb.base/foll-fork.exp: Likewise.
+       * gdb.base/foll-vfork.exp: Likewise.
+       * gdb.base/multi-forks.exp: Likewise.
+       * gdb.mi/mi-nonstop.exp: Likewise.
+       * gdb.mi/mi-nsintrall.exp: Likewise.
+       * gdb.multi/base.exp: Likewise.
+       * gdb.multi/multi-arch.exp: Likewise.
+       * gdb.python/py-inferior.exp: Likewise.
+       * gdb.threads/break-while-running.exp: Likewise.
+       * gdb.threads/execl.exp: Likewise.
+       * gdb.threads/gcore-thread.exp: Likewise.
+       * gdb.threads/info-threads-cur-sal.exp: Likewise.
+       * gdb.threads/kill.exp: Likewise.
+       * gdb.threads/linux-dp.exp: Likewise.
+       * gdb.threads/multiple-step-overs.exp: Likewise.
+       * gdb.threads/next-bp-other-thread.exp: Likewise.
+       * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
+       * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
+       * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
+       * gdb.threads/thread-find.exp: Likewise.
+       * gdb.threads/tls.exp: Likewise.
+       * lib/mi-support.exp (mi_reverse_list): Delete.
+       (mi_check_thread_states): No longer reverse list.
+
+2015-11-24  Pedro Alves  <palves@redhat.com>
+
+       * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
+       use lowercase.
+
+2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.trace/actions.c: Include trace-common.h.
+       (main): Add a location for a fast tracepoint.
+       * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
+       the normal tracepoints.
+       (gdb_verify_tracepoints): Adjust number of expected tracepoints.
+
+2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * save-trace.exp: Factor out code to these...
+       (gdb_save_tracepoints): New.
+       (gdb_load_tracepoints): New.
+       (do_save_load_test): New.
+
+2015-11-23  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb.base/asmlabel.exp: New test.
+       * gdb.base/asmlabel.c: New test case.
+
+2015-11-23  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb.base/wrong_frame_bt_full-main.c: New file.
+       * gdb.base/wrong_frame_bt_full-opaque.c: New file.
+       * gdb.base/wrong_frame_bt_full.exp: New file.
+
+2015-11-23  Joel Brobecker  <brobecker@adacore.com>
+
+       * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
+
+2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
+       pstate register when comparing registers values in
+       sparc64-*-linux-gnu targets to avoid spurious differences.
+
+2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
+
+2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * gdb.base/nested-subp1.exp: Pass executable, not executable name,
+       as type argument to gdb_compile.
+       * gdb.base/nested-subp2.exp: Likewise.
+       * gdb.base/nested-subp3.exp: Likewise.
+
 2015-11-17  Dominik Vogt  <vogt@linux.vnet.ibm.com>
 
        * lib/dwarf.exp (_note): Fix left shift of negative value.
        * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
 
 2015-08-19  Kevin Buettner  <kevinb@redhat.com>
-    
+
        * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
        * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
 
@@ -6658,6 +7148,6 @@ For older changes see ChangeLog-1993-2013.
 ;; version-control: never
 ;; End:
 
-    Copyright 2014-2015 Free Software Foundation, Inc.
+    Copyright 2014-2016 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.
This page took 0.034868 seconds and 4 git commands to generate.