From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19482 invoked by alias); 18 Mar 2002 23:42:48 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 19405 invoked from network); 18 Mar 2002 23:42:46 -0000 Received: from unknown (HELO web13901.mail.yahoo.com) (216.136.175.27) by sources.redhat.com with SMTP; 18 Mar 2002 23:42:46 -0000 Message-ID: <20020318234245.23243.qmail@web13901.mail.yahoo.com> Received: from [12.47.63.130] by web13901.mail.yahoo.com via HTTP; Mon, 18 Mar 2002 15:42:45 PST Date: Mon, 18 Mar 2002 15:42:00 -0000 From: Chien-Yu Lin Subject: Insight 5.0 won't start after a remote target added To: insight@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-q1/txt/msg00206.txt.bz2 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/