
6 Apr
2009
6 Apr
'09
8:31 a.m.
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