public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Cannot run Insight, i386 target
@ 2003-10-02 23:58 Oleg Ostrozhansky
  2003-10-03  7:21 ` Satish Kumar
  0 siblings, 1 reply; 2+ messages in thread
From: Oleg Ostrozhansky @ 2003-10-02 23:58 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] Cannot run Insight, i386 target
  2003-10-02 23:58 [ECOS] Cannot run Insight, i386 target Oleg Ostrozhansky
@ 2003-10-03  7:21 ` Satish Kumar
  0 siblings, 0 replies; 2+ messages in thread
From: Satish Kumar @ 2003-10-03  7:21 UTC (permalink / raw)
  To: Oleg Ostrozhansky; +Cc: ecos-discuss

yes, i too didn`t find arm-elf-insight.exe in the  arm gnu tools which i
had downloaded for my job, hence i had to build the GNU tool to support
the arm-elf-insight which is a GUI based debugger.
so, i guess ur only option now, is to download all the gnu tool
package and build the i386 gnu tools on ur windows/linux..if u want the
GUI based debugger.

satish




On Thu, 2 Oct 2003 18:58:34 -0500
Oleg Ostrozhansky <oleg@olegos.com> wrote:

> 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

-- 
Satish Kumar <satish@bvt.sc.sanyo.co.jp>


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-03  7:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-02 23:58 [ECOS] Cannot run Insight, i386 target Oleg Ostrozhansky
2003-10-03  7:21 ` Satish Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).