From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5209 invoked by alias); 9 Sep 2003 14:29:19 -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 5148 invoked from network); 9 Sep 2003 14:29:17 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 9 Sep 2003 14:29:17 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h89ETGl27136 for ; Tue, 9 Sep 2003 10:29:16 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h89ETFe05763; Tue, 9 Sep 2003 10:29:15 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id h89ETCSQ027755; Tue, 9 Sep 2003 10:29:13 -0400 Received: by localhost.redhat.com (Postfix, from userid 469) id 20B522CB2D; Tue, 9 Sep 2003 10:38:01 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16221.58824.883613.325384@localhost.redhat.com> Date: Tue, 09 Sep 2003 14:29:00 -0000 To: Michael Elizabeth Chastain Cc: ezannoni@redhat.com, ac131313@redhat.com, cgd@broadcom.com, gdb-patches@sources.redhat.com, kettenis@chello.nl, msnyder@redhat.com Subject: Re: [rfa:threads] Report when using libthread_db In-Reply-To: <200309080228.h882SkPU027270@duracef.shout.net> References: <200309080228.h882SkPU027270@duracef.shout.net> X-SW-Source: 2003-09/txt/msg00157.txt.bz2 Michael Elizabeth Chastain writes: > Somebody's mailer expanded the tabs to spaces, which made me > do a little more work. No big deal. And it needs a ChangeLog. > I know it needs a CL, this was just something I had laying around to see if it would help. I'll post a proper patch now. Not sure what happened with the spaces. > Other than that, this patch works fine in my test bed. It fixes the > problem all right. > thanks for testing it. > 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. > I can change that, it would shorten the pattern. > 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. > ok elena > 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"