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 mi/mi-cmd-stack.c


CVSROOT:	/cvs/src
Module name:	src
Changes by:	tromey@sourceware.org	2013-05-30 17:35:40

Modified files:
	gdb            : ChangeLog 
	gdb/mi         : mi-cmd-stack.c 

Log message:
	fix mi-cmd-stack.c
	
	mi-cmd-stack.d had a conditional cleanup, "cleanup_tuple" that
	confused the checker.  However, there was no need for this, since it
	was only used via do_cleanups at the end of the function, just before
	another call to do_cleanups.
	
	So, while this is a stylistic patch for the checker, I also consider
	it a generic improvement for readers of the code.
	
	* mi/mi-cmd-stack.c (list_arg_or_local): Remove
	"cleanup_tuple".

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15668&r2=1.15669
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-cmd-stack.c.diff?cvsroot=src&r1=1.68&r2=1.69


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