This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Multiple ethernet interfaces and GDB
- From: Bob Koninckx <bob dot koninckx at fmtc dot be>
- To: ecos-discuss at sources dot redhat dot com
- Date: Fri, 04 Mar 2005 16:57:40 +0100
- Subject: [ECOS] Multiple ethernet interfaces and GDB
- Organization: FMTC
- Reply-to: bob dot koninckx at fmtc dot be
Hi,
I have one PC with two identical ethernet cards. The first one is only
visible to redboot and is to be used for debugging.
The second one is only enabled in the application and should be reserved
_exclusively_ for the application, that is, I do not want redboot to
interfere whatsoever. (We have good reasons _not_ to share an ethernet
interface between redboot and the application)
All goes well until
packages/io/eth/current/src/net/eth_drv.c, line 390
#ifdef CYGSEM_HAL_VIRTUAL_VECTOR_DIAG
FIXME Should not touch this when DATA vectors are not claimed.
Set up interfaces so debug environment can share this device
{
void *dbg = CYGACC_CALL_IF_DBG_DATA();
if (!dbg) {
CYGACC_CALL_IF_DBG_DATA_SET((void *)sc);
}
}
#endif
After this, the card I do not want redboot to touch is now used for
debugging :-(
Any ideas or suggestions on how to work around this?
Thanks,
Bob
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss