aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2008-09-17 21:48:49 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2008-09-17 21:48:49 +0000
commit88ed393a46c5216e25997cb873e1ebef32cb511f (patch)
tree635847b897b73c3f30c5dabb84099c3342a1f29a /gdb/arch-utils.c
parent2a7b2e88e38cbd83225e9c3b28a990de56dccef7 (diff)
downloadgdb-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/arch-utils.c')
0 files changed, 0 insertions, 0 deletions