public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Again: No GUI with ARM AEB-1
@ 2000-03-03  2:23 Wilzon L
  2000-03-03  7:28 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Wilzon L @ 2000-03-03  2:23 UTC (permalink / raw)
  To: insight

Hello,

I wrote yesterday about my problem getting insight
GUI based gdb to work with ARM-EvBoard AEB-1.

Background:
OS: Red-Hat-Linux 6.1 (Full install)
First I downloaded ecos (ecosSWtools-arm-990321-src.tar.gz)and
extracted and built it successfully.
Finally I extracted the ecos-1.2.1.tar.gz.
I downloaded the GDB-stub onto the AEB-1 and installed
it on the FLASH.
Now if I use $arm-elf-gdb -nw hello (hello.c is in the
examples dir of eCos)
everything works fine, but from now on I would
like to activate the Insight-GUI for GDB.
Ok, so I downloaded insight-20000204.tar.bz2 and
from /tmp/insight-20000204 I invoked ./configure
and then 'make install' which put some binaries
into /usr/local/bin

Here I must say I'm a little bit confused because on my system
there must be 3 different GDB:s. Namely:
1. arm-elf-gdb
2. gdb (v4.18) (native?)
3. gdb (insight with GUI)

Using $/usr/local/bin/gdb with binaries built with
arm-elf-gcc gives some output about not compatible
with i686-pc-linux-gnu.

The 'Getting Started With eCos' chap 13 has a small note
about the '-nw' option saying that without it insight-GUI
would be invoked. Well it doesn't. How could it? The
insight-20000204.tar.bz2 hasn't been built for ARM AEB-1.
So finally my question is: How do I make the Insight-gdb
work with 'ARM AEB-1' ?

Thanks everyone who takes interest in this matter.
Sincerely Wilzon.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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

* Re: Again: No GUI with ARM AEB-1
  2000-03-03  2:23 Again: No GUI with ARM AEB-1 Wilzon L
@ 2000-03-03  7:28 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2000-03-03  7:28 UTC (permalink / raw)
  To: Wilzon L; +Cc: insight

Wilzon L wrote:
> 
> Background:
> OS: Red-Hat-Linux 6.1 (Full install)
> First I downloaded ecos (ecosSWtools-arm-990321-src.tar.gz)and
> extracted and built it successfully.
> Finally I extracted the ecos-1.2.1.tar.gz.
> I downloaded the GDB-stub onto the AEB-1 and installed
> it on the FLASH.
> Now if I use $arm-elf-gdb -nw hello (hello.c is in the
> examples dir of eCos)
> everything works fine, but from now on I would
> like to activate the Insight-GUI for GDB.

One little question: is insight in your ecos executable? What happens
when you omit the "-nw" parameter? ("nw" == "n"o "w"indows, aka, no
Insight)

> Ok, so I downloaded insight-20000204.tar.bz2 and
> from /tmp/insight-20000204 I invoked ./configure
> and then 'make install' which put some binaries
> into /usr/local/bin

I just sent you a note about how to rebuild the snapshot based on your
target. When you use just "./configure", you are implicitly telling the
sources to rebuild themselves for your host (linux). You want to add the
"--target=arm-elf" flag to configure to tell the sources that you want
an arm-elf debugger running on linux.

> 
> Here I must say I'm a little bit confused because on my system
> there must be 3 different GDB:s. Namely:
> 1. arm-elf-gdb

Probably your eCos gdb (which may not have Insight in it).

> 2. gdb (v4.18) (native?)
Yes, this is your native gdb that came with RedHat 6.1. It is installed
in /usr/bin. It does not contain Insight.

> 3. gdb (insight with GUI)
The one you just built from the snapshot.

> Using $/usr/local/bin/gdb with binaries built with
> arm-elf-gcc gives some output about not compatible
> with i686-pc-linux-gnu.

Right: you built a linux debugger, not an arm-elf debugger which runs on
linux hosts.

> The 'Getting Started With eCos' chap 13 has a small note
> about the '-nw' option saying that without it insight-GUI
> would be invoked. Well it doesn't. How could it? The
> insight-20000204.tar.bz2 hasn't been built for ARM AEB-1.
> So finally my question is: How do I make the Insight-gdb
> work with 'ARM AEB-1' ?

Cygnus (now RedHat) has a URL which describes the procedure:
http://www.redhat.com/support/manuals/gnupro99r1/1_GS/reb.html

Keith
-- 
Why chat when you can Firetalk?
Firetalk ID: Keith (10320)
www.firetalk.com

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

end of thread, other threads:[~2000-03-03  7:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-03  2:23 Again: No GUI with ARM AEB-1 Wilzon L
2000-03-03  7:28 ` Keith Seitz

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).