src/gdb ChangeLog coff-pe-read.c

palves@sourceware.org palves@sourceware.org
Fri Apr 19 15:33:00 GMT 2013


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

Modified files:
	gdb            : ChangeLog coff-pe-read.c 

Log message:
	-Wpointer-sign: coff-pe-read.c: treat strings in PE/COFF data as char *.
	
	A couple places take a pointer to the middle of some raw section
	buffer and treat them as strings.  Add casts to char * as appropriate,
	fixing -Wpointer-sign warnings.
	
	gdb/
	2013-04-19  Pedro Alves  <palves@redhat.com>
	
	* coff-pe-read.c (read_pe_exported_syms): Handle strings as char.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15450&r2=1.15451
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/coff-pe-read.c.diff?cvsroot=src&r1=1.28&r2=1.29



More information about the Gdb-cvs mailing list