This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [PING] [RFC] Thread debug support for NetBSD 5
- From: "Paul Koning" <Paul_Koning at Dell dot com>
- To: "Mark Kettenis" <mark dot kettenis at xs4all dot nl>
- Cc: <gdb-patches at sourceware dot org>
- Date: Sun, 2 May 2010 20:57:49 -0400
- Subject: RE: [PING] [RFC] Thread debug support for NetBSD 5
- References: <19405.52446.728141.329821@pkoning-laptop.equallogic.com> <19408.27827.830391.509465@pkoning-laptop.equallogic.com> <19417.40044.762978.858637@pkoning-laptop.equallogic.com> <201005021328.o42DSlce001475@glazunov.sibelius.xs4all.nl>
> I have two questions:
>
> 1. Does the code still work on older versions of NetBSD?
There isn't any released threads support for older NetBSDs that I know
of. Also, NetBSD needed some work (to make the ptrace function
sufficiently capable) which is in NetBSD-current, which is 5.0.
> 2. You could consider getting rid of the HAVE_PT_GETXMMREGS
> conditionaization. That would simplify the code a bit. It would
> mean mean dropping support for ancient NetBSD versions though.
Ok, thanks.
> I didn't look too closely at the nbsd-thread.c code, but nothing
> stands out as obviously wrong to me. Pedro spotted a few things there
> though.
Thanks. I haven't had any other feedback yet.
paul