This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RFC: dummy.[hc] and ``struct dummy''
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb at sources dot redhat dot com
- Date: Thu, 26 Sep 2002 18:47:11 -0400
- Subject: RFC: dummy.[hc] and ``struct dummy''
Hello,
I'd like to float the idea of moving all the generic dummy frame code
into a new file dummy.[hc].
Things like hand_function_call() would then use a ``struct dummy'' that
contains the information for the dummy frame currently being
constructed. That way the current global top-of-dummy stack assumption
is removed.
This should also make it simplier/easier to do things like make what is
currently a single global dummy frame stack part of the ``thread_info''
object. (Figuring out why one would want to do this is left as an
exercise for the reader. LiamS, GraceS and I stumbled across this
think-o :-).
Andrew