Stale breakpoint instructions, spurious SIGTRAPS.
[binutils-gdb.git] / gdb / ChangeLog
index c9b914ae54e908c9c7a50a7824fcb5a98102f0de..262d70991fa00a271663a274b9ba28bf2f13ad5b 100644 (file)
@@ -1,3 +1,102 @@
+2014-04-23  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (insert_bp_location): Tolerate errors if the
+       breakpoint is set in a user-loaded objfile.
+       (remove_breakpoint_1): Likewise.  Also tolerate errors if the
+       location is marked shlib_disabled.  If the breakpoint is set in a
+       user-loaded objfile is a GDB-side memory breakpoint, validate it
+       before uninsertion.  (disable_breakpoints_in_freed_objfile): Skip
+       non-OBJF_USERLOADED objfiles.  Don't clear the location's inserted
+       flag.
+       * mem-break.c (memory_validate_breakpoint): New function.
+       * objfiles.c (userloaded_objfile_contains_address_p): New
+       function.
+       * objfiles.h (userloaded_objfile_contains_address_p): Declare.
+       * target.h (memory_validate_breakpoint): New declaration.
+
+2014-04-23  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
+       the breakpoint is set in a shared library, only suppress
+       errors for software breakpoints, not hardware breakpoints.
+
+2014-04-22  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (schedlock_applies): New function, factored out from
+       find_thread_needs_step_over.
+       (find_thread_needs_step_over): Use it.
+       (switch_back_to_stepped_thread): Always clear trap_expected if the
+       step over is finished.  Return early if scheduler locking applies.
+       Look for the stepping thread and a potential step-over thread with
+       a single loop.
+       (currently_stepping_or_nexting_callback): Delete.
+
+2014-04-22  Nick Clifton  <nickc@redhat.com>
+
+       * NEWS: Mention that ARM sim now supports tracing.
+
+2014-04-22  Yao Qi  <yao@codesourcery.com>
+
+       * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
+       to ...
+       * tracefile.c (tracefile_fetch_registers): ... it.  New
+       function.
+       * tracefile.h (tracefile_fetch_registers): Declare.
+       * ctf.c (ctf_fetch_registers): Remove the bottom.  Call
+       tracefile_fetch_registers.
+
+2014-04-19  Eli Zaretskii  <eliz@gnu.org>
+
+       PR gdb/14018
+       * windows-nat.c (thread_rec): Don't display a warning when
+       SuspendThread fails with ERROR_ACCESS_DENIED.  If SuspendThread
+       fails for any reason, set th->suspended to -1, so that we don't
+       try to resume such a thread.  Also, don't return NULL in these
+       cases, to avoid completely ruin the session due to "PC register is
+       not available" error.
+       (do_windows_fetch_inferior_registers): Check errors in
+       GetThreadContext call.
+       (windows_continue): Accept an additional argument KILLED; if not
+       zero, ignore errors in the SetThreadContext call, since the
+       inferior was killed and is shutting down.
+       (windows_resume, get_windows_debug_event)
+       (windows_create_inferior, windows_mourn_inferior)
+       (windows_kill_inferior): All callers of windows_continue changed
+       to adjust to its new calling sequence.
+
+2014-04-19  Yao Qi  <yao@codesourcery.com>
+
+       * ctf.c (ctf_open): Call post_create_inferior.
+
+2014-04-19  Yao Qi  <yao@codesourcery.com>
+
+       * ctf.c (handle_id): New static variable.
+       (ctf_open_dir): Get handle_id from bt_context_add_trace return
+       value.  Get the declaration of event "register" and get length
+       of field "contents".
+
+2014-04-19  Yao Qi  <yao@codesourcery.com>
+
+       * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
+
+2014-04-18  Siva Chandra Reddy  <sivachandra@google.com>
+
+       * valops.c (oload_method_static): Remove unnecessary argument
+       METHOD.  Update all callers.
+
+2014-04-18  Pedro alves  <palves@redhat.com>
+           Tom Tromey  <tromey@redhat.com>
+
+       PR backtrace/15558
+       * frame.c (get_prev_frame_1): Rename to ...
+       (get_prev_frame_always): ... this, and make extern.  Adjust.
+       (skip_artificial_frames): Use get_prev_frame_always.
+       (frame_unwind_caller_id, frame_pop, get_prev_frame)
+       (get_frame_unwind_stop_reason): Adjust to rename.
+       * frame.h (get_prev_frame_always): Declare.
+       * inline-frame.c: Include frame.h.
+       (inline_frame_this_id): Use get_prev_frame_always.
+
 2014-04-18  Tristan Gingold  <gingold@adacore.com>
 
        * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify