This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Multiple ethernet interfaces and GDB
- From: Gary Thomas <gary at mlbassoc dot com>
- To: bob dot koninckx at fmtc dot be
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 04 Mar 2005 09:02:19 -0700
- Subject: Re: [ECOS] Multiple ethernet interfaces and GDB
- Organization: MLB Associates
- References: <1109951860.8490.15.camel@server01.labo01.fmtc.be>
On Fri, 2005-03-04 at 16:57 +0100, Bob Koninckx wrote:
> 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 :-(
Is this happening in your application?
RedBoot happily works with just the first interface and then
this happens?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss