This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] regcache fix
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.