src/gdb ChangeLog linespec.c

brobecke@sourceware.org brobecke@sourceware.org
Wed Dec 21 07:24:00 GMT 2011


CVSROOT:	/cvs/src
Module name:	src
Changes by:	brobecke@sourceware.org	2011-12-21 07:24:40

Modified files:
	gdb            : ChangeLog linespec.c 

Log message:
	Add handling for unqualified Ada operators in linespecs
	
	This patch enhances the linespec parser to recognize unqualified
	operator names in linespecs. This allows the user to insert a breakpoint
	on operator "+" as follow, for instance:
	
	(gdb) break "+"
	
	Previously, it was possible to insert such a breakpoint, but one
	had to fully qualify the function name. For instance:
	
	(gdb) break ops."+"
	
	gdb/ChangeLog:
	
	* linespec.c (locate_first_half): Add handling of Ada operators
	when the current language is Ada.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13653&r2=1.13654
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/linespec.c.diff?cvsroot=src&r1=1.137&r2=1.138



More information about the Gdb-cvs mailing list