This is the mail archive of the gdb-prs@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]

macros/2564


The following reply was made to PR macros/2564; it has been noted by GNATS.

From: tromey@sourceware.org
To: gdb-gnats@sourceware.org
Cc:  
Subject: macros/2564
Date: 11 Dec 2008 18:30:28 -0000

 CVSROOT:	/cvs/src
 Module name:	src
 Changes by:	tromey@sourceware.org	2008-12-11 18:30:28
 
 Modified files:
 	gdb            : ChangeLog c-exp.y c-lang.c c-lang.h 
 	gdb/testsuite  : ChangeLog 
 	gdb/testsuite/gdb.base: macscp.exp macscp1.c 
 
 Log message:
 	gdb
 	PR macros/2564:
 	* c-exp.y (macro_original_text, expansion_obstack,
 	expression_macro_scope): New globals.
 	(scan_macro_expansion): New function.
 	(scanning_macro_expansion): Likewise.
 	(finished_macro_expansion): Likewise.
 	(scan_macro_cleanup): Likewise.
 	(c_parse): Find macro scope.  Initialize obstack.
 	* c-lang.h (scan_macro_expansion, scanning_macro_expansion,
 	finished_macro_expansion, expression_macro_lookup_func,
 	expression_macro_lookup_baton): Remove.
 	* c-lang.c (scan_macro_expansion, scanning_macro_expansion,
 	finished_macro_expansion, expression_macro_lookup_func,
 	expression_macro_lookup_baton): Remove.
 	(macro_original_text, macro_expanded_text,
 	c_preprocess_and_parse): Remove.
 	(c_language_defn, cplus_language_defn, asm_language_defn,
 	minimal_language_defn): Use c_parse.
 	gdb/testsuite
 	* gdb.base/macscp.exp: Print "address.addr".
 	* gdb.base/macscp1.c (struct outer): New struct.
 	(address): New global.
 
 Patches:
 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.10027&r2=1.10028
 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/c-exp.y.diff?cvsroot=src&r1=1.49&r2=1.50
 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/c-lang.c.diff?cvsroot=src&r1=1.58&r2=1.59
 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/c-lang.h.diff?cvsroot=src&r1=1.20&r2=1.21
 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1770&r2=1.1771
 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/macscp.exp.diff?cvsroot=src&r1=1.16&r2=1.17
 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/macscp1.c.diff?cvsroot=src&r1=1.4&r2=1.5
 


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