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-lex.l


CVSROOT:	/cvs/src
Module name:	src
Changes by:	brobecke@sourceware.org	2012-02-29 19:53:16

Modified files:
	gdb            : ChangeLog ada-lex.l 

Log message:
	[Ada] processId: Do not modify already encoded IDs
	
	The processID function is supposed to take a symbol name, and process it
	in a way that allows us to look that symbol up.  This patch is adding
	a guard to make sure that we do not apply any transformation if we detect
	that we are given an already-encoded symbol name.  For instance:
	
	gv___XR_pck__global_variable___XE
	
	This happens in the case where we are trying to print the value of
	a renaming. To do this, we simply parse and evaluate the XR symbol
	name as an expression. Without this change, the expression parser
	transforms gv___XR_pck__global_variable___XE into somethink like
	gv___xr_pck__global_variable___xe, which then screws up the rest
	of the renaming evaluation.
	
	gdb/ChangeLog:
	
	* ada-lex.p (processId): Do not modify already encoded IDs.
	Update function documentation.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13890&r2=1.13891
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ada-lex.l.diff?cvsroot=src&r1=1.31&r2=1.32


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