This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: test GDB's ability to kill threaded programs that die messily
Jim Blandy wrote:
>
> Michael Snyder <msnyder@redhat.com> writes:
> > Jim Blandy wrote:
> > >
> > > This tests the bug reported in gdb/568.
> > >
> > > 2002-06-12 Jim Blandy <jimb@redhat.com>
> > >
> > > * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
> >
> > Why run it only on linux? It might pass perfectly well on other
> > systems -- and if not, it's a bug there too, which we might want
> > to know.
>
> Definitely. I thought the link process (-lpthread) was linux-only.
> Can we write portable code in the test suite that builds
> multi-threaded programs?
We already have -- see pthread.exp