RFA: test GDB's ability to kill threaded programs that die messily

Michael Snyder msnyder@redhat.com
Wed Jun 12 18:13:00 GMT 2002


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



More information about the Gdb-patches mailing list