www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - A new debugger for Linux - would it work for D?

reply Cristian Vlasceanu <cristian zero-bugs.com> writes:
Hi,
I have written a Linux debugger (so far targeting C and C++) and from
conversations with Walter and Andrei Alexandrescu emerged the idea of adapting
it to support D.

The areas that might need some not-so-trivial effort are the stack unwinding
(as I understood from Walter, D sometimes uses stack frame layouts that may
not be compatible with C) and the expression interpreter.

Take a look, and if you think the investment in D is worthwhile I will give it
a shot.

Thank you,
Cristian Vlasceanu (http://www.zero-bugs.com)
Nov 21 2006
next sibling parent reply Bill Baxter <dnewsgroup billbaxter.com> writes:
Cristian Vlasceanu wrote:
 Hi,
 I have written a Linux debugger (so far targeting C and C++) and from
 conversations with Walter and Andrei Alexandrescu emerged the idea of adapting
 it to support D.
 
 The areas that might need some not-so-trivial effort are the stack unwinding
 (as I understood from Walter, D sometimes uses stack frame layouts that may
 not be compatible with C) and the expression interpreter.
 
 Take a look, and if you think the investment in D is worthwhile I will give it
 a shot.
 
 Thank you,
 Cristian Vlasceanu (http://www.zero-bugs.com)

That would be fantastic. I'm primarily on Windows, but I'd probably fire up my VMWare Ubuntu install just to be able to use a decent D debugger. Would this be for GDC only? Or both DMD & GDC? --bb
Nov 21 2006
parent reply Cristian Vlasceanu <cristian zero-bugs.com> writes:
Pardon my ignorance, what is GDC? The GNU implementation of D?

If that is the case, then the answer is that it depends on which side the work
will be done, i.e. it might be the case that the compiler need be tweaked to
generate DWARF to help the debugger, not just for the debugger to be extended to
understand D.

The way the debugger works to date is to look up for stack unwinding info
(generated for C++ exception unwinding), and, if not found, it falls back to the
"classical" linked list of frames approach, using the instruction pointer, stack
pointer and frame register.

I must admit I have not tried interoperating Zero and D, I just wanted to see if
there is enough interest in the community to justify the work.

Cristian
Nov 21 2006
next sibling parent Lutger <lutger.blijdestijn gmail.com> writes:
Cristian Vlasceanu wrote:
 I must admit I have not tried interoperating Zero and D, I just wanted to see
if
 there is enough interest in the community to justify the work.
 
 Cristian

I'm thinking about getting into linux and would appreciate the work, of course. Can't speak for other people, but I suspect most would like a good debugger for D very much. It seems like Zero is also designed for making it easier for other tools to use it, nice one. Good luck with development, I hope you will decide to make the effort.
Nov 21 2006
prev sibling parent reply Bill Baxter <dnewsgroup billbaxter.com> writes:
Cristian Vlasceanu wrote:
 Pardon my ignorance, what is GDC? The GNU implementation of D?

GDC uses the GCC backend to generate code. DMD uses the Digtal Mars backend to generate code. GDC is out of date. That's about all I know. I don't know if they have different object formats or different formats for debug info. --bb
Nov 21 2006
parent reply Carlos Santander <csantander619 gmail.com> writes:
Bill Baxter escribió:
 Cristian Vlasceanu wrote:
 Pardon my ignorance, what is GDC? The GNU implementation of D?

GDC uses the GCC backend to generate code. DMD uses the Digtal Mars backend to generate code. GDC is out of date.

Err... latest svn revision (41) puts gdc up with dmd 0.174...
 That's about all I know.
 
 I don't know if they have different object formats or different formats 
 for debug info.
 
 
 --bb

-- Carlos Santander Bernal
Nov 21 2006
next sibling parent Bill Baxter <dnewsgroup billbaxter.com> writes:
Carlos Santander wrote:
 Bill Baxter escribió:
 Cristian Vlasceanu wrote:
 Pardon my ignorance, what is GDC? The GNU implementation of D?

GDC uses the GCC backend to generate code. DMD uses the Digtal Mars backend to generate code. GDC is out of date.

Err... latest svn revision (41) puts gdc up with dmd 0.174...

Cool beans! (Not sure how I was supposed to know that, though, given that there hasn't been an announcement here, AFAIK. But great news nonetheless.) --bb
Nov 21 2006
prev sibling parent reply "John Reimer" <terminal.node gmail.com> writes:
On Tue, 21 Nov 2006 19:47:52 -0800, Carlos Santander  
<csantander619 gmail.com> wrote:

 Bill Baxter escribi:
 Cristian Vlasceanu wrote:
 Pardon my ignorance, what is GDC? The GNU implementation of D?

DMD uses the Digtal Mars backend to generate code. GDC is out of date.

Err... latest svn revision (41) puts gdc up with dmd 0.174...

Are you sure? The svn revision I have on my computer is 41 and it hasn't been updated for awhile now. I keep doing an "svn update" and there are no changes. Is there a different svn repository that I'm not aware of? -JJR
Nov 21 2006
parent reply Carlos Santander <csantander619 gmail.com> writes:
John Reimer escribi:
 On Tue, 21 Nov 2006 19:47:52 -0800, Carlos Santander 
 <csantander619 gmail.com> wrote:
 
 Bill Baxter escribi:
 Cristian Vlasceanu wrote:
 Pardon my ignorance, what is GDC? The GNU implementation of D?

DMD uses the Digtal Mars backend to generate code. GDC is out of date.

Err... latest svn revision (41) puts gdc up with dmd 0.174...

Are you sure? The svn revision I have on my computer is 41 and it hasn't been updated for awhile now. I keep doing an "svn update" and there are no changes. Is there a different svn repository that I'm not aware of? -JJR

branches/gdc-0.20-dev/d/ChangeLog : 2006-11-18 David Friedman <dvdfrdmn users.sf.net> Rest of DMD 0.174 merge: (etc) -- Carlos Santander Bernal
Nov 21 2006
parent "John Reimer" <terminal.node gmail.com> writes:
On Tue, 21 Nov 2006 21:57:12 -0800, Carlos Santander  
<csantander619 gmail.com> wrote:

 John Reimer escribi:
 On Tue, 21 Nov 2006 19:47:52 -0800, Carlos Santander  
 <csantander619 gmail.com> wrote:

 Bill Baxter escribi:
 Cristian Vlasceanu wrote:
 Pardon my ignorance, what is GDC? The GNU implementation of D?

DMD uses the Digtal Mars backend to generate code. GDC is out of date.

Err... latest svn revision (41) puts gdc up with dmd 0.174...

hasn't been updated for awhile now. I keep doing an "svn update" and there are no changes. Is there a different svn repository that I'm not aware of? -JJR

branches/gdc-0.20-dev/d/ChangeLog : 2006-11-18 David Friedman <dvdfrdmn users.sf.net> Rest of DMD 0.174 merge: (etc)

my changelog doesn't say that... I must have downloaded a different branch -JJR
Nov 21 2006
prev sibling next sibling parent reply John Demme <me teqdruid.com> writes:
Cristian Vlasceanu wrote:

 Hi,
 I have written a Linux debugger (so far targeting C and C++) and from
 conversations with Walter and Andrei Alexandrescu emerged the idea of
 adapting it to support D.
 
 The areas that might need some not-so-trivial effort are the stack
 unwinding (as I understood from Walter, D sometimes uses stack frame
 layouts that may not be compatible with C) and the expression interpreter.
 
 Take a look, and if you think the investment in D is worthwhile I will
 give it a shot.
 
 Thank you,
 Cristian Vlasceanu (http://www.zero-bugs.com)

You would totally be my hero. I'm the one who wrote (and maintains) the GDB D patches project... so far it only supports D symbol demangling, and not even all that well. I haven't done more since GDB is bloody impossible to hack (as your website mentions.) DMD's DWARF output is incomplete (outright wrong sometimes, actually see bug #146) but GDB frequently can't even handle a lot of D stacks anyway. I think Walter will be much more inclined to add more DWARF support (and fix the existing support) if someone is actually developing a debugging program for D code and is willing to give him advice on the DWARF format (as I recall, he wasn't particularly excited about learning DWARF to initially implement the output.) In short, if Zero were to get good (or even better- great) D support, I'm pretty confident nearly every Linux D user would use it, and the Windows D users would be very jelous. BTW- I think Zero is a great idea. I haven't read over the entire web site yet, but I like it a lot. GDB sucks! Choice is great! Good luck with D. If you have any questions, I'm happy to answer them personally or feel free to post to the newsgroups here. The D community tends to be very friendly and helpful. You might also check out dsource.org for some tutorials and interesting D projects. -- ~John Demme me teqdruid.com http://www.teqdruid.com/
Nov 21 2006
next sibling parent reply Cristian Vlasceanu <cristian zero-bugs.com> writes:
D has a demangling scheme that is not compatible with C++?
Then that's another area that needs work in the debugger.

The details of generating the correct DWARF output might be addressed by using
the
producer functions in Dave Anderson's libdwarf
(http://reality.sgiweb.org/davea/dwarf.html). Zero uses the consumer side of
that
library and I am pleased with the results so far.

Meanwhile I will try and educate myself some more wrt to D.

Thank you kindly for your warm thoughts! It is also great to know that someone
has
explored these issues before.
Nov 21 2006
parent reply =?ISO-8859-1?Q?Thomas_K=FChne?= <thomas-dloop kuehne.cn> writes:
Content-Type: multipart/mixed;
 boundary="------------000509040909040507050301"

This is a multi-part message in MIME format.
--------------000509040909040507050301
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Cristian Vlasceanu wrote:
 D has a demangling scheme that is not compatible with C++?
 Then that's another area that needs work in the debugger.

see attachment Thomas --------------000509040909040507050301 Content-Type: application/zip; name="ddemangled.zip" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="ddemangled.zip" UEsDBAoAAAAAAG9Id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L3N0cmluZy5jVVQFAAP/A2RFVXgAAFBLAQIXAxQAAgAIAERIdjUydB2ypAEAAAgGAAATAA0A AAAAAAEAAACkge5IAABkZGVtYW5nbGVkL3N0cmluZy5oVVQFAAP/A2RFVXgAAFBLBQYAAAAA DgAOADoEAADYSgAAAAA= --------------000509040909040507050301--
Nov 21 2006
parent reply Don Clugston <dac nospam.com.au> writes:
Thomas Khne wrote:
 Cristian Vlasceanu wrote:
 D has a demangling scheme that is not compatible with C++?
 Then that's another area that needs work in the debugger.

see attachment Thomas

They are both about the same number of lines of code (and both seem more comprehensive than the one in Phobos).
Nov 22 2006
parent reply Walter Bright <newshound digitalmars.com> writes:
Don Clugston wrote:
 Thomas Khne wrote:
 Cristian Vlasceanu wrote:
 D has a demangling scheme that is not compatible with C++?
 Then that's another area that needs work in the debugger.

see attachment Thomas

They are both about the same number of lines of code (and both seem more comprehensive than the one in Phobos).

Would you two care to take the best of both, and we can replace the Phobos one?
Nov 22 2006
next sibling parent reply Don Clugston <dac nospam.com.au> writes:
Walter Bright wrote:
 Don Clugston wrote:
 Thomas Khne wrote:
 Cristian Vlasceanu wrote:
 D has a demangling scheme that is not compatible with C++?
 Then that's another area that needs work in the debugger.

see attachment Thomas

They are both about the same number of lines of code (and both seem more comprehensive than the one in Phobos).

Would you two care to take the best of both, and we can replace the Phobos one?

I think there a couple of issues in the mangling algorithm which need to be addressed first. - The bug with local alias template parameters (depends on where it's instantiated from). - Bugzilla bug #221, a one-character fix. mtype.c line 174-175, mangleChar[Tbit] = 'b'; mangleChar[Tbool] = 'x'; This should be changed so they are both 'b'. - Items that use D mangling but don't have D linkage. I suggest changing those cases to use "0" then the linkage type ('W' for Windows, 'U', for C, etc, same as for delegate/function pointers), then the length. So instead of main3abci it would be 0U4main3abci for void main() { int abc; } making it distinguishable from extern(Windows) { int main3abci; } - template floating point value parameters should use big-endian order (with exponent first) which would be moderately human-readable, instead of the current order, which makes no sense. expression.c line 1316 is currently for (int i = 0; i < REALSIZE-REALPAD; i++) buf->printf("%02x", p[i]); but should be for (int i = REALSIZE-REALPAD-1; i >=0; i--) buf->printf("%02x", p[i]); (Actually it would be even better if the implicit bit were stripped out for x86; that would make it more compatible across platforms, and would mean 0x1.123456789ABCDEDEp+0 would be mangled as: "3FFF123456789ABCDEDE" -- but proper cross-platform support needs a bit more thought).
Nov 23 2006
next sibling parent reply Bruno Medeiros <brunodomedeiros+spam com.gmail> writes:
Don Clugston wrote:
 
 - Items that use D mangling but don't have D linkage. I suggest changing 
 those cases to use "0" then the linkage type ('W' for Windows, 'U', for 
 C, etc, same as for delegate/function pointers), then the length.
 So instead of
 main3abci
 
 it would be
 0U4main3abci
 
 for
 
 void main()
 {
   int abc;
 }
 
 
 making it distinguishable from
 extern(Windows)
 {
   int main3abci;
 }
 

Can we define functions that do not have D linkage, but have D name mangling? If so, does that even make sense? It was my understanding that any function with linkage other than D is used for obj/lib/dll level compatibility with other programs written in other languages (i.e., ABI level compatibility). As such, these other languages don't understand D name mangling but only C name mangling, so what's a non-D-linkage with D-name-mangling for? -- Bruno Medeiros - MSc in CS/E student http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
Nov 23 2006
next sibling parent Don Clugston <dac nospam.com.au> writes:
Bruno Medeiros wrote:
 Don Clugston wrote:
 - Items that use D mangling but don't have D linkage. I suggest 
 changing those cases to use "0" then the linkage type ('W' for 
 Windows, 'U', for C, etc, same as for delegate/function pointers), 
 then the length.
 So instead of
 main3abci

 it would be
 0U4main3abci

 for

 void main()
 {
   int abc;
 }


 making it distinguishable from
 extern(Windows)
 {
   int main3abci;
 }

Can we define functions that do not have D linkage, but have D name mangling? If so, does that even make sense? It was my understanding that any function with linkage other than D is used for obj/lib/dll level compatibility with other programs written in other languages (i.e., ABI level compatibility). As such, these other languages don't understand D name mangling but only C name mangling, so what's a non-D-linkage with D-name-mangling for?

These symbols cannot be externally linked directly, but it can be important for eg alias template parameters. (Everything needs to be manglable, even it can't be linked directly). extern(C) { void func() { // 'func' uses C name mangling void inner() { // 'inner' uses D name mangling. // So 'func.inner' is a hybrid. } } } It's even possible to have extern(Windows) inner functions inside extern(C) functions!
Nov 23 2006
prev sibling parent reply Frits van Bommel <fvbommel REMwOVExCAPSs.nl> writes:
Bruno Medeiros wrote:
 Can we define functions that do not have D linkage, but have D name 
 mangling?

Not as far as I know.
 If so, does that even make sense? It was my understanding that
 any function with linkage other than D is used for obj/lib/dll level 
 compatibility with other programs written in other languages (i.e., ABI 
 level compatibility). As such, these other languages don't understand D 
 name mangling but only C name mangling, so what's a non-D-linkage with 
 D-name-mangling for?

I have on several occasions declared functions as extern(C) in order to be able to access them from inline assembly. I needed to be sure about the calling convention, and at that time the D calling convention wasn't documented as well as it is now. (http://www.digitalmars.com/d/abi.html) Name mangling is wholly irrelevant to this, though. In fact my backtraces would've looked better if all names had D mangling, so I would have liked name mangling to have been preserved.
Nov 23 2006
parent reply Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Frits van Bommel schrieb am 2006-11-23:
 Bruno Medeiros wrote:
 Can we define functions that do not have D linkage, but have D name 
 mangling?

Not as far as I know.
 If so, does that even make sense? It was my understanding that
 any function with linkage other than D is used for obj/lib/dll level 
 compatibility with other programs written in other languages (i.e., ABI 
 level compatibility). As such, these other languages don't understand D 
 name mangling but only C name mangling, so what's a non-D-linkage with 
 D-name-mangling for?


# extern(C) void outer(){ # void inner(){ # } # } current mangling:
 outer
 outer5innerFZv

Don's proposal:
 outer
 0U5outer5innerFZv

Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFZcg8LK5blCcjpWoRAu/hAJ9gADyqXbbt8xQXvZw+YD+hF0gbVQCgh8LT TfV4kEQMllZ7m4WFtNgSQNc= =gTTT -----END PGP SIGNATURE-----
Nov 23 2006
parent reply Bruno Medeiros <brunodomedeiros+spam com.gmail> writes:
Thomas Kuehne wrote:
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 Frits van Bommel schrieb am 2006-11-23:
 Bruno Medeiros wrote:
 Can we define functions that do not have D linkage, but have D name 
 mangling?

 If so, does that even make sense? It was my understanding that
 any function with linkage other than D is used for obj/lib/dll level 
 compatibility with other programs written in other languages (i.e., ABI 
 level compatibility). As such, these other languages don't understand D 
 name mangling but only C name mangling, so what's a non-D-linkage with 
 D-name-mangling for?


# extern(C) void outer(){ # void inner(){ # } # } current mangling:
 outer
 outer5innerFZv

Don's proposal:
 outer
 0U5outer5innerFZv

Thomas

Ah, got it. But in terms of calling convention, is outer.inner still of regular D calling convention? (I think so, given some obj2asm tests I did) As for fixes, how about just mangling the inner function with a full D name mangling, treating the parent names as if they were D-mangled too?: _D4modl4funcFZv5innerFZv This way we (maybe) can't tell the calling convention of the parent functions... but does that matter? -- Bruno Medeiros - MSc in CS/E student http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
Nov 23 2006
parent Frits van Bommel <fvbommel REMwOVExCAPSs.nl> writes:
Bruno Medeiros wrote:
 As for fixes, how about just mangling the inner function with a full D 
 name mangling, treating the parent names as if they were D-mangled too?:
 _D4modl4funcFZv5innerFZv
 This way we (maybe) can't tell the calling convention of the parent 
 functions... but does that matter?

It might matter for something like DDL if it wants to call a function in a dynamically-loaded module. It's kind of important to know the calling convention for that :). (Not sure if DDL currently does anything like this, but if not it might in the future)
Nov 23 2006
prev sibling parent reply Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Don Clugston schrieb am 2006-11-23:
 Walter Bright wrote:
 Don Clugston wrote:
 Thomas Khne wrote:
 Cristian Vlasceanu wrote:
 D has a demangling scheme that is not compatible with C++?
 Then that's another area that needs work in the debugger.

see attachment Thomas

They are both about the same number of lines of code (and both seem more comprehensive than the one in Phobos).

Would you two care to take the best of both, and we can replace the Phobos one?

I think there a couple of issues in the mangling algorithm which need to be addressed first.

<snip>
 - Items that use D mangling but don't have D linkage. I suggest changing 
 those cases to use "0" then the linkage type ('W' for Windows, 'U', for 
 C, etc, same as for delegate/function pointers), then the length.
 So instead of
 main3abci

 it would be
 0U4main3abci

I dislike unnecessary special cases: # # module wood; # # class Tree{ # static this(){ # } # # ~this(){ # } # } # # extern(C) void outer(){ # extern(Windows) int middle(){ # void inner(){ # } # return 0; # } # } # DMD-0.174 generates the following symbols (special cases are marked by an asterisk):
 _Class_4wood4Tree *
 _D4wood4Tree11_staticCtorFZv
 _D4wood4Tree5_dtorFZv
 _init_4wood4Tree *
 _modctor_4wood *
 outer
 outer6middleWZi *
 outer6middleWZi5innerFZv *
 _vtbl_4wood4Tree *

I propose the following mangling:
 _D4wood4Tree9__Class__Pv
 _D4wood4Tree12__staticCtorFZv
 _D4wood4Tree6__dtorFZv
 _D4wood4Tree8__init__Pv
 _D4wood11__modctor__FZv
 outer
 _D4wood5outerFZv6middleWZi
 _D4wood5outerFZv6middleWZi5innerFZv
 _D4wood4Tree8__vtbl__Av

There are no special cases(identifiers starting with two underscores are reserved), thus no need for the demangler to know anything about the RT's internals. Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFZhBmLK5blCcjpWoRAhvHAJ48XOpVGhQrtWqzUlnnSwWYa5ZctwCgiJ5g DU12Ih86ucKYv9td8e3iSJ0= =0YBV -----END PGP SIGNATURE-----
Nov 23 2006
parent Don Clugston <dac nospam.com.au> writes:
Thomas Kuehne wrote:
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 Don Clugston schrieb am 2006-11-23:
 Walter Bright wrote:
 Don Clugston wrote:
 Thomas K�hne wrote:
 Cristian Vlasceanu wrote:
 D has a demangling scheme that is not compatible with C++?
 Then that's another area that needs work in the debugger.

Thomas

They are both about the same number of lines of code (and both seem more comprehensive than the one in Phobos).

Phobos one?

be addressed first.

<snip>
 - Items that use D mangling but don't have D linkage. I suggest changing 
 those cases to use "0" then the linkage type ('W' for Windows, 'U', for 
 C, etc, same as for delegate/function pointers), then the length.
 So instead of
 main3abci

 it would be
 0U4main3abci

I dislike unnecessary special cases: # # module wood; # # class Tree{ # static this(){ # } # # ~this(){ # } # } # # extern(C) void outer(){ # extern(Windows) int middle(){ # void inner(){ # } # return 0; # } # } # DMD-0.174 generates the following symbols (special cases are marked by an asterisk):
 _Class_4wood4Tree *
 _D4wood4Tree11_staticCtorFZv
 _D4wood4Tree5_dtorFZv
 _init_4wood4Tree *
 _modctor_4wood *
 outer
 outer6middleWZi *
 outer6middleWZi5innerFZv *
 _vtbl_4wood4Tree *

I propose the following mangling:
 _D4wood4Tree9__Class__Pv
 _D4wood4Tree12__staticCtorFZv
 _D4wood4Tree6__dtorFZv
 _D4wood4Tree8__init__Pv
 _D4wood11__modctor__FZv
 outer
 _D4wood5outerFZv6middleWZi
 _D4wood5outerFZv6middleWZi5innerFZv
 _D4wood4Tree8__vtbl__Av

There are no special cases(identifiers starting with two underscores are reserved), thus no need for the demangler to know anything about the RT's internals.

Agreed, I like that *much* better than my proposal. BTW, unittest is another special case, and should be treated in the same way. - Don.
Nov 23 2006
prev sibling parent reply Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Walter Bright schrieb am 2006-11-22:
 Don Clugston wrote:
 Thomas Khne wrote:
 Cristian Vlasceanu wrote:
 D has a demangling scheme that is not compatible with C++?
 Then that's another area that needs work in the debugger.

see attachment Thomas

They are both about the same number of lines of code (and both seem more comprehensive than the one in Phobos).

Would you two care to take the best of both, and we can replace the Phobos one?

http://d.puremagic.com/issues/show_bug.cgi?id=588 (though this doesn't handle any special cases) Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFZhvWLK5blCcjpWoRAsfwAJ9V+CAQRZnDnXlkGZSFy2Lj0tD87wCfW22R Tsl/9CQuSO/6MQGbTbPmSdE= =G5tW -----END PGP SIGNATURE-----
Nov 23 2006
parent reply Walter Bright <newshound digitalmars.com> writes:
Thomas Kuehne wrote:
 http://d.puremagic.com/issues/show_bug.cgi?id=588

Thanks!
Nov 23 2006
parent reply Cristian Vlasceanu <cristian zero-bugs.com> writes:
I owe a clarification (especially since some of you have posted code in response
to my demangling question).

Zero is NOT open source, and my long term intent is a commercially supported
product (see some of my ramblings here: http://the-free-meme.blogspot.com/).

Also I see a lot of domain knowledge wrt the inner workings of D in this forum.

I thinks it would be a good idea (architecturally and ethically) that Zero
provide
hooks for D-supporting plugins and shared objects. Such modules could be open
source themselves, or othewise licensed, as their respective authors see fit.
The
demangler for example is already based on a factory pattern (it deals with
legacy
gcc and the Itanium ABI), and delegating to a .so that implements D demangling
would not be very hard to do.
Nov 23 2006
parent reply Frits van Bommel <fvbommel REMwOVExCAPSs.nl> writes:
Cristian Vlasceanu wrote:
 I owe a clarification (especially since some of you have posted code in
response
 to my demangling question).
 
 Zero is NOT open source, and my long term intent is a commercially supported
 product (see some of my ramblings here: http://the-free-meme.blogspot.com/).

Well, Thomas's code is GPL-with-exception, so you can link it to a commercial program without any problem, as long as you distribute any modifications to his source.
 Also I see a lot of domain knowledge wrt the inner workings of D in this forum.
 
 I thinks it would be a good idea (architecturally and ethically) that Zero
provide
 hooks for D-supporting plugins and shared objects. Such modules could be open
 source themselves, or othewise licensed, as their respective authors see fit.
The
 demangler for example is already based on a factory pattern (it deals with
legacy
 gcc and the Itanium ABI), and delegating to a .so that implements D demangling
 would not be very hard to do.

That would work as well, of course.
Nov 24 2006
parent reply Walter Bright <newshound digitalmars.com> writes:
Frits van Bommel wrote:
 I thinks it would be a good idea (architecturally and ethically) that 
 Zero provide
 hooks for D-supporting plugins and shared objects. Such modules could 
 be open
 source themselves, or othewise licensed, as their respective authors 
 see fit. The
 demangler for example is already based on a factory pattern (it deals 
 with legacy
 gcc and the Itanium ABI), and delegating to a .so that implements D 
 demangling
 would not be very hard to do.

That would work as well, of course.

It would be better for D users if support was built in, so it would work out of the box with no hassle. Having the hooks for plugins, however, is still a very good idea and should be done. That will help future proof the debugger.
Nov 24 2006
parent reply BCS <BCS pathilink.com> writes:
Walter Bright wrote:
 Frits van Bommel wrote:
 I thinks it would be a good idea (architecturally and ethically) that 
 Zero provide
 hooks for D-supporting plugins and shared objects. Such modules could 
 be open
 source themselves, or othewise licensed, as their respective authors 
 see fit. The
 demangler for example is already based on a factory pattern (it deals 
 with legacy
 gcc and the Itanium ABI), and delegating to a .so that implements D 
 demangling
 would not be very hard to do.

That would work as well, of course.

It would be better for D users if support was built in, so it would work out of the box with no hassle. Having the hooks for plugins, however, is still a very good idea and should be done. That will help future proof the debugger.

You could ship it with the plug in pre-installed.
Nov 24 2006
parent Cristian Vlasceanu <cristian zero-bugs.com> writes:
BCS wrote:
 Walter Bright wrote:
 Frits van Bommel wrote:
 I thinks it would be a good idea (architecturally and ethically) 
 that Zero provide
 hooks for D-supporting plugins and shared objects. Such modules 
 could be open
 source themselves, or othewise licensed, as their respective authors 
 see fit. The
 demangler for example is already based on a factory pattern (it 
 deals with legacy
 gcc and the Itanium ABI), and delegating to a .so that implements D 
 demangling
 would not be very hard to do.

That would work as well, of course.

It would be better for D users if support was built in, so it would work out of the box with no hassle. Having the hooks for plugins, however, is still a very good idea and should be done. That will help future proof the debugger.

You could ship it with the plug in pre-installed.

Yes this is exactly what I have in mind, by "hooks and plugins" I meant to have the D support *dynamically* linked in, so that it can be upgraded or replaced without having to recompile the debugger.
Nov 24 2006
prev sibling parent Cristian Vlasceanu <cristian zero-bugs.com> writes:
Do you have any D code samples that confuse GDB? (bad line numbers, weird stack
unwinding, etc).

 - Cristian
Nov 30 2006
prev sibling next sibling parent reply "John Reimer" <terminal.node gmail.com> writes:
On Tue, 21 Nov 2006 15:50:30 -0800, Cristian Vlasceanu  
<cristian zero-bugs.com> wrote:

 Hi,
 I have written a Linux debugger (so far targeting C and C++) and from
 conversations with Walter and Andrei Alexandrescu emerged the idea of  
 adapting
 it to support D.

 The areas that might need some not-so-trivial effort are the stack  
 unwinding
 (as I understood from Walter, D sometimes uses stack frame layouts that  
 may
 not be compatible with C) and the expression interpreter.

 Take a look, and if you think the investment in D is worthwhile I will  
 give it
 a shot.

 Thank you,
 Cristian Vlasceanu (http://www.zero-bugs.com)

There would be a lot of support for that. Debuggers are an oft requested feature for D. -JJR
Nov 21 2006
parent freeagle <dalibor.free gmail.com> writes:
All current and future linux users coding in D would be very thankful, 
including me!

John Reimer wrote:
 On Tue, 21 Nov 2006 15:50:30 -0800, Cristian Vlasceanu 
 <cristian zero-bugs.com> wrote:
 
 Hi,
 I have written a Linux debugger (so far targeting C and C++) and from
 conversations with Walter and Andrei Alexandrescu emerged the idea of 
 adapting
 it to support D.

 The areas that might need some not-so-trivial effort are the stack 
 unwinding
 (as I understood from Walter, D sometimes uses stack frame layouts 
 that may
 not be compatible with C) and the expression interpreter.

 Take a look, and if you think the investment in D is worthwhile I will 
 give it
 a shot.

 Thank you,
 Cristian Vlasceanu (http://www.zero-bugs.com)

There would be a lot of support for that. Debuggers are an oft requested feature for D. -JJR

Nov 22 2006
prev sibling parent reply "Craig Black" <cblack ara.com> writes:
Currently there is no debugger tailored for D, so this would be great and 
appreciated by many.  However, how difficult would it be to make this 
portable to Windows as well?  Most D developers use Windows primarily.

-Craig
Nov 22 2006
next sibling parent "Kristian Kilpi" <kjkilpi gmail.com> writes:
On Wed, 22 Nov 2006 21:05:00 +0200, Craig Black <cblack ara.com> wrote:

 Currently there is no debugger tailored for D, so this would be great and
 appreciated by many.  However, how difficult would it be to make this
 portable to Windows as well?  Most D developers use Windows primarily.

 -Craig

Oh, it would be really great to have a debugger! On Windows too (I'm using win).
Nov 22 2006
prev sibling parent reply "John Reimer" <terminal.node gmail.com> writes:
On Wed, 22 Nov 2006 11:05:00 -0800, Craig Black <cblack ara.com> wrote:

 Currently there is no debugger tailored for D, so this would be great and
 appreciated by many.  However, how difficult would it be to make this
 portable to Windows as well?  Most D developers use Windows primarily.

 -Craig

Do they? I wouldn't say that anymore. -JJR
Nov 22 2006
parent reply freeagle <dalibor.free gmail.com> writes:
John Reimer wrote:
 On Wed, 22 Nov 2006 11:05:00 -0800, Craig Black <cblack ara.com> wrote:
 
 Currently there is no debugger tailored for D, so this would be great and
 appreciated by many.  However, how difficult would it be to make this
 portable to Windows as well?  Most D developers use Windows primarily.

 -Craig

Do they? I wouldn't say that anymore. -JJR

could be interesting to somehow get those numbers
Nov 22 2006
parent "John Reimer" <terminal.node gmail.com> writes:
On Wed, 22 Nov 2006 14:52:20 -0800, freeagle <dalibor.free gmail.com>  
wrote:

 John Reimer wrote:
 On Wed, 22 Nov 2006 11:05:00 -0800, Craig Black <cblack ara.com> wrote:

 Currently there is no debugger tailored for D, so this would be great  
 and
 appreciated by many.  However, how difficult would it be to make this
 portable to Windows as well?  Most D developers use Windows primarily.

 -Craig

-JJR

could be interesting to somehow get those numbers

I agree.
Nov 22 2006