src/gdb ChangeLog ser-tcp.c

palves@sourceware.org palves@sourceware.org
Thu Mar 7 17:36:00 GMT 2013


CVSROOT:	/cvs/src
Module name:	src
Changes by:	palves@sourceware.org	2013-03-07 17:36:26

Modified files:
	gdb            : ChangeLog ser-tcp.c 

Log message:
	ser-tcp.c:tcp_retry_limit: Change type to unsigned int.
	
	tcp_retry_limit is installed as variable of an unsigned command:
	
	add_setshow_uinteger_cmd ("connect-timeout", class_obscure,
	&tcp_retry_limit, _("\
	
	and I found no uses of the variable treating it as signed (like < 0
	checks or some such).
	
	2013-03-07  Pedro Alves  <palves@redhat.com>
	
	* ser-tcp.c (tcp_retry_limit): Change type to unsigned int.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15214&r2=1.15215
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ser-tcp.c.diff?cvsroot=src&r1=1.42&r2=1.43



More information about the Gdb-cvs mailing list