[Issue 2575] gdb can not show code

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 15 08:00:36 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2575


jason.james.house at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://pastebin.com/m21fab94|
                   |f                           |
           Severity|normal                      |major
            Version|2.022                       |2.025




------- Comment #4 from jason.james.house at gmail.com  2009-02-15 10:00 -------
It looks like the URL showing the problem has expired.  Here's a sample
session.  I upped the severity because this is a really painful bug in dmd for
me.  I'm forced to place tons of writefln statements into the code instead of
being able to step through it in the debugger



jhouse at jhouse-laptop:~/housebot/0.8$ gdb ./housebot-0.8 
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) break main
Breakpoint 1 at 0x8059e87
(gdb) run
Starting program: /home/jhouse/housebot/0.8/housebot-0.8 
[Thread debugging using libthread_db enabled]
[New Thread 0xb7c3eb00 (LWP 23503)]
[Switching to Thread 0xb7c3eb00 (LWP 23503)]

Breakpoint 1, 0x08059e87 in main ()
Current language:  auto; currently asm
(gdb) list
1       /tmp/ccPssJzP.s: No such file or directory.
        in /tmp/ccPssJzP.s
(gdb) quit
The program is running.  Exit anyway? (y or n) y
jhouse at jhouse-laptop:~/housebot/0.8$ 


-- 



More information about the Digitalmars-d-bugs mailing list