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 ada-lang.c


CVSROOT:	/cvs/src
Module name:	src
Changes by:	brobecke@sourceware.org	2012-10-24 18:17:22

Modified files:
	gdb            : ChangeLog ada-lang.c 

Log message:
	[Ada] use lbasename when testing if file is part of Ada runtime.
	
	We use a list of regular expressions to match a symtab filenames
	against the names of the files in the Ada runtime.  These regular
	expressions do assume that the filename is a basename, however.
	So make sure to evaluate these regular expressions against
	the symtab's filename.
	
	Without this patch, we run into problems when the Ada runtime was built
	using a project file (through gprbuild).
	
	gdb/ChangeLog:
	
	* ada-lang.c (is_known_support_routine): Use lbasename when
	matching the symtab's filename against
	known_runtime_file_name_patterns.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14757&r2=1.14758
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ada-lang.c.diff?cvsroot=src&r1=1.378&r2=1.379


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