From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 51255 invoked by alias); 20 Dec 2017 16:23:20 -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 51179 invoked by uid 89); 20 Dec 2017 16:23:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=watch X-HELO: mail-qt0-f169.google.com Received: from mail-qt0-f169.google.com (HELO mail-qt0-f169.google.com) (209.85.216.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Dec 2017 16:23:13 +0000 Received: by mail-qt0-f169.google.com with SMTP id 33so28982057qtv.1 for ; Wed, 20 Dec 2017 08:23:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=/Js3c/IOj8YihurWic4N5dd8zC8WZBahFimcA6MhL3E=; b=qe/bFW4AzETYNwRQ5nh1a6yz9e8ZzEg5peAJg1zu9PjoVsf0MOFV31MSfvicUdEnpP FYtGVWt8lUpAx0m7KOnnfnjG5CrVoNHP0vbrLNHTRwFZCDeeMAP7T3UYFmdtTY1Huv4n AdC+pza7v6IX1519XLpGoSPwjwfDPvrBABxAVF3r4gL+e7FIqpMNw1RTPBaqqfhthg5q 9Vo4kma4tIgzWfUTTXx/Z94ap9V9x9qbwwVSrbx+qc9/0JQQCbf1KdJzZmI90PndzUuD nSvxciopPfX8KyO+7sgLCpi60oofcojNh+u5rIymjMLfcqChToo60ZHhc0CXY9x52+pN 7OHw== X-Gm-Message-State: AKGB3mKGefvDUisDGRF4atcVbY/X1ZlKhuT0y/xYZS883crp8b+MoxaN DALEscjGbitY+0G+vh+BYBUk2BlyjUc8358yucOouQ== X-Google-Smtp-Source: ACJfBou4cjKxxioUBilvdcQm2xRj6MsKKQCYKy6gdbJ9eVmS8aZKqMdKf9tQibuA+geMAFQVq/049keHNvD/mbo9qMU= X-Received: by 10.200.63.107 with SMTP id w40mr10561540qtk.24.1513786992229; Wed, 20 Dec 2017 08:23:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.132.161 with HTTP; Wed, 20 Dec 2017 08:23:11 -0800 (PST) In-Reply-To: References: <86o9mu8v32.fsf@gmail.com> From: Yao Qi Date: Wed, 20 Dec 2017 16:23:00 -0000 Message-ID: Subject: Re: ppc64* native-gdbserver testsuite hangs on gdb.threads/process-dies-while-handling-bp.exp To: Edjunior Machado Cc: GDB Patches Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-12/txt/msg00453.txt.bz2 On Wed, Dec 20, 2017 at 3:23 PM, Edjunior Machado wrot= e: > thanks a lot for the patch! Testing the fix on Fedora26, confirmed that > native-gdbserver no longer hangs on > gdb.threads/process-dies-while-handling-bp.exp in both ppc64le and be. > > Unfortunately, I couldn't regtest running the complete testsuite due to > another hang I'm still checking (likely caused by hw watch not working > properly on such boxes). > Is it gdb.base/watchpoints.exp? My regression test running on gcc110 is very slow, blocked by gdb.base/watchpoints.exp. The test needs two HW watchpoints, but ppc only has one HW watchpoint register. GDB native can do resource counting, so it is smart enough to switch to SW wathcpoint if there is not enough HW watchpoint registers. However, GDB remote can *not* do resource counting, so GDB fails to insert watchpoints, and all the following tests timeout. --=20 Yao (=E9=BD=90=E5=B0=A7)