This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] Trivialize objc-lang.c FETCH_ARGUMENT
- From: Adam Fedor <fedor at doc dot com>
- To: Michael Snyder <msnyder at redhat dot com>
- Cc: GDB Patches <gdb-patches at sources dot redhat dot com>
- Date: Tue, 22 Apr 2003 20:00:31 -0600
- Subject: Re: [RFC] Trivialize objc-lang.c FETCH_ARGUMENT
On Tuesday, April 22, 2003, at 07:41 PM, Michael Snyder wrote:
Adam Fedor wrote:
Well, I thought I'd at least try to see if this patch would be ok.
Here
I replace the arcitecture dependant FETCH_ARGUMENT with a trivial
implementation that does nothing. This would allow objc-lang.o to be
linked into gdb and I commit most or all of the remaining Objective-C
patches. Then I could work on fixing FETCH_ARGUMENT at my leasure...
That seems reasonable. By the way, if there's been an ongoing
discussion,
I haven't followed it. Why is it that you need to do this in an
architecture-dependent way? GDB should have enough debug info to
do this cleanly, shouldn't it?
It's possible, although these particular functions are in the Apple
runtime and highly optimized, possibly in assembly. I'm not sure if the
information is available. I'll have to look at it more, but I couldn't
even test the changes since it only works on MacOSX/Darwin and GNU gdb
doesn't compile on Darwin.