DWARF output, type of char[]?

Cristian Vlasceanu cristian at zerobugs.org
Mon Apr 2 18:40:57 PDT 2007


BCS Wrote:

> Reply to Cristian,
> 
> > What is the DWARF type of char[], as output by the DMD backend?
> 
> The expression that gets the content of a char[] 
> as something gdb can read is several inches long.
> 
I am not sure that I understand this? Is there is a way of transforming the unsigned long long into something meaningful?

Zero treats all types as if the source were C/C++.

I am working on allowing the user to customize the way variables are being displayed (via Python scripts). I am doing it mainly for being able to display C++/STL containers in a sane way, but I think that with a little work it may do the trick for D types as well.

   Cristian


More information about the Digitalmars-d-debugger mailing list