Limit breakpoint re-set to the current program space
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 57c6ccdf8639a5fbfbfbbb23009e0ddc5ae34545..c2939f6f9eedbc0632f9986c3f5d0b2149bf6a38 100644 (file)
@@ -1,3 +1,330 @@
+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.
+       * 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.
+       * gdb.multi/tids.exp: Test $_gthread.
+       * gdb.threads/thread-specific.exp: Test $_gthread.
+
+2016-01-13  Pedro Alves  <palves@redhat.com>
+
+       * gdb.multi/tids.exp: Test "info threads -gid".
+
+2016-01-13  Pedro Alves  <palves@redhat.com>
+
+       * gdb.multi/tids.exp: Test InferiorThread.global_num and
+       Breakpoint.thread.
+       * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
+
+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
@@ -6950,6 +7277,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.029298 seconds and 4 git commands to generate.