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-full.c reverse.c


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

Modified files:
	gdb            : ChangeLog record-full.c reverse.c 

Log message:
	-Wpointer-sign: bookmarks.
	
	Bookmarks are opaque to the core code -- by design, the target is free
	to use any sort of blob as bookmark identifier.
	
	The record target chooses to use strings for bookmarks.  This adds
	casts following that direction, fixing -Wpointer-sign warnings.
	
	gdb/
	2013-04-19  Pedro Alves  <palves@redhat.com>
	
	* record-full.c (record_full_get_bookmark): Change local 'ret'
	type to char * and add cast to gdb_byte *.
	(record_full_goto_bookmark): Handle 'bookmark' argument as a
	string.
	* reverse.c (goto_bookmark_command): Add casts to gdb_byte *.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15449&r2=1.15450
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/record-full.c.diff?cvsroot=src&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/reverse.c.diff?cvsroot=src&r1=1.19&r2=1.20


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