This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ICE, ecos and Insight
- To: npyatkov at usa dot net
- Subject: Re: [ECOS] ICE, ecos and Insight
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 25 Jan 2001 17:31:08 +0000
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <20010125155313.17075.qmail@wwcst270.netaddress.usa.net>
npyatkov@usa.net wrote:
>
> Hi
> I wrote a server to support an HP ICE under Insight. Everything looks fine. I
> can download code into the target, walk through source code, read, modify and
> write memory and registers, view the stack. The only problem is Insight
> doesn'tshow any theads information.
> The same Insight binary set to 'remote serial' and talking to GDB stubs does
> it.
> Any ideas?
Yes. You have to provide some means for the ICE to retrieve the thread
status from eCos. Probably the best way is to add a vector to do this on
the eCos side, and when the ICE gets requested for thread information, it
will set the target to that vector and start running. The target can gather
the information using calls into GDB stub code and put it in a buffer which
the ICE can retrieve.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Un cheval, pas du glue. Pas du cheval, beaucoup du glue. || Opinions==mine