
26 Apr
2013
26 Apr
'13
9:05 a.m.
Dear zhenhuan,
Please follow the nteiquette: do not top post / full quote!! If you need help, please see http://www.netmeister.org/news/learn2quote.html
In message 517A05CC.60003@163.com you wrote:
Where should I define the macro to enable debug() function definition? Is there a place in makefile or head file?
Enable it (either on the compile command line or as a #define which must go _before_ the first #include) for/in the files for which you want to see debug information.
Note: it is usually not a good idea to enable it globally.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
If a packet hits a pocket on a socket on a port,
And the bus is interrupted as a very last resort,
And the address of the memory makes your floppy disk abort,
Then the socket packet pocket has an error to report! - Ken Burchill?