Stale breakpoint instructions, spurious SIGTRAPS.
[binutils-gdb.git] / gdb / ChangeLog
index 6a61a53c100f7ef1e08843dc9c920143ee33ed0c..262d70991fa00a271663a274b9ba28bf2f13ad5b 100644 (file)
@@ -1,3 +1,40 @@
+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