This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/gdb/gdbserver ChangeLog lynx-low.c


CVSROOT:	/cvs/src
Module name:	src
Changes by:	brobecke@sourceware.org	2013-01-07 11:39:00

Modified files:
	gdb/gdbserver  : ChangeLog lynx-low.c 

Log message:
	LynxOS: Resume the same thread when receiving a thread create/exit event.
	
	Before this patch, the ptid passed to lynx_resume was completely
	ignored, and we used the current_inferior. This resulted in trying
	to resume the inferior execution using the wrong ptid after having
	received a thread create/exit event, because the inferior_ptid
	was still set to the ptid prior to receiving the signal.
	
	gdb/gdbserver/ChangeLog:
	
	* lynx-low.c (lynx_resume): Use the resume_info parameter
	to determine the ptid for the lynx_ptrace call, unless
	it is equal to minus_one_ptid, in which case we use the
	ptid of the current_inferior.
	(lynx_wait_1): After having received a thread create/exit
	event, resume the inferior's execution using the signaling
	thread's ptid, rather than the old ptid.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/ChangeLog.diff?cvsroot=src&r1=1.662&r2=1.663
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/lynx-low.c.diff?cvsroot=src&r1=1.15&r2=1.16


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]