src/gdb ChangeLog ada-lang.c

brobecke@sourceware.org brobecke@sourceware.org
Sun Dec 11 17:35:00 GMT 2011


CVSROOT:	/cvs/src
Module name:	src
Changes by:	brobecke@sourceware.org	2011-12-11 17:35:35

Modified files:
	gdb            : ChangeLog ada-lang.c 

Log message:
	Ada exception catchpoint support cleanup.
	
	This patch cleans up a bit the way we detect which type of runtime
	the program uses with respect to Ada exceptions. It also removes
	an unnecessary check in ada_exception_sal which is already performed
	by ada_exception_support_info_sniffer.
	
	Some of the changes are preparation work for detecting the situation
	where the Ada runtime is found, but lacking debugging info.
	
	gdb/ChangeLog:
	
	* ada-lang.c (ada_has_this_exception_support): New function,
	extracted out of ada_exception_sal and ada_exception_sal.
	(ada_exception_support_info_sniffer): Simplify by using
	ada_has_this_exception_support.
	(ada_exception_sal): Replace unnecessary checks by assertions.
	Minor simplifications.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13610&r2=1.13611
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ada-lang.c.diff?cvsroot=src&r1=1.319&r2=1.320



More information about the Gdb-cvs mailing list