05-25-06 06:23 AM
Since the SGI groups are not so active- I thought to try my luck here.
(1) I have IRIX6.5 with CVD installed from the ProDev Workshop 2.9.3
CD.
(2) My application comprised of a few executables, which use the same
makefile: they all get compiled with:
-64 -mips4 -g
(3) After compilation, I issue "cvd <exec_name>" from the same
directory as the exec, and cvd loads. I see in the "Status:" upper
section of the Debugger Main Window the name of the exec, the source
file name and line number. BUT the source window is empty.
The "File:" line says: "Source not available".
(4) For one out of 5 executables, I do get the source code, but for the
rest- I get what I described above.
Now, if I issue: "gdb <exec_name>", then gdb loads and show me the
source code of that executable - for all the execs!
The only reason for me to use CVD is that gdb cannot handle
posix_thread functions on IRIX (I get a "signal ?" error when gdb tries
to load an executable that has posix_thread functions), so I need cvd
to handle the executables.
I guess the issue is that cvd does not find the source code for the
execs, but I cannot figure out why - since the sturcture of my
application directories is:
<main dir>
|
|-----<Module 1 source>
|-----<Module 2 source>
|-----<Module 3 source>
|-----<makefile & execs>
So the makefile and all of the execs are located in one directory,
while the sources are in the other directories. I slinked the modules
execs from <Module X source> to the <makefile & execs> directory; and I
am running cvd from each module's directory.
If cvd can find the source for one module, it should find it for all...
Thanks for your help.
[ Post a follow-up to this message ]
|