[Top][All Lists]

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

File not found when trying to open `date` instead of real source file

From: Juan Bellon
Subject: File not found when trying to open `date` instead of real source file
Date: Thu, 22 Nov 2007 12:08:32 +0100
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)


I found the following strange behavior with DDD / GDB, which doesn't appear 
when using gdb either standalone or under Emacs.

When DDD hits the breakpoint I had set, it stops correctly but, additionally, 
it shows an error message telling the following:
DDD: No Source
/<path to sources>/Thu Nov 22 11: No such file or directory
Then, I can continue debugging normally.

If I set the breakpoint "manually" (with "break" command in GDB interaction 
pane), the source file is not opened and shown unless I keep going 
(with 'step' or 'next').

When the breakpoint is hit, the text I find in the GDB interaction pane is 
[Switching to Thread -1225595216 (LWP 13932)]

Breakpoint 1, BrowserWindow::handleStartDownload (this=0x85060b0, 
address@hidden, address@hidden, address@hidden, 
contentSize=7970268, save_without_prompt=false) at /home/juanma/<path to 
/home/juanma/<path to sources>/browserwindow.cpp:847:20780:beg:0x82a5ea8
(gdb) Function "Thu" not defined.

$ ddd --check-configuration
ddd: Symbol `_XmStrings' has different size in shared object, consider 
Checking for X11 library directory... /usr/lib/X11
Checking for XKeysymDB... (none)
Warning: The `XKeysymDB' file is not in the default X file search path.
    If ddd was not compiled on this machine, ddd
    may not run properly (lots of warnings for unknown keysym names).
    and install it into `/usr/lib/X11'
    or have the XKEYSYMDB environment variable point at it.

I attach the log file generated by DDD during this session.
Best regards,

Attachment: log
Description: Text document

reply via email to

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