[patch/rfc] Deprecate PUSH_DUMMY_FRAME
Andrew Cagney
ac131313@redhat.com
Wed Feb 26 23:37:00 GMT 2003
Hello,
This patch gives the generic dummy frame code another little prod
towards becomming the only inferior function call mechanism.
The comment that goes with the call:
+ /* FIXME: cagney/2003-02-26: Step zero of this little tinker is
+ to extract the generic dummy frame code from the architecture
+ vector. Hence this direct call.
+
+ A follow-on change is to modify this interface so that it takes
+ thread OR frame OR tpid as a parameter, and returns a dummy
+ frame handle. The handle can then be used further down as a
+ parameter SAVE_DUMMY_FRAME_TOS. Hmm, thinking about it, since
+ everything is ment to be using generic dummy frames, why not
+ even move some of the dummy frame code to here - do a regcache
+ dup and then pass the duped regcache, along with all the other
+ stuff, at one single point.
+
+ In fact, you can even save the structure's return address in the
+ dummy frame and fix one of those nasty lost struct return edge
+ conditions. */
+ generic_push_dummy_frame ();
should explain where this is going.
I'll commit in a day or so,
Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030226/e01197c4/attachment.ksh>
More information about the Gdb-patches
mailing list