[U-Boot] [PATCH] debug_print macros support

Prafulla Wadaskar prafulla at marvell.com
Mon Apr 6 08:43:36 CEST 2009


 

> -----Original Message-----
> From: Mike Frysinger [mailto:vapier at gentoo.org] 
> Sent: Monday, April 06, 2009 12:01 PM
> To: u-boot at lists.denx.de
> Cc: Prafulla Wadaskar; Wolfgang Denk; Ronen Shitrit
> Subject: Re: [U-Boot] [PATCH] debug_print macros support
> 
> On Monday 06 April 2009 01:32:30 Prafulla Wadaskar wrote:
> > If I understood current u-boot debugging properly, the debug 
> > statements are enabled by editing src file by adding 
> "#define DEBUG" 
> > Doing this the release contents will be tampered, this may not be 
> > relevant from development point of view.
> > But the same release will be used by validation/testing/QA 
> guys and to 
> > debug anything out of released contents, no one would like 
> to tamper 
> > the source code subject to condition proper debugging 
> strategy is in place.
> 
> not really true ... you can do:
> make DBGFLAGS=-DDEBUG
> 
> but that will probably enable debug() statements in a lot of 
> things you dont care about ...
Even this can be resolved by this patch implementation
Regards..
Prafulla . .

> 
> i dont really have an opinion on the idea in general -mike
> 


More information about the U-Boot mailing list