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

Re: [PATCH] sim: avoid TRACE redefine warnings


On Sunday 14 March 2010 20:35:38 Joel Brobecker wrote:
> > 2010-03-14  Mike Frysinger  <vapier@gentoo.org>
> > 
> > 	* hw-ports.c (TRACE): Delete.
> > 	* hw-properties.c (TRACE): Rename to _TRACE.
> 
> The change in hw-ports.c is OK, but I don't get the change in
> 
> hw-properties.c:
> > -#define TRACE(A,B)
> > +#define _TRACE(A,B)
> 
> Can you explain?

as i mentioned in the first e-mail, "TRACE" is defined on the command line, so 
any macro named "TRACE" has to be renamed.  since this file actually used the 
macro, i renamed them all.  i could simply delete all TRACE usage in the file 
if you prefer ... doesnt really matter to me.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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