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


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

Modified files:
	gdb            : ChangeLog dwarf2read.c 

Log message:
	-Wpointer-sign: dwarf2read.c.
	
	This fixes the remaining issues necessary to make the DWARF reader
	-Wpointer-sign clean.  The 'filename' bit should be obvious.
	'constant_pool' holds the contents of an obstack, which are 'char *'.
	gdb_byte would work too, but it'd need more casts elsewhere, so I just
	chose the minimal approach.  Any way would be fine with me.
	
	gdb/
	2013-04-19  Pedro Alves  <palves@redhat.com>
	
	* dwarf2read.c (dwarf2_get_dwz_file): Add cast to const char *.
	(read_index_from_section): Add cast to 'char *'.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15452&r2=1.15453
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2read.c.diff?cvsroot=src&r1=1.785&r2=1.786


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