diff packages/hal/arm/arch/current/src/vectors.S @ 112:02ea4320376c ecos-sw-2000-07-21

Merge from eCos master repository on 2000-07-21-21:01:39-BST
author jlarmour
date Fri, 21 Jul 2000 21:34:11 +0000
parents 84e4bde58b26
children 0ae0bc38e387
line wrap: on
line diff
--- a/packages/hal/arm/arch/current/src/vectors.S
+++ b/packages/hal/arm/arch/current/src/vectors.S
@@ -387,13 +387,17 @@ 2:
         ldr     r2,[r1,#0x24]   
         str     r2,[r0,#0x24]
 #endif
-        
+
+	// FIXME: The line with the thumb check is a hack, allowing
+	// the farm to run test. Problem is that virtual vector table
+	// API needs to be ARM/Thumb consistent. Will fix later.
+#if !defined(__thumb__) || defined(CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS)
 #if defined(CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT) \
     || defined(CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT)
         .extern hal_ctrlc_isr_init
         bl      hal_ctrlc_isr_init
 #endif
-
+#endif
         LED 2
         
         // Run through static constructors