File not found when trying to open `date` instead of real source file
Juan Bellon <[email protected]> Thu, 22 Nov 2007 12:08:32 +0100
| Newsgroups | gmane.comp.debugging.ddd.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hello,
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
this:
...
[Switching to Thread -1225595216 (LWP 13932)]
Breakpoint 1, BrowserWindow::handleStartDownload (this=0x85060b0,
urlName=@0x8525324, suggestedFileName=@0x8525328, mimeType=@0x852532c,
contentSize=7970268, save_without_prompt=false) at /home/juanma/<path to
sources>/browserwindow.cpp:847
/home/juanma/<path to sources>/browserwindow.cpp:847:20780:beg:0x82a5ea8
(gdb) Function "Thu" not defined.
Configuration
--------------------------------------------------------
$ ddd --check-configuration
ddd: Symbol `_XmStrings' has different size in shared object, consider
re-linking
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,
Juan
_______________________________________________
bug-ddd mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-ddd
log
(text/plain, 318.6 KB) - not displayed