diff -r c04951f2b777 net/lwip_tcpip/current/src/ecos/sequential.c --- a/net/lwip_tcpip/current/src/ecos/sequential.c Fri Aug 21 20:43:16 2009 +0300 +++ b/net/lwip_tcpip/current/src/ecos/sequential.c Mon Aug 24 17:27:13 2009 +0300 @@ -75,6 +75,10 @@ #include #include +#ifdef CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT +#include // HAL_CTRLC_CHECK +#endif + #ifdef CYGPKG_LWIP_ETH #include #include @@ -227,7 +231,7 @@ #endif sc->state &= ~ETH_DRV_NEEDS_DELIVERY; #if defined(CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT) - was_ctrlc_int = HAL_CTRLC_CHECK(*sc->funs->int_vector(sc), + was_ctrlc_int = HAL_CTRLC_CHECK(sc->funs->int_vector(sc), (int) sc); if (!was_ctrlc_int) // Fall through and run normal code #endif diff -r c04951f2b777 net/lwip_tcpip/current/src/ecos/simple.c --- a/net/lwip_tcpip/current/src/ecos/simple.c Fri Aug 21 20:43:16 2009 +0300 +++ b/net/lwip_tcpip/current/src/ecos/simple.c Mon Aug 24 17:27:13 2009 +0300 @@ -76,6 +76,10 @@ #include #include +#ifdef CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT +#include // HAL_CTRLC_CHECK +#endif + #ifdef CYGPKG_LWIP_ETH #include #include @@ -291,7 +295,7 @@ #endif sc->state &= ~ETH_DRV_NEEDS_DELIVERY; #if defined(CYGDBG_HAL_DEBUG_GDB_CTRLC_SUPPORT) - was_ctrlc_int = HAL_CTRLC_CHECK(*sc->funs->int_vector(sc), + was_ctrlc_int = HAL_CTRLC_CHECK(sc->funs->int_vector(sc), (int) sc); if (!was_ctrlc_int) // Fall through and run normal code #endif