View mode: basic / threaded / horizontal-split · Log in · Help
February 25, 2007
gdcmac: GDB for D
Added a patched GDB for D for Mac OS X 10.4 as well,
as a Universal Binary that'll work on PowerPC/Intel:

http://sourceforge.net/project/showfiles.php?group_id=135857&package_id=223105

Uses a slightly modified version of the GDB 6.3 patch,
and Apple's build (only replaces the libexec binaries)

--anders

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
February 25, 2007
Re: gdcmac: GDB for D
Anders F Björklund escribió:
> Added a patched GDB for D for Mac OS X 10.4 as well,
> as a Universal Binary that'll work on PowerPC/Intel:
> 
> http://sourceforge.net/project/showfiles.php?group_id=135857&package_id=223105 
> 
> 
> Uses a slightly modified version of the GDB 6.3 patch,
> and Apple's build (only replaces the libexec binaries)
> 

Great! Thanks!

> --anders
> 
> 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?

-- 
Carlos Santander Bernal
February 26, 2007
Re: gdcmac: GDB for D
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
Top | Discussion index | About this forum | D home