diff options
author | Pedro Alves <palves@redhat.com> | 2015-04-01 14:58:56 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-04-01 14:58:56 +0100 |
commit | e6f5c25b57546cbd88daccea4f1739c3f90f7560 (patch) | |
tree | 3dc03fa96f896d2a52857b1bbc8901387ce69ab1 /gdb/python/python.c | |
parent | c4fc4724a6afd605692b24c0af24c7e234dc5ace (diff) | |
download | binutils-e6f5c25b57546cbd88daccea4f1739c3f90f7560.zip binutils-e6f5c25b57546cbd88daccea4f1739c3f90f7560.tar.gz binutils-e6f5c25b57546cbd88daccea4f1739c3f90f7560.tar.bz2 |
wait_for_inferior and errors thrown from target_wait
Noticed that if an error is thrown out of target_wait, we miss running
finish_thread_state_cleanup.
Tested on x86_64 Fedora 20, with "maint set target-async off".
gdb/ChangeLog:
2015-04-01 Pedro Alves <palves@redhat.com>
* infrun.c (wait_for_inferior): Install the
finish_thread_state_cleanup cleanup across the whole function, not
just around handle_inferior_event.
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions