[Issue 3368] gdb: cannot list code (sometimes)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 12 16:13:42 PDT 2009


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



--- Comment #2 from Leandro Lucarella <llucax at gmail.com> 2009-10-12 16:13:41 PDT ---
(In reply to comment #1)
> I can confirm this using DMD 1.034 and GDB 7.0 with D patches, but here it can
> never list code. This is the GDB error message:
> 
> -----
> (gdb) run
> Starting program: /tmp/dmd2/linux/bin/bug3368 
> [Thread debugging using libthread_db enabled]
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x08049239 in D main ()
> Current language:  auto
> The current source language is "auto; currently asm".
> (gdb) list
> 1    /tmp/cct0i4at.s: No such file or directory.
>     in /tmp/cct0i4at.s
> -----

Please, ignore this. I forgot to add -gc when compiling. I see the exact same
problem reported in the original description, using DMD 2.034 and GDB 7.0
patched with D support. DMD 1.049 works fine.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list