2012-03-02 Tom Tromey <tromey@redhat.com>
authorPedro Alves <palves@redhat.com>
Fri, 2 Mar 2012 19:26:10 +0000 (19:26 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 2 Mar 2012 19:26:10 +0000 (19:26 +0000)
commitf59f708a4b12a347cb003c750b96336822481900
tree5d55c5e6edd298646d04e416ea15904a9cf8ea62
parent44099a67be4e2b30f29c14cb38ca171ff8a3beda
2012-03-02  Tom Tromey  <tromey@redhat.com>
    Pedro Alves  <palves@redhat.com>

PR breakpoints/13776:
* breakpoint.c (breakpoint_init_inferior): Delete step-resume
breakpoints.
(delete_longjmp_breakpoint_at_next_stop): New.
* breakpoint.h (delete_longjmp_breakpoint_at_next_stop): Declare.
* target.c (generic_mourn_inferior): Call mark_breakpoints_out
before deleting the inferior.  Add comments.
* thread.c (clear_thread_inferior_resources): Don't delete lonjmp
breakpoints immediately, but only on next stop.  Move that code
next to where we mark other breakpoints for deletion.
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h
gdb/target.c
gdb/thread.c