[RFA] regcache fix

Martin M. Hunt hunt@redhat.com
Wed Mar 20 18:16:00 GMT 2002


Committed.

On Wednesday 20 March 2002 12:41 pm, Andrew Cagney wrote:
> > Currently build_regcache is called 3 times, once at initialization,
> > before any architectures are registered, once when the host is
> > registered and once when the target is registered.  I don't see
> > any reason for the first call, and in some non-multiarched
> > targets it can cause core dumps.
>
> (the second time is for bfd's default architecture)
>
> Yep, ok!  There is no longer a need to do this, and other similar,
> calls.  Will make understanding things a little bit easier.
>
> Thanks for testing this on non-multi-arch as well.



More information about the Gdb-patches mailing list