This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Insight 5.0 won't start after a remote target added


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]