public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* insight5.3 based on cygwin problem
@ 2003-07-10  7:38 Ryle_Liu
  2003-07-10 15:31 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Ryle_Liu @ 2003-07-10  7:38 UTC (permalink / raw)
  To: insight

Hello all,

I build insight 5.3 on cygwin use following command:

mkdir insight;cd insight
../insight-5.3/configure --target=arm-elf
make
make install

run multi-ice-gdb-server and then arm-elf-insight, target set to
remote/TCP, open a elf file, connect to target, download, at last run
continue command.
some small program seems run nice, but when i run a little bigger program,
and i need switch insight to another program (IE etc.). then the whole
insight disappear!! multi-ice-gdb-server tell me that:

$ multi-ice-gdb-server.exe
GNU Multi-ICE GDB server 1.0


Connected to the Multi-Ice target.

Targeted ARM core: ARM9 0

Target characteristics:
        Hardware?:              YES
        Comms Channel?:         YES
        Endian-ness:            LITTLE
        Single-Step Support:    NO
        Load Size:              32768
        Custom Load?:           NO

No other modules found on debug target.

GDB Server starting on port 9000
Got a connection from Ryle
Not a good vector or eCos not running!
readchar: Got EOF             /* XXX, just this line. */
Closing connection...

yes, i try it many times.if i don't switch insight window, it seems right,
but i need to do some others.

another problem is i can't understand insight menu 'File->Source...'
--Choose GDB command file, what meaning of this?

Thank you in advance.

Yours sincerely,
Ryle Liu


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

* Re: insight5.3 based on cygwin problem
  2003-07-10  7:38 insight5.3 based on cygwin problem Ryle_Liu
@ 2003-07-10 15:31 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2003-07-10 15:31 UTC (permalink / raw)
  To: Ryle_Liu; +Cc: insight

On Thu, 2003-07-10 at 00:33, Ryle_Liu@dlink.com.cn wrote:
> and i need switch insight to another program (IE etc.). then the whole
> insight disappear!! multi-ice-gdb-server tell me that:

This is a well-known and documented bug in 5.2 and 5.3 -- any version of
insight that was released with Tcl/Tk 8.3. The tcl/tk 8.3 merge into
sources.redhat.com was botched, and it never worked properly. If you
need to use 5.3, see the special instructions at
http://sources.redhat.com/insight/cygwin.html on how to revert tcl/tk
8.3 to tcl/tk 8.0.

It sounds, however, that you're just using a remote target, so any
version will do. I *highly* recommend checking out the 6.0 branch (or
getting a snapshot) and testing this new release (which is due
officially in a couple of weeks).

> another problem is i can't understand insight menu 'File->Source...'
> --Choose GDB command file, what meaning of this?

When one asks bash to read in a shell script, one is "sourcing" the
script. The Source... option reads and executes a GDB command script.
For more information on GDB scripting, see the GDB users manual.

If you want to view a different file in your project, enter its name in
the combo box at the top of the source window (or select it, or search
for it in the Function Browser window or type in a function name in the
function combo box), etc. I suggest a quick perusal of the online
documentation built into Insight. It may be slightly out of date, but
simple things like this are certainly documented.

You may also view the docs online at
http://sources.redhat.com/insight/help. These are a copy of the built-in
help files.

Keith


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

end of thread, other threads:[~2003-07-10 15:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-10  7:38 insight5.3 based on cygwin problem Ryle_Liu
2003-07-10 15:31 ` 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).