Re: [patch] Overhaul i386nbsd-nat.c, add support for XMM + ELF core files

Michael Snyder
2002-01-05T20:59:55Z

Andrew Cagney wrote:
>
> > (fill_gregset): Use regcache_collect.
> >
> >
> > Are you concerned about threads? regcache_collect is not thread-aware.
>
> I don't think that is a problem here. The code it is replacing was
> using registers[] directly. regcache_collect() is definitly less evil
> than registers[] :-)

Definitely.

> Oh, and released versioins of NetBSD don't have kernel level threads.

OK, then it's not an issue.