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
Adam, if no one objects in a few days, let's check in the following
subset of your valops.c changes. This is transparent to anyone who
isn't debugging objective c (and for those who are, it simply allows
the use of "self" in place of "this"). Note that some of the valops.c
changes are not included in this approval.
* valops.c (value_of_local): New function.
(value_of_this): Use it.