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 record.c


CVSROOT:	/cvs/src
Module name:	src
Changes by:	palves@sourceware.org	2013-04-19 15:37:31

Modified files:
	gdb            : ChangeLog record.c 

Log message:
	-Wpointer-sign: record.c.
	
	../../src/gdb/record.c: In function âset_record_insn_history_sizeâ:
	../../src/gdb/record.c:670:5: error: pointer targets in passing argument 2 of âvalidate_history_sizeâ differ in signedness [-Werror=pointer-sign]
	../../src/gdb/record.c:646:1: note: expected âint *â but argument is of type âunsigned int *â
	../../src/gdb/record.c: In function âset_record_call_history_sizeâ:
	../../src/gdb/record.c:682:5: error: pointer targets in passing argument 2 of âvalidate_history_sizeâ differ in signedness [-Werror=pointer-sign]
	../../src/gdb/record.c:646:1: note: expected âint *â but argument is of type âunsigned int *â
	
	This fixes it in the obvious way.
	
	gdb/
	2013-04-19  Pedro Alves  <palves@redhat.com>
	
	* record.c (validate_history_size): Make parameter 'setting'
	unsigned.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15457&r2=1.15458
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/record.c.diff?cvsroot=src&r1=1.86&r2=1.87


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