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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 10 01:17:44 PST 2013


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


Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow at gmail.com


--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> 2013-03-10 11:17:44 EET ---
(In reply to comment #0)
> 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".

What OS is this on? You specified "All" but it does not apply to Windows and
does not happen on Linux.

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

I can't make out any meaning from the above.

Judging by the error message, the problem is that rdmd deletes object (.o)
files after a successful build.

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