public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Chien-Yu Lin <chienyul@yahoo.com>
To: insight@sources.redhat.com
Subject: Insight 5.0 won't start after a remote target added
Date: Mon, 18 Mar 2002 15:42:00 -0000	[thread overview]
Message-ID: <20020318234245.23243.qmail@web13901.mail.yahoo.com> (raw)

Hello,
I was working on adding a remote debug target to arm-elf-gdb.
It connects a customerized board with ARM7 JTAG port and my host.
I added the files into gdb Makefile and compiled it.
It works fine with command mode gdb (arm-elf-gdb -nw) and also ddd
(ddd -gdb --debugger arm-elf-gdb), but now I have problem starting
Insight version 5.0. The error message is like this:
-------------------------------------------------------------------------
Can't find a usable main.tcl in the following directories:
    /tools/share/gdbtcl /tool2/gdbtcl /tools/gdb/gdbtk/library
/tools/gdb1.0/gdbtk/library

    /tools/share/gdbtcl/main.tcl: invalid command name "find_iwidgets_library"
    invalid command name "find_iwidgets_library"
        while executing
        "find_iwidgets_library"
            (file "/tools/share/gdbtcl/main.tcl" line 53)
                invoked from within
                "source /tools/share/gdbtcl/main.tcl"
                    ("uplevel" body line 1)
                        invoked from within
                        "uplevel \#0 [list source $file]"


                        This probably means that gdb wasn't installed properly.

                            while executing
                            "error $msg"
                                (procedure "tcl_findLibrary" line 84)
                                    invoked from within
                                    "tcl_findLibrary gdb 1.0 {} main.tcl
GDBTK_LIBRARY GDBTK_LIBRARY gdbtk/library gdbtcl {} $debug_startup"
                                        (procedure "gdbtk_find_main" line 11)
                                            invoked from within
                                            "gdbtk_find_main"
                                            Segmentation fault (core dumped)
----------------------------------------------------------------------------
I wasn't sure what caused this error. I added 3 object files in the Makefile
TDEPFILES section and didn't modify any other gdb sources. Everything is back
to normal if I remove my target object files in Makefile. The OS is RedHat
Linux 7.1. Can someone help me?
Thanks a lot!!
Regards,

Chien-Yu


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

             reply	other threads:[~2002-03-18 23:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-18 15:42 Chien-Yu Lin [this message]
2002-03-18 16:31 ` Keith Seitz

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=20020318234245.23243.qmail@web13901.mail.yahoo.com \
    --to=chienyul@yahoo.com \
    --cc=insight@sources.redhat.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).