public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Lewin A.R.W. Edwards" <larwe@larwe.com>
To: ecos-discuss@sourceware.cygnus.com
Subject: [ECOS] gdb/insight questions
Date: Tue, 05 Dec 2000 06:26:00 -0000	[thread overview]
Message-ID: <4.3.2.7.2.20001204221133.00abd9b0@larwe.com> (raw)

Well, practically everything works - I can compile apps, I can connect to 
the target board and I can load programs. I have a couple of gdb questions 
though.

Q1: I don't understand where console I/O goes by default; I would have 
assumed to the gdb console but it seems not? My hello world app has a 
printf in it; by default, where does this output go? Can someone please 
verify to me that this is the right process:

* compile
* arm-elf-gdb -nw a.out
* (gdb) set remotebaud 38400
* (gdb) target remote com1
* (gdb) load
* (gdb) continue

I also tried enabling serial port 2 and fprintfing a message to /dev/ttys2 
or whatever it is, and I get my output message on the second port so the 
program is definitely running (yay!).

Q2: (Relatively minor) I can only run command-line gdb, not insight. I even 
tried recompiling insight but when I run it I get an MB_ICONSTOP messagebox 
that says:

Can't find a usable main.tcl in the following directories:
C:/CYGWIN/TOOLS/share/gdbctl C:/CYGWIN/TOOLS/gdbtcl 
C:/CYGWIN/TOOLS/gdb/gdbtk/library C:/CYGWIN/TOOLS/gdb1.0/gdbtk/library

C:/CYGWIN/TOOLS/share/gdbtcl/main.tcl: can't read "errMsg": no such variable
can't read "errMsg": no such variable
while executing "tk_messageBox -title Error -message "Could not find the 
lwidgets libraries. Got nameofexec: [info nameofexecutable]
Error(s) were :\n$errMsg" -icon e..."
invoked from within
"if {![find_iwidgets_library]} {
tk_messageBox....................

(lots more stuff).

I can run native insight with no problems.
=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/

         reply	other threads:[~2000-12-05  6:26 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Fred>
     [not found] ` <Fierling's>
     [not found]   ` <message>
     [not found]     ` <of>
     [not found]       ` <"Sat,>
     [not found]         ` <07>
     [not found]       ` <"Tue,>
     [not found]         ` <05>
     [not found]         ` <10>
     [not found]           ` <Jan>
     [not found]             ` <2001>
     [not found]       ` <"Fri,>
     [not found]         ` <17>
     [not found]       ` <Tue,>
     [not found]         ` <04>
     [not found]           ` <May>
     [not found]             ` <99>
     [not found]               ` <12:35:31>
     [not found]                 ` <PDT>
1999-05-04 13:51                   ` [ECOS] TCP/IP Stack for eCos Jay Lepreau
1999-05-04 17:06                     ` Fred Fierling
1999-05-04 17:43                       ` Brendan Simon
1999-05-05  5:15                       ` [ECOS] " Bart Veer
1999-05-05  1:54                     ` [ECOS] " Fernando D. Mato Mira
     [not found]       ` <"Wed,>
     [not found]         ` <5>
     [not found]           ` <Jul>
     [not found]             ` <2000>
     [not found]               ` <11:39:46>
     [not found]                 ` <+0200>
     [not found]                   ` <"Mon,>
     [not found]                     ` <09>
2000-07-05  2:40                   ` [ECOS] Connecting gdb to AEB Andreas.Karlsson
2000-07-05  2:53                     ` Jesper Skov
2000-07-05  3:12                       ` Robert Erskine
2000-10-05 12:33                   ` [ECOS] GDB Download on i386 target hangs Christian Plessl
2000-10-06  5:15                     ` Nick Garnett
2000-10-07  0:55                       ` Christian Plessl
2000-10-09  6:40                         ` Nick Garnett
2000-10-09 12:50                           ` Christian Plessl
2000-10-10  2:46                             ` Nick Garnett
2000-10-10  3:49                             ` Jesper Skov
     [not found]                             ` <5.0.0.25.0.20001010121538.009f5e30@imap.ee.ethz.ch>
     [not found]                               ` <wwg8zrwkiht.fsf@balti.cygnus>
2000-10-10  7:28                                 ` Christian Plessl
2000-10-10  7:58                                   ` Nick Garnett
2000-10-11  7:11                                     ` Christian Plessl
2000-10-11  7:20                                       ` Nick Garnett
2000-10-12  0:45                                         ` Jesper Skov
     [not found]               ` <11:11:19>
     [not found]                 ` <+0100>
     [not found]                   ` <Jesper>
2000-11-17  2:11                   ` [ECOS] forwarded message from Peter Graf Jesper Skov
2000-11-19 23:43                     ` Jesper Skov
2000-11-20  5:36                       ` [ECOS] Hitachi SH7709A problems Peter Graf
2000-11-20  6:58                         ` Jesper Skov
2000-11-20  7:20                           ` Peter Graf
2001-01-03  2:48                             ` Jesper Skov
2001-01-12  3:45                               ` Peter Graf
     [not found]               ` <20:29:19>
     [not found]                 ` <+0900>
2000-11-20  3:28                   ` [ECOS] Help me !!, Hello world on out target °íÀç¿ë
2000-11-20  3:43                     ` Jesper Skov
2000-11-20  5:54                       ` Lewin A.R.W. Edwards
2000-11-20  6:43                         ` Jesper Skov
2000-11-21 22:00                           ` Jonathan Larmour
     [not found]               ` <09:24:40>
     [not found]                 ` <-0500>
2000-12-05  6:26                   ` Lewin A.R.W. Edwards [this message]
2000-12-05  7:22                     ` [ECOS] gdb/insight questions Jesper Skov
2000-12-05  7:32                       ` Lewin A.R.W. Edwards
2000-12-05 20:15                     ` Jonathan Larmour
2000-12-06  4:13                       ` Lewin A.R.W. Edwards
2000-12-05 22:43                   ` Natarajan, Mekala (CTS)
2000-12-06  1:42                     ` Jesper Skov
2000-12-06  4:47                       ` Lewin A.R.W. Edwards
2001-01-10 16:42 [ECOS] Really dumb newbie question Tim Noell
2001-01-10 17:48 ` Lewin A.R.W. Edwards
2001-01-10 23:58   ` Jesper Skov
2001-01-11  6:05     ` Lewin A.R.W. Edwards
2001-01-11  7:26       ` Gary Thomas
2001-01-11  7:41         ` Grant Edwards
2001-01-11  7:51           ` Julian Smart
2001-01-11  8:01             ` Grant Edwards
2001-01-11  7:56           ` Gary Thomas
2001-01-11  8:36         ` Sergei Organov
     [not found] <Lewin>
     [not found] ` <A.R.W.>
     [not found] <Natarajan,>
     [not found] <Christian>

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4.3.2.7.2.20001204221133.00abd9b0@larwe.com \
    --to=larwe@larwe.com \
    --cc=ecos-discuss@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).