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 python/py-utils.c python/pyt ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	palves@sourceware.org	2013-03-06 19:51:18

Modified files:
	gdb            : ChangeLog 
	gdb/python     : py-utils.c python-internal.h 

Log message:
	Garbage collect py-utils.c:target_string_to_unicode.
	
	The strlen in this function looked suspicious, for the function
	documents that STR is in the target's charset (what if it is utf-32,
	etc.).
	
	On closer inspection, nothing is calling the function, and it's been
	that way ever since the function was added.
	
	gdb/
	2013-03-06  Pedro Alves  <palves@redhat.com>
	
	* python/py-utils.c (target_string_to_unicode): Delete function.
	* python/python-internal.h (target_string_to_unicode): Delete
	declaration.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15209&r2=1.15210
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-utils.c.diff?cvsroot=src&r1=1.15&r2=1.16
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/python-internal.h.diff?cvsroot=src&r1=1.62&r2=1.63


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