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 dwarf2-frame.c


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

Modified files:
	gdb            : ChangeLog dwarf2-frame.c 

Log message:
	-Wpointer-sign: dwarf2-frame.c: Pass unsigned variable to safe_read_uleb128.
	
	The 'bytes_read' change should be obvious.  As for the other hunk,
	we're passing the address of the signed 'offset' to safe_read_uleb128,
	which expects unsigned.  Fix it by passing the address of the unsigned
	'utmp' instead, like already done on other spots in the file.
	
	gdb/
	2013-04-19  Pedro Alves  <palves@redhat.com>
	
	* dwarf2-frame.c (execute_cfa_program): Make 'bytes_read' local
	unsigned.  Pass 'tmp' to safe_read_uleb128 instead of the signed
	'offset', and adjust.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15453&r2=1.15454
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2-frame.c.diff?cvsroot=src&r1=1.144&r2=1.145


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