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:	tromey@sourceware.org	2013-08-14 18:15:48

Modified files:
	gdb            : ChangeLog remote.c 

Log message:
	move sizeof_pkt into remote_trace_find
	
	The global sizeof_pkt is only used in remote_trace_find, like so:
	
	reply = remote_get_noisy_reply (&(rs->buf), &sizeof_pkt);
	
	I think in this situation it is more correct to use the recorded size
	of the buffer.  Otherwise it seems that some skew could result.
	
	* remote.c (sizeof_pkt): Remove.
	(remote_trace_find): Use rs->buf_size, not sizeof_pkt.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15902&r2=1.15903
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/remote.c.diff?cvsroot=src&r1=1.572&r2=1.573


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