[PATCH] Objective-C language support.

Adam Fedor fedor@doc.com
Wed Sep 18 13:31:00 GMT 2002


Michael Snyder wrote:
> Adam Fedor wrote:
> 
>>This patch adds Objective-C language support to gdb based upon a patch
>>provided by Apple Computer Inc from their version of gdb. Note that the
>>patch only contains changes to existing files. New files (objc-lang.h,
>>objc-lang.c, objc-exp.y) and a gdb.objc testsuite directory are located at
>>
>>ftp://ftp.gnustep.org/pub/gnustep/contrib/gdb-objc-patch.tar.gz
>>
> 
> There's a good chance that I wrote some of this code
> anyway, so I'll try to have a look at it.  You know, 
> of course, that we can't just drop something this huge
> into the source tree without some review...
> 

Well I though it would just be reject outright, so I guess I'm doing 
relatively good :-)

> I'll need the ability to run the tests.  Does GCC already
> have enough objc to compile them?  Will I need any special
> libraries?

It's been tested with gcc 2.95 and 3.X. It should work with any gcc out 
of the box. Only libobjc which comes with gcc.

 > Any chance of getting the original authors' names for the
 > changelog, instead of / in addition to yours?

I looked at the ChangeLog that came with the patch, but most changes 
didn't have anything to do with the patches I submitted, or it was hard 
for me to match an entry with an actual change in the code. I could try 
to look at CVS logs, but that could be tedious and Jason Molenda has 
said that most of those are null.


-- 
Adam Fedor, Digital Optics Corp.      | I'm glad I hate spinach, because
http://www.doc.com                    | if I didn't, I'd eat it, and you
                                       | know how I hate the stuff.



More information about the Gdb-patches mailing list