Limit breakpoint re-set to the current program space
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index 6fd6e4f80633c3e7f4d204af6b48740bef9d79a4..c2939f6f9eedbc0632f9986c3f5d0b2149bf6a38 100644 (file)
@@ -1,3 +1,202 @@
+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
This page took 0.027547 seconds and 4 git commands to generate.