This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ICE, ecos and Insight


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]