This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Ping on ObjC Patches
Daniel Jacobowitz wrote:
> On Mon, Dec 23, 2002 at 04:13:06PM -0800, Michael Snyder wrote:
> > > And,
> > > Add expected type to hand_function_call (only a week or so old)
> > > http://sources.redhat.com/ml/gdb-patches/2002-12/msg00320.html
> >
> > If I recall, isn't there some controversy about this one?
>
> Adam, does ObjC actually need this patch, or was it only used by the
> expected-type syntax change that Klee posted about? We never came to a
> consensus about that.
After reading Klee's patch, I'd have to say that, no, it's not necessary
for ObjC, anymore than it would be for C. however, I think it is much
more relavent for ObjC, since it is even harder to cast an ObjC method
than it is to cast a C function. For one thing, every ObjC method
contains two hidden arguments. If you're good at ObjC, you know that,
but even so, it's an awful lot of work to do that rather than just cast
the return type.
So it goes back to the merits of Klee's original patch, though it's much
more useful with ObjC.
--
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.