public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@cygnus.com>
To: Stephane Aubert <stephane.aubert@coronis-systems.com>
Cc: Darren Addicott <DarrenA@akhter.co.uk>,
	<binutils@sources.redhat.com>, <ecos-cvs@sources.redhat.com>,
	Insight Maling List <insight@sources.redhat.com>,
	<irox@redhat.com>
Subject: Re: Windows Error when I want to start arm-elf-gdb
Date: Tue, 04 Dec 2001 11:13:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.33.0112041105000.18-100000@makita.cygnus.com> (raw)
Message-ID: <20011204111300.2wMMEC8_444W57OHXvLh9eQ_cR9Ei5Lq9rwaojSDdg4@z> (raw)
In-Reply-To: <p04330103b832772623c0@[192.168.1.254]>

On Tue, 4 Dec 2001, Alan Lehotsky wrote:

> I had this very same problem and it was terribly hard to find (I finally ran gdb under a gdb with the -nw flag
> and discovered that it was due to having a bad gdbtk initialization file in my home directory.
> (can't remember if it's named gdbtk.ini or .gdbtk on windows)
>
> There were apparently "commands" in that file that just made tcl/tk miserable....

This should not happen. If it does, it's a bug. The preference file is
automatically regenerated when you run Insight. It is not for user
modification.

> >But when I want to use the Insight GDB, I have a big Windows Error (see attach : error arm-elf-gdb.gif).

The error message is that errMsg is undefined in main.tcl when running
tk_messageBox about not finding the Iwidgets library.

What version of Insight are you using? (What's the last ChangeLog entry in
src/gdb/gdbtk/ChangeLog?)

You're installation of Insight is complaining about two things...

1) There is an error in your main.tcl concerning some code which looks
something like:

    if {[catch {package require Iwidgets 3.0} msg]} {
       tk_messageBox -title Error -message $errMsg ;# blah blah blah
    }

You must be using an older version of Insight, since this bug is long
since gone. If you can post either the date of your snapshot or dig up
this bit from your main.tcl, that would help me pin your problem down.

2) Insight is failing to find the Iwidgets library
Does INSTALLDIR/share/iwidgets3* exist (what is the exact folder name)? Do
you have the function "find_iwidgets_library" in utils.tcl? What does it say?

Keith

PS. Oddly, I've only seen Alan's reply to your message. It has not yet
arrived from the mailing list in my inbox...


  reply	other threads:[~2001-12-04 11:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-05 18:42 Stephane Aubert
2001-10-07 13:46 ` Alan Lehotsky
2001-10-07 14:33   ` Keith Seitz [this message]
2001-12-04 11:13     ` Keith Seitz
2001-12-04  4:55   ` Alan Lehotsky
2001-12-03  8:56 ` Stephane Aubert
2001-10-08  7:55 kyle Loudon
2001-10-09  8:02 ` Fernando Nasser
2001-12-05  6:51   ` Fernando Nasser
2001-10-09  8:15 ` Keith Seitz
2001-12-05  8:48   ` Keith Seitz
2001-12-04 16:01 ` kyle Loudon

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=Pine.GSO.4.33.0112041105000.18-100000@makita.cygnus.com \
    --to=keiths@cygnus.com \
    --cc=DarrenA@akhter.co.uk \
    --cc=binutils@sources.redhat.com \
    --cc=ecos-cvs@sources.redhat.com \
    --cc=insight@sources.redhat.com \
    --cc=irox@redhat.com \
    --cc=stephane.aubert@coronis-systems.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).