diff packages/hal/common/current/include/pkgconf/hal.h @ 54:f10165814f1e ecos-sw-1999-11-19

Merge from eCos master repository on 1999-11-19-22:24:39-GMT
author jlarmour
date Fri, 19 Nov 1999 23:37:56 +0000
parents e7ba79f6d3a8
children 755351606154
line wrap: on
line diff
--- a/packages/hal/common/current/include/pkgconf/hal.h
+++ b/packages/hal/common/current/include/pkgconf/hal.h
@@ -109,8 +109,25 @@
          code can be eliminated."
  }
 
+ cdl_option CYGDBG_HAL_DIAG_DISABLE_GDB_PROTOCOL {
+     display    "Disable GDB protocol for diagnostic output"
+     parent     CYGPKG_HAL
+     description "
+         This option forces diagnostic output to not use the GDB
+         protocol.  Most programs will use the GDB protocol for
+         diagnostic I/O because of the environment.  This option
+         allows for an explicit override in these cases."
+ }
+
  }}CFG_DATA */
 #define CYGFUN_HAL_COMMON_KERNEL_SUPPORT
+#undef  CYGDBG_HAL_DIAG_DISABLE_GDB_PROTOCOL
+
+#ifdef CYGDBG_HAL_DIAG_DISABLE_GDB_PROTOCOL
+#if !defined(CYGPKG_HAL_ARM)
+#err GDB protocol cannot be explicitly disabled for this platform.
+#endif
+#endif
 
 /* {{CFG_DATA