November 22, 2006
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?
>>>  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...
>>
> 
> 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
November 22, 2006
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?
>>>>  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...
>>>
>>  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)
>


my changelog doesn't say that... I must have downloaded a different branch

-JJR
November 22, 2006
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.

November 22, 2006
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


November 22, 2006
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.
> 
> see attachment
> 
> Thomas
Wow, it's interesting to compare yours with my compile-time demangler. They are both about the same number of lines of code (and both seem more comprehensive than the one in Phobos).
November 22, 2006
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
November 22, 2006
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


November 22, 2006
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).
November 22, 2006
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
November 22, 2006
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.
>>
>> see attachment
>>
>> Thomas
> Wow, it's interesting to compare yours with my compile-time demangler. 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?