diff options
author | Pedro Alves <palves@redhat.com> | 2014-10-15 20:18:32 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2014-10-15 20:18:32 +0100 |
commit | 5b834a0a5da717c7d1a8d539623e75f07a474e32 (patch) | |
tree | d02c2842ce42a2e0d5c49b4b897398d11e0c27d0 /gdb/gdbthread.h | |
parent | a1fd2fa5999a17bc94fa8348326bc75ddb93476c (diff) | |
download | gdb-5b834a0a5da717c7d1a8d539623e75f07a474e32.zip gdb-5b834a0a5da717c7d1a8d539623e75f07a474e32.tar.gz gdb-5b834a0a5da717c7d1a8d539623e75f07a474e32.tar.bz2 |
thread.c: cleanup breakpoint deletion
A little refactoring to reduce duplicate code.
gdb/
2014-10-15 Pedro Alves <palves@redhat.com>
* thread.c (delete_thread_breakpoint): New function.
(delete_step_resume_breakpoint)
(delete_exception_resume_breakpoint): Use it.
(delete_at_next_stop): New function.
(clear_thread_inferior_resources): Use delete_at_next_stop.
Diffstat (limited to 'gdb/gdbthread.h')
0 files changed, 0 insertions, 0 deletions