Mercurial > ecos
diff packages/hal/arm/arch/current/include/arm_stub.h @ 82:6736c52df507 ecos-sw-2000-04-14
Merge from eCos master repository on 2000-04-14-13:35:46-BST
| author | jlarmour |
|---|---|
| date | Tue, 18 Apr 2000 21:51:55 +0000 |
| parents | 59d97b6ba612 |
| children | 02ea4320376c |
line wrap: on
line diff
--- a/packages/hal/arm/arch/current/include/arm_stub.h +++ b/packages/hal/arm/arch/current/include/arm_stub.h @@ -109,6 +109,10 @@ extern void __clear_breakpoints (void); //------------------------------------------------------------------------ // Special definition of CYG_HAL_GDB_ENTER_CRITICAL_IO_REGION + +#ifdef CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT +// we can only do this at all if break support is enabled: + #ifdef __thumb__ // If this macro is used from Thumb code, we need to pass this information // along to the place_break function so it can do the right thing. @@ -126,8 +130,8 @@ do { cyg_hal_gdb_place_break((target_register_t)&&cyg_hal_gdb_break_place ); \ } while ( 0 ) -#endif - +#endif // __thumb_ +#endif // CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT #ifdef __cplusplus
