www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - gdcmac: GDB for D

reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
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
Feb 25 2007
parent reply Carlos Santander <csantander619 gmail.com> writes:
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
Feb 25 2007
parent =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
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
Feb 26 2007