From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2076 invoked by alias); 14 Sep 2014 11:31:42 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 2061 invoked by uid 89); 14 Sep 2014 11:31:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_50,FAKE_REPLY_C,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 X-HELO: mail-out.m-online.net Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Sun, 14 Sep 2014 11:31:38 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3hwpSR1cShz3hj2j; Sun, 14 Sep 2014 13:31:34 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3hwpSQ4v2czvh2K; Sun, 14 Sep 2014 13:31:34 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id G29nsdSLpmoR; Sun, 14 Sep 2014 13:31:33 +0200 (CEST) X-Auth-Info: fJz/KeoXMie7Bb8tegGHwb43wRx8Wue8+c/Qwsc+yOKtc2nQTF0JW3l6Ct9Bpm6K Received: from igel.home (ppp-93-104-159-138.dynamic.mnet-online.de [93.104.159.138]) by mail.mnet-online.de (Postfix) with ESMTPA; Sun, 14 Sep 2014 13:31:33 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id A908E2C1CFC; Sun, 14 Sep 2014 13:31:33 +0200 (CEST) From: Andreas Schwab To: Yao Qi Subject: Re: [PATCH] Fix gdb.dwarf2/dwz.exp for thumb mode CC: gdb-patches@sourceware.org X-Yow: Look into my eyes and try to forget that you have a Macy's charge card! Date: Sun, 14 Sep 2014 11:31:00 -0000 In-Reply-To: Yao Qi's message of "\(unknown date\)" Message-ID: <87siju7816.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2014-09/txt/msg00481.txt.bz2 Yao Qi writes: > @@ -59,9 +60,17 @@ gdb_test_multiple $test $test { > } > } > > -if { $main_length == "" } { > +set main_label_offset "" > +set test "p main_label" > +gdb_test_multiple $test $test { > + -re ".* = {.*} $hex .*\r\n$gdb_prompt $" { > + set main_label_offset $expect_out(1,string) > + } > +} This will also fail to match if assembler labels are prefixed. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."