Elmer Joandi wrote: > > Now if there would be simple _unified_ system for switching debug code > on/off, it would be a real win. That recompilation-capable enduser would > not need much knowledge to go "General Setup" or newly created > "Optimization" section and switch debugging off/on for _all_ network > drivers or ide drivers for example. Reminds me ... <linux/kernel.h> has a "#if DEBUG" statement that blows up if the debug code does something like "#define DEBUG(X...) printk(X...)". I came across this recently (think I was debugging PCI code ... not sure). Changing it to "#ifdef DEBUG" avoids problems. -- Andrew E. Mileski - Software Engineer Rebel.com http://www.rebel.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: Universal debug macros. Chmouel Boudjnah
- Re: Universal debug macros. H. Peter Anvin
- Re: Universal debug macros. Chmouel Boudjnah
- Re: Universal debug macros. H. Peter Anvin
- Re: Universal debug macros. Gerhard Mack
- Re: Universal debug macros. Rogier Wolff
- Re: Universal debug macros. Elmer Joandi
- Re: Universal debug macros. Rogier Wolff
- Re: Universal debug macros. Elmer Joandi
- Re: Universal debug macros. Peter Samuelson
- Re: Universal debug macros. Andrew E. Mileski
- Re: Universal debug macros. Richard B. Johnson
- Re: Universal debug macros. Andrew E. Mileski
- Re: Universal debug macros. Richard B. Johnson
- Re: Universal debug macros. Andrew E. Mileski
- Re: [PATCH] removal of "static foo = 0" Adam J. Richter
- Re: [PATCH] removal of "static foo = 0" Werner Almesberger
- Re: [PATCH] removal of "static foo = 0&qu... David S. Miller
- Re: [PATCH] removal of "static foo = ... Werner Almesberger
- Re: [PATCH] removal of "static foo = ... Andrea Arcangeli
- Re: [PATCH] removal of "static fo... Michael Meissner