[quote user="Rick Kimball"]For what is worth, I see the missing lib in CCS 6.2 for linux $ find . -name 'libctools.so' ./ccsv6/ccs_base/emulation/analysis/bin/libctools.so [/quote] I found that as well. I have added that lib in various ways and it still doesn't work. According to XDS GDB Agent (processors.wiki.ti.com/index.php/XDS_GDB_Agent), one should set LD_LIBRARY_PATH to contain ccs_base/emulation/drivers and ccs_base/emulation/analysis/bin directories. I did and it doesn't help. (Why? Because TI bypassed the normal library mechanisms, see below). what is even stranger is I looked at what libraries are linked into gdb_agent_console: zot (17): ldd gdb_agent_console linux-vdso.so.1 => (0x00007fff399fe000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1e9141a000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1e91115000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1e90eff000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1e90ce1000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1e9091b000) /lib64/ld-linux-x86-64.so.2 (0x00007f1e9163b000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1e90615000) notice libctool doesn't show up. This is pretty weird. I also did a search for strings inside of gdb_agent_console and see: /emulation/drivers// CTOOLS_BIN PATH Reusing environment from previous session. libctools.so Failed to load ctools library ctoolsBinDir pathinfo.ini So it looks like the code is doing somekind of hard coded library open bypassing all the normal mechanisms. So it is very unclear how to teach it where to find it. Other library names buried inside gdb_agent_console are: libgdb_agent.so libxdsboard.so libxdsfast3.so libti_targetdb_parser.so libmsp430.so libctools.so libtargetadapter.so libTargetAdapter.so libFlashMSP432.so libjioxds110 It looks like there are various local (ie. some where in the install directory tree) places that it looks, rather than following normal library path search.
↧