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 ChangeLog remote.c


CVSROOT:	/cvs/src
Module name:	src
Changes by:	philippe@sourceware.org	2012-02-03 22:52:34

Modified files:
	gdb            : ChangeLog remote.c 

Log message:
	The remote stub can implement monitor commands which are not
	known by gdb. Such monitor commands can take a long time
	to execute. An example of this is the "leak_search" monitor
	command implemented in the Valgrind gdbserver.
	
	Currently, gdb will timeout on such a monitor command.
	The remote stub however will continue to execute the
	command and send the output later. Gdb and the remote
	stub can then be desynchronised : gdb sends a packet,
	and the reply read from the stub is a previous packet.
	
	The change committed uses getpkt_sane to detect a timeout.
	In this case, it continues the loop.
	A QUIT; is inserted in the loop to allow the user
	to stop handling the current command. possibly
	still creating a desynchronisation between gdb and the stub
	but that will be upon user request.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13806&r2=1.13807
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/remote.c.diff?cvsroot=src&r1=1.481&r2=1.482


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