diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-09-17 21:48:49 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-09-17 21:48:49 +0000 |
commit | 88ed393a46c5216e25997cb873e1ebef32cb511f (patch) | |
tree | 635847b897b73c3f30c5dabb84099c3342a1f29a /gdb/cp-support.c | |
parent | 2a7b2e88e38cbd83225e9c3b28a990de56dccef7 (diff) | |
download | gdb-88ed393a46c5216e25997cb873e1ebef32cb511f.zip gdb-88ed393a46c5216e25997cb873e1ebef32cb511f.tar.gz gdb-88ed393a46c5216e25997cb873e1ebef32cb511f.tar.bz2 |
Fix a crash on uninitialized ECS->EVENT_THREAD for a newly found thread.
* infrun.c (wait_for_inferior): Move this ECS->EVENT_THREAD
initialization ...
(fetch_inferior_event): ... and this ECS->EVENT_THREAD initialization
...
(handle_inferior_event): ... here after the add_thread call together
with the local adjust_pc_after_break and reinit_frame_cache calls.
Diffstat (limited to 'gdb/cp-support.c')
0 files changed, 0 insertions, 0 deletions