-
-
Notifications
You must be signed in to change notification settings - Fork 651
Ddwarf #526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ddwarf #526
Conversation
Fixes Bug 4180 |
I'd rather #ifdef the D Dwarf extensions out, rather than remove them. I'd also rather leave in the struct generation stuff as #ifdef, as it is useful for Codeview symbolic debug info generation, though that needs to be looked at in more detail. |
Sounds reasonable. |
- added USE_DWARF_D_EXTENSIONS macro to enable/disable the extensions fixup first
I've rewritten this in a more conservative way. It would be great if we'd mangle the types. GDB has a D demangler and can be made to display them accordingly. |
Do want! |
By the way, would it be possible to add a switch to emit DWARF debug info on Windows? Some debuggers/profilers (e.g. Very Sleepy) understand DWARF but not CodeView. |
It almost fixes http://d.puremagic.com/issues/show_bug.cgi?id=3391 also |
Yeah, but AA support won't work. |
Martin Nowak, el 19 de diciembre a las 04:02 me escribiste:
Yeah, STL support is really great using python extensions... Would be Leandro Lucarella (AKA luca) http://llucax.com.ar/ |
Capitalize `pointerTarget`'s first letter
struct _Array_T { size_t length; T* ptr; }
struct _Delegate{ void* ctxptr; Function* funcptr; }
struct _AArray_KeyT_ValueT { void* ptr; }
structs, the backend could not handle them
Specifically the _Array_T type will hook to gdb's D support.
That is with gdb >= 2010-04-29 this will add full dynamic
array printing support.
The function pointer in _Delegate is correctly typed and
will be resolved to the actual symbol name during debugging.
For AAs we can't really add debug infos as their implementation
is hidden in druntime.