gdcmac: GDB for D

Anders F Björklund afb at algonet.se
Mon Feb 26 00:01:21 PST 2007


Carlos Santander wrote:

>> PS. It will replace the original GDB with the D-patched,
>> but save a copy in case it needs to be reverted later...
>>     /usr/libexec/gdb/gdb-powerpc-apple-darwin
>>     /usr/libexec/gdb/gdb-i386-apple-darwin
> 
> I don't understand this one: will it save a copy, or do I need to save it?

Hmm, sometimes I just make things more muddy when trying to
clear them up - I meant it will replace *and* it will save. :-)

No rocket science, it just does a "cp" of those two files in
the preinstall script of the GDB-D package. I modified the
package to also save them on upgrade now, like if you upgrade
Xcode from 2.4 to 2.4.1 or so - tacked the date on the copies.

But it's more of a "just in case", as far as I know the GDB
debugger still works OK for C with the patch for D included.

--anders



More information about the Digitalmars-d-announce mailing list