This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfc,RFA:doco] STORE_RETURN_VALUE with regcache
Date: Thu, 22 Aug 2002 13:23:21 -0400
From: Andrew Cagney <ac131313@ges.redhat.com>
> My idea for fixing this is illustrated by the following patch, but
> perhaps there is a more elegant way to do this?
I've so far not come up with anything better. The attached gets around
the problem by dropping the sanity check -- it is easier to apply. The
lack of a function will be detected (internal-error) but when it is
first called.
thoughts?
Not really. Catching gdbarch problems on startup is certainly
preferable to running into problems later, but I think in this case
it's not really a problem. We'll be removing the deprecated functions
somewhere in the future, so the problem will go away eventually.
So, go ahead!
Mark