From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17848 invoked by alias); 1 Aug 2017 17:41:54 -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 17821 invoked by uid 89); 1 Aug 2017 17:41:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1408 X-HELO: userp1040.oracle.com Received: from userp1040.oracle.com (HELO userp1040.oracle.com) (156.151.31.81) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 01 Aug 2017 17:41:52 +0000 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v71HfnLa014262 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 1 Aug 2017 17:41:49 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v71Hfmmj030120 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 1 Aug 2017 17:41:49 GMT Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v71Hfm4s014593; Tue, 1 Aug 2017 17:41:48 GMT Received: from [10.159.255.223] (/10.159.255.223) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 01 Aug 2017 10:41:47 -0700 Subject: Re: [PATCH v4] gdb: ADI support To: Yao Qi Cc: "gdb-patches@sourceware.org" References: <1500424890-112103-1-git-send-email-weimin.pan@oracle.com> <86o9s8pmyg.fsf@gmail.com> <86d18mqgd1.fsf@gmail.com> <7062f348-98f9-fef6-aa76-02308abf9c01@oracle.com> <868tj3ml8s.fsf@gmail.com> From: Wei-min Pan Message-ID: <7f935578-b9ce-1deb-880b-47d53aca25a7@oracle.com> Date: Tue, 01 Aug 2017 17:41:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <868tj3ml8s.fsf@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-08/txt/msg00013.txt.bz2 Thanks for your suggestions. There are 3 failures however. On 8/1/2017 7:10 AM, Yao Qi wrote: > Wei-min Pan writes: > >> (gdb) PASS: gdb.arch/sparc64-adi.exp: continue to breakpoint: continue >> to line breakpoint in main >> adi x shmaddr^M >> 0xfff800010002c000: 0 ^M > gdb_test "adi x shmaddr" "${hex}00:\t0" "examine ADI" It will pass if changed to gdb_test "adi x shmaddr" "${hex}00:.*\t0.*" "examine ADI" > gdb_test "adi x/100 shmaddr" "${hex}00:\t${newadi} ${newadi}" \ > "examine new ADI" It will pass if changed to: gdb_test "adi x/100 shmaddr" "${hex}00:.*\t${newadi} ${newadi}.*" \ "examine new ADI" >> (gdb) PASS: gdb.arch/sparc64-adi.exp: reset ADI >> continue^M >> Continuing.^M >> ^M >> Program received signal SIGSEGV, Segmentation fault^M >> ADI precise mismatch while accessing address 0xfff8000100048000.^M >> 0xfff8000100129f38 in adi_set_version () from /usr/lib64/libadi.so^M > gdb_test "continue" \ > [multi_line "Program received signal SIGSEGV, Segmentation fault" \ > "ADI precise mismatch while accessing address $hex" ] \ > "continue to sigsegv" And it will pass if changed to gdb_test "continue" \ [multi_line ".*Program received signal SIGSEGV, Segmentation fault.*" \ ".*ADI precise mismatch while accessing address $hex.*" ] \ "continue to sigsegv" >> (gdb) PASS: gdb.arch/sparc64-adi.exp: continue to sigsegv