This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog infrun.c
- From: jkratoch at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 17 Sep 2008 21:48:49 -0000
- Subject: src/gdb ChangeLog infrun.c
CVSROOT: /cvs/src
Module name: src
Changes by: jkratoch@sourceware.org 2008-09-17 21:48:49
Modified files:
gdb : ChangeLog infrun.c
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.9825&r2=1.9826
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/infrun.c.diff?cvsroot=src&r1=1.318&r2=1.319