[Issue 2575] gdb can not show code
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Feb 20 02:42:06 PST 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2575
------- Comment #5 from bugzilla at digitalmars.com 2009-02-20 04:42 -------
But dmd does emit the low_pc and high_pc data. Compile:
int foo(int i) { return i * i; }
with:
dmd -c -g foo.d
Then run dumpobj on it:
dumpobj -p foo.o
which will pretty-print the dwarf debug into. The attributes are there.
--
More information about the Digitalmars-d-bugs
mailing list