From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21436 invoked by alias); 8 Sep 2003 02:28:51 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 21412 invoked from network); 8 Sep 2003 02:28:51 -0000 Received: from unknown (HELO concert.shout.net) (204.253.184.25) by sources.redhat.com with SMTP; 8 Sep 2003 02:28:51 -0000 Received: from duracef.shout.net (duracef.shout.net [204.253.184.12]) by concert.shout.net (8.12.9/8.12.9) with ESMTP id h882Sks4016435; Sun, 7 Sep 2003 21:28:46 -0500 Received: from duracef.shout.net (localhost [127.0.0.1]) by duracef.shout.net (8.12.9/8.12.9) with ESMTP id h882SkHK027272; Sun, 7 Sep 2003 21:28:46 -0500 Received: (from mec@localhost) by duracef.shout.net (8.12.9/8.12.9/Submit) id h882SkPU027270; Sun, 7 Sep 2003 22:28:46 -0400 Date: Mon, 08 Sep 2003 02:28:00 -0000 From: Michael Elizabeth Chastain Message-Id: <200309080228.h882SkPU027270@duracef.shout.net> To: ezannoni@redhat.com Subject: Re: [rfa:threads] Report when using libthread_db Cc: ac131313@redhat.com, cgd@broadcom.com, gdb-patches@sources.redhat.com, kettenis@chello.nl, msnyder@redhat.com X-SW-Source: 2003-09/txt/msg00104.txt.bz2 Somebody's mailer expanded the tabs to spaces, which made me do a little more work. No big deal. And it needs a ChangeLog. Other than that, this patch works fine in my test bed. It fixes the problem all right. I would write it differently, with the "Reading symbols ..." as a common part and then a "(|Using host libthread_db ...)". But I'd like to just get it done and move on to the next problem. Recommended for approval, on HEAD only, not the branch. The new message is not on the branch so this is not needed on the branch. Michael C === --- gdb+dejagnu-5.3.90_20030710/gdb/testsuite/gdb.base/relocate.exp.1 Fri Aug 15 11:20:44 2003 +++ gdb+dejagnu-5.3.90_20030710/gdb/testsuite/gdb.base/relocate.exp Fri Aug 15 11:23:31 2003 @@ -67,7 +67,7 @@ gdb_reinitialize_dir $srcdir/$subdir # Load the object file. gdb_test "add-symbol-file ${binfile} 0" \ - "Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\." \ + "(Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\.)|(Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\..*Using host libthread_db library .*libthread_db.so.*\\.)" \ "add-symbol-file ${testfile}.o 0" \ "add symbol table from file \".*${testfile}\\.o\" at\[ \t\r\n\]+\.text_addr = 0x0\[\r\n\]+\\(y or n\\) " \ "y" @@ -116,7 +116,7 @@ gdb_test "set \$offset = 0x10000" "" # Load the object file. gdb_test "add-symbol-file ${binfile} \$offset" \ - "Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\." \ + "(Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\.)|(Reading symbols from .*${testfile}\\.o\\.\\.\\.done\\..*Using host libthread_db library .*libthread_db.so.*\\.)" \ "add-symbol-file ${testfile}.o \$offset" \ "add symbol table from file \".*${testfile}\\.o\" at\[ \t\r\n\]+\.text_addr = 0x10000\[\r\n\]+\\(y or n\\) " \ "y"