[ECOS] Cannot run Insight, i386 target

Oleg Ostrozhansky oleg@olegos.com
Thu Oct 2 23:58:00 GMT 2003


Hello All,

I'm trying to debug a simple eCos application with Insight.  The problem
is that Insight's GUI is not coming up, and all I'm getting is the gdb
command line.

My target is Intel 386, host is Windows 2000.  I have the latest Cygwin,
i386 toolchain, and eCos (see below).

Everything I've read (including the latest Insight's README,
http://sources.redhat.com/insight/README) suggests that Insight is
supposed to come up automatically when running gdb.  Somehow this does
not work on my system, even with native gdb (/usr/bin/gdb) -- I just
get a gdb command line.  But I discovered that I can run "insight"
(/usr/bin/insight) to debug programs compiled with gcc for Windows.
I've seen references to i386-elf-insight, which it sounds like I should
likewise run for my cross debugging.  The problem is, there isn't one
in gnutools/i386-elf/bin (and I downloaded it again today, just to be
sure -- using ftp://sources.redhat.com/pub/ecos/ecos-install.tcl, as
instructed in http://sources.redhat.com/ecos/getstart.html).

So: how do I get i386-elf-insight, or make /usr/bin/insight use
i386-elf-gdb?

My versions:

$ uname -a
CYGWIN_NT-5.0 oleg 1.5.4(0.94/3/2) 2003-09-12 23:08 i686 unknown unknown Cygwin

$ /usr/bin/gdb --version
GNU gdb 2003-09-02-cvs (cygwin-special)
...
This GDB was configured as "i686-pc-cygwin".

$ i386-elf-gdb --version
GNU gdb 5.3 (eCosCentric)
...
This GDB was configured as "--host=i686-pc-cygwin --target=i386-elf".

$ /usr/bin/insight --version
GNU gdb 2003-09-02-cvs (cygwin-special)
...
This GDB was configured as "i686-pc-cygwin".

In /usr/bin/insight, Help -> About GDB shows the above (GNU gdb
2003-09-02-cvs).


Thank you!

   Oleg


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list