[Issue 8173] New: rdmd -g --build-only main looses debug info

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 31 02:22:00 PDT 2012


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

           Summary: rdmd -g --build-only main looses debug info
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: thelastmammoth at gmail.com


--- Comment #0 from thelastmammoth at gmail.com 2012-05-31 02:23:50 PDT ---
Currently, running 
rdmd -g --build-only main &&  gdb main 

yields:
warning: Could not find object file "/tmp/.rdmd-503/rdmd-main.d-.../main.o" -
no debug information available for "main.d".

(but using the manual way with dmd works... with the names mangled but that's a
different issue )

perhaps it would be possible to preserve debug info when -g (or -debug, etc) is
present as opposed to having -o- (which appears when --chatty is on) ?

-- 
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