From: Mike Frysinger Date: Mon, 6 Apr 2009 02:31:09 -0400 Subject: [U-Boot] [PATCH] debug_print macros support In-Reply-To: <73173D32E9439E4ABB5151606C3E19E2508402D4@SC-VEXCH1.marvell.com> References: <73173D32E9439E4ABB5151606C3E19E2508402D4@SC-VEXCH1.marvell.com> Message-ID: <200904060231.11183.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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