discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb for ObjC


From: David Relson
Subject: Re: gdb for ObjC
Date: Tue, 23 Jul 2002 19:17:46 -0400

Lars,

Getting source code is the easy part.  Getting it to build is harder.

Years ago, someone created an unofficial Objective-C patch for gdb-4.17 which worked quite well. When gdb-4.18 came out, I was able to adapt it and get a usable gdb-objc-4.18. When gdb-5.0 came out, the adaptation was much harder because of significant changes to gdb's architecture. None-the-less I was able to create a usable gdb-objc-5.0. I was unable to apply some parts of the 4.18 patch to 5.0, so I left them out. The debugger was usable and useful.

A year or two back, Apple officially signed its gdb patches to the FSF. It is hoped that one day the Objective-C support will be merged into a gdb release and this work of unofficial patching will no longer be called for.

If you want the 4.18 and 5.0 patches, they're available at ftp://ftp.osagesoftware.com/pub/outgoing/

David

P.S. As I'm not presently developing Objective-C code, I haven't updated them for gdb-5.1 or later releases.



At 02:42 PM 7/23/02, Lars wrote:
I got that answer on darwin-development@lists.apple.com:

----- Forwarded by Lars Sonchocky-Helldorf/BBDO-InterOne/DE on 23.07.2002
20:40 -----


Perrone Alessandro <alex@unive.it>
23.07.2002 12:16


        To:     darwin-development@lists.apple.com
        cc:     Lars.Sonchocky-Helldorf@bbdo-interone.de
        Subject:        RE: Building Apple's gdb on Linux

Hi
>I am asking this because I am looking for an version of gdb that supports
>Objective-C. Since Apple's gdb supports ObjC very well, this idea came to
>my mind.
If you compile gdb 4.16, it support OBJC very well.
To be sure to compile the right version, connect to ftp.swarm.org and
go to the /pub/swarm/src/needed directory and download the
gdb-objc-4.16.tar.gz.
Hope this help.
  ALEX



_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://mail.gnu.org/mailman/listinfo/discuss-gnustep




reply via email to

[Prev in Thread] Current Thread [Next in Thread]