ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Follow up: What else....


From: R. Bernstein
Subject: RE: Follow up: What else....
Date: Mon, 15 Jan 2007 18:19:55 -0500

Keith Knapp writes:
 > Andrew,
 >  
 > I didn't know the ~/.ddd/log existed, I guess everything is logged in
 > Linux....
 >  
 > The logs says it tries to find ddd.vsl in about 20 different locations,
 > (even the one in which the file is actually located) and then it says: 
 >     #  Searching "vsllib/ddd.vsl"...not found.
 >     !  Could not load VSL Library "vsllib/ddd.vsl"
 >  
 > So I tried copying the file to another of the 20 locations it looks for it
 > and it still gives the error above.
 > Why would it not be able to find a file in either of two directories it is
 > looking for it in? 

The obvious thing that comes to mind is file permissions. :-)

If you want the hacker way to verify the file is getting opened
properly or not, you could run strace and look for the return code on
the stat() or stat64() system call

write(5, "#  Trying \"/home/rocky/.ddd/vsll"..., 44) = 44
stat64("/home/rocky/.ddd/vsllib/ddd.vsl", 0xbf8d1a5c) = -1 ENOENT (No such file 
or directory)
stat64("/home/rocky/.ddd/vsllib/ddd.vsl", 0xbf8d1a5c) = -1 ENOENT (No such file 
or directory)
write(5, "#  Trying \"/usr/local/share/ddd-"..., 64) = 64
stat64("/usr/local/share/ddd-3.3.12-test6cvs/vsllib/ddd.vsl", 
{st_mode=S_IFREG|0644, st_size=8209, ...}) = 0


 >  
 >  
 > Keith
 > 
 > 
 >   _____  
 > 
 > From: address@hidden
 > [mailto:address@hidden On Behalf Of Andrew Gaylard
 > Sent: Monday, 15 January 2007 9:44 PM
 > To: Discussion list for DDD,the GNU graphical debugger front end
 > Subject: Re: Follow up: What else....
 > 
 > 
 > 
 > On 1/15/07, Keith Knapp <address@hidden> wrote: 
 > 
 > Andrew, 
 >  
 > Thanks for the response. Good questions....
 >  
 > 1. Yes GDB is installed. 
 >     Version: GNU gdb Red Hat Linux (6.3.0.0-1.132.E)
 > 2. "which gdb" returns: /usr/bin/gdb
 > 3. Yes my path contains /usr/bin
 > 4. When I just run "gdb sample"  gdb starts fine and functions properly.
 > 
 > 
 > Keith,
 > 
 > This is pretty wierd.
 > 
 > Does your ~/.ddd/log show anything?
 > 
 > 
 > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 > <HTML><HEAD>
 > <META http-equiv=Content-Type content="text/html; charset=us-ascii">
 > <META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
 > <BODY>
 > <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
 > class=456585022-15012007>Andrew,</SPAN></FONT></DIV>
 > <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
 > class=456585022-15012007></SPAN></FONT>&nbsp;</DIV>
 > <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
 > class=456585022-15012007>I didn't know the ~/.ddd/log existed, I guess 
 > everything is logged in Linux....</SPAN></FONT></DIV>
 > <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
 > class=456585022-15012007></SPAN></FONT>&nbsp;</DIV>
 > <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
 > class=456585022-15012007>The logs says it tries to find ddd.vsl in about 20 
 > different locations, (even the one in which the file is actually located) 
 > and 
 > then it says: </SPAN></FONT></DIV>
 > <DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT 
 > size=2><SPAN 
 > class=456585022-15012007>&nbsp;&nbsp;&nbsp; </SPAN>#&nbsp; Searching 
 > "vsllib/ddd.vsl"...not found.<BR><SPAN 
 > class=456585022-15012007>&nbsp;&nbsp;&nbsp; </SPAN>!&nbsp; Could not load 
 > VSL 
 > Library "vsllib/ddd.vsl"</FONT></FONT></FONT></DIV>
 > <DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
 > size=2></FONT>&nbsp;</DIV>
 > <DIV dir=ltr align=left><SPAN class=456585022-15012007><FONT face=Arial 
 > color=#0000ff size=2>So I tried copying the file to another of the 20 
 > locations 
 > it looks for it and it still gives the error above.</FONT></SPAN></DIV>
 > <DIV dir=ltr align=left><SPAN class=456585022-15012007><FONT face=Arial 
 > color=#0000ff size=2>Why would it not be able to find a file in either of 
 > two 
 > directories it is looking for it in? </FONT></SPAN></DIV>
 > <DIV dir=ltr align=left><SPAN class=456585022-15012007><FONT face=Arial 
 > color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
 > <DIV dir=ltr align=left><SPAN class=456585022-15012007><FONT face=Arial 
 > color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
 > <DIV dir=ltr align=left><SPAN class=456585022-15012007><FONT face=Arial 
 > color=#0000ff size=2>Keith</FONT></SPAN></DIV><FONT face=Arial color=#0000ff 
 > size=2></FONT><BR>
 > <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
 > <HR tabIndex=-1>
 > <FONT face=Tahoma size=2><B>From:</B> address@hidden 
 > [mailto:address@hidden <B>On Behalf Of </B>Andrew 
 > Gaylard<BR><B>Sent:</B> Monday, 15 January 2007 9:44 PM<BR><B>To:</B> 
 > Discussion 
 > list for DDD,the GNU graphical debugger front end<BR><B>Subject:</B> Re: 
 > Follow 
 > up: What else....<BR></FONT><BR></DIV>
 > <DIV></DIV><BR>
 > <DIV><SPAN class=gmail_quote>On 1/15/07, <B class=gmail_sendername>Keith 
 > Knapp</B> &lt;<A href="mailto:address@hidden";>address@hidden</A>&gt; 
 > wrote:</SPAN>
 > <BLOCKQUOTE class=gmail_quote 
 > style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: 
 > rgb(204,204,204) 1px solid">
 >   <DIV>
 >   <DIV dir=ltr align=left><FONT face=Tahoma size=2><SPAN><STRONG>Andrew, 
 >   </STRONG></SPAN></FONT></DIV>
 >   <DIV dir=ltr align=left><FONT face=Tahoma 
 >   size=2><SPAN><STRONG></STRONG></SPAN></FONT>&nbsp;</DIV>
 >   <DIV dir=ltr align=left><FONT face=Tahoma size=2><SPAN><STRONG>Thanks for 
 > the 
 >   response. Good questions....</STRONG></SPAN></FONT></DIV>
 >   <DIV dir=ltr align=left><FONT face=Tahoma 
 >   size=2><SPAN><STRONG></STRONG></SPAN></FONT>&nbsp;</DIV>
 >   <DIV dir=ltr align=left><FONT face=Tahoma size=2><SPAN><STRONG>1. Yes GDB 
 > is 
 >   installed. </STRONG></SPAN></FONT></DIV>
 >   <DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
 >   size=2><SPAN>&nbsp;&nbsp;&nbsp; Version: GNU gdb Red Hat Linux 
 >   (6.3.0.0-1.132.E)</SPAN></FONT></DIV>
 >   <DIV dir=ltr align=left><FONT face=Tahoma size=2><SPAN><STRONG>2. "which 
 > gdb" 
 >   returns: /usr/bin/gdb</STRONG></SPAN></FONT></DIV>
 >   <DIV dir=ltr align=left><FONT face=Tahoma size=2><SPAN><STRONG>3. Yes my 
 > path 
 >   contains /usr/bin<BR>4. When I just run "gdb sample"&nbsp; gdb starts fine 
 > and 
 >   functions properly.</STRONG></SPAN></FONT></DIV></DIV></BLOCKQUOTE>
 > <DIV><BR>Keith,<BR><BR>This is pretty wierd.<BR><BR>Does your ~/.ddd/log 
 > show 
 > anything?<BR></DIV><BR></DIV></BODY></HTML>
 > _______________________________________________
 > Ddd mailing list
 > address@hidden
 > http://lists.gnu.org/mailman/listinfo/ddd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]