This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] Overhaul i386nbsd-nat.c, add support for XMM + ELF core files
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.