This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: test suite: recognize GDB message for unsupported threads
- To: Jim Blandy <jimb at cygnus dot com>
- Subject: Re: [RFA]: test suite: recognize GDB message for unsupported threads
- From: Michael Snyder <msnyder at cygnus dot com>
- Date: Fri, 16 Mar 2001 11:15:37 -0800
- CC: gdb-patches at sources dot redhat dot com
- Organization: Red Hat
- References: <200103160237.VAA26416@zwingli.cygnus.com>
Jim Blandy wrote:
>
> Without this change, the test suite hangs on Linux systems that have
> real-time signals, but lack libthread-db.
Cool. As the new but not yet announced co-maintainer for gdb thread testsuites,
I approve. Please check it in.
> 2001-03-15 Jim Blandy <jimb@redhat.com>
>
> * gdb.threads/linux-dp.exp: Recognize an additional message
> generated by GDB when it doesn't understand how to debug threads
> on the target system.
>
> Index: gdb/testsuite/gdb.threads/linux-dp.exp
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/gdb.threads/linux-dp.exp,v
> retrieving revision 1.2
> diff -c -r1.2 linux-dp.exp
> *** gdb/testsuite/gdb.threads/linux-dp.exp 2001/03/06 08:21:59 1.2
> --- gdb/testsuite/gdb.threads/linux-dp.exp 2001/03/16 02:01:23
> ***************
> *** 71,77 ****
> -re "\\\[New .*\\\].*$gdb_prompt $" {
> pass "create philosopher: $i"
> }
> ! -re "Program received signal.*(Unknown signal|SIGUSR).*$gdb_prompt $" {
> # It would be nice if we could catch the message that GDB prints
> # when it first notices that the thread library doesn't support
> # debugging, or if we could explicitly ask GDB somehow.
> --- 71,77 ----
> -re "\\\[New .*\\\].*$gdb_prompt $" {
> pass "create philosopher: $i"
> }
> ! -re "Program received signal.*(Unknown signal|SIGUSR|Real-time event).*$gdb_prompt $" {
> # It would be nice if we could catch the message that GDB prints
> # when it first notices that the thread library doesn't support
> # debugging, or if we could explicitly ask GDB somehow.