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 remote-sim.c


CVSROOT:	/cvs/src
Module name:	src
Changes by:	vapier@sourceware.org	2012-02-16 18:30:43

Modified files:
	gdb            : ChangeLog remote-sim.c 

Log message:
	gdb: sim: check return value of sim_create_inferior
	
	The current gdbsim_create_inferior func doesn't check the return value
	of sim_create_inferior which can be problematic when that func doesn't
	return success.  So, if it fails, call error() and be done.
	
	Reported-by: Richard Stuckey <richard.stuckey@arc.com>
	Signed-off-by: Mike Frysinger <vapier@gentoo.org>

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13836&r2=1.13837
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/remote-sim.c.diff?cvsroot=src&r1=1.104&r2=1.105


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