[U-Boot] [PATCH] debug_print macros support

Mike Frysinger vapier at gentoo.org
Mon Apr 6 08:31:09 CEST 2009


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

i dont really have an opinion on the idea in general
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090406/c530368d/attachment.pgp 


More information about the U-Boot mailing list