trying to make telnetserver repo public

Fork of EthernetNetIf by Donatien Garnier

Revision:
1:ba68cceb2917
Parent:
0:422060928e37
Child:
4:9cec8b1dcf09
--- a/LPC1768/dbg/dbg.h	Fri Jun 11 16:25:22 2010 +0000
+++ b/LPC1768/dbg/dbg.h	Fri Jun 18 09:20:27 2010 +0000
@@ -39,21 +39,26 @@
 public:
 static void debug(const char* format, ...);
 static void release();
+static void breakPoint(const char* file, int line);
 private:
 
 };
 
 #undef DBG
 #undef DBG_END
+#undef BREAK
 #define DBG DebugStream::debug
 #define DBG_END DebugStream::release
+#define BREAK() DebugStream::breakPoint(__FILE__, __LINE__)
 #endif
 
 #else
 #undef DBG
 #undef DBG_END
+#undef BREAK
 #define DBG(...)
 #define DBG_END()
+#define BREAK()
 #endif
 
 #ifdef __LWIP_DEBUG