Index: eth_drv.c =================================================================== RCS file: /cvs/ecos/ecos/packages/io/eth/current/src/net/eth_drv.c,v retrieving revision 1.30 diff -u -r1.30 eth_drv.c --- eth_drv.c 5 Jan 2004 21:58:28 -0000 1.30 +++ eth_drv.c 2 Nov 2004 10:01:34 -0000 @@ -998,6 +998,8 @@ } // This is called from the delivery thread, to do just that: +extern cyg_bool cyg_hal_user_break_from_thread; + void eth_drv_run_deliveries( void ) { cyg_netdevtab_entry_t *t; @@ -1009,7 +1011,9 @@ #endif sc->state &=~ETH_DRV_NEEDS_DELIVERY; #if defined(CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT) + cyg_hal_user_break_from_thread = true; was_ctrlc_int = HAL_CTRLC_CHECK((*sc->funs->int_vector)(sc), (int)sc); + cyg_hal_user_break_from_thread = false; if (!was_ctrlc_int) // Fall through and run normal code #endif (*sc->funs->deliver)(sc);