PR gdb/9747:
authorPedro Alves <palves@redhat.com>
Sun, 18 Jan 2009 17:42:16 +0000 (17:42 +0000)
committerPedro Alves <palves@redhat.com>
Sun, 18 Jan 2009 17:42:16 +0000 (17:42 +0000)
commit29f49a6a4f3f165090de6c85fdb0f29dcb579ae7
tree5af7a780ad9ac00b0d292c3f4b1bf92d173a3d5b
parente7243d734732b21fd5b2323fa4e727e4b56c0b79
PR gdb/9747:
* gdbthread.h (finish_thread_state, finish_thread_state_cleanup):
Declare.
* thread.c (finish_thread_state, finish_thread_state_cleanup): New.
* infrun.c (wait_for_inferior, fetch_inferior_event): If an error
is thrown while handling an event, finish the thread state.
(normal_stop): Use finish_thread_state cleanup.
* infcmd.c (run_command_1): If an error is thrown while starting
the inferior, finish the thread state.
gdb/ChangeLog
gdb/gdbthread.h
gdb/infcmd.c
gdb/infrun.c
gdb/thread.c
This page took 0.026335 seconds and 4 git commands to generate.