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


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

Modified files:
	gdb            : ChangeLog ctf.c 

Log message:
	-Wpointer-sign: ctf.c.
	
	ctf_save_write's second parameter is gdb_byte *, and all these
	arguments are 'char *'.  Since this function is ultimately just
	writing host bytes to a local file with fwrite, an alternative would
	be to change ctf_save_write to take a 'void *' instead of 'gdb_byte
	*', thus removing the need for any cast (we have more calls with casts
	than without).
	
	gdb/
	2013-04-19  Pedro Alves  <palves@redhat.com>
	
	* ctf.c (ctf_write_uploaded_tsv, ctf_write_uploaded_tp): Add casts
	to 'gdb_byte *'.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15456&r2=1.15457
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ctf.c.diff?cvsroot=src&r1=1.6&r2=1.7


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