Re: [PATCH] Fix xfail Sparc pattern

Andrew Cagney
2002-04-18T23:25:11Z

> What I am referring to more specifically is the dummy frame
> descriptors which the generic dummy frame support creates and
> keeps track of. That is generic, and independant of the
> CALL_DUMMY mechanism a target uses.
>
> That aspect is perfect, and I implemented something similar in my
> sparc patches. That bit of the generic dummy frame bits could be
> reused instead of duplicating such state tracking in sparc specific
> code.
>
> Isn't it possible to use ON_STACK for dummy frames and still use
> the dummy frame tracking support provided by generic dummy frames?
> I don't see anything specific to the CALL_DUMMY mechanism used in
> those structures.

Yes, that is the theory. See the very recent patch:

[RFA] Save the call dummy address
http://sources.redhat.com/ml/gdb-patches/2002-04/msg00501.html

Andrew