From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 114853 invoked by alias); 3 Mar 2015 12:06:21 -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 114841 invoked by uid 89); 3 Mar 2015 12:06:20 -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,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-pa0-f41.google.com Received: from mail-pa0-f41.google.com (HELO mail-pa0-f41.google.com) (209.85.220.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 03 Mar 2015 12:06:19 +0000 Received: by pabli10 with SMTP id li10so23614240pab.2 for ; Tue, 03 Mar 2015 04:06:17 -0800 (PST) X-Received: by 10.70.36.75 with SMTP id o11mr55108963pdj.107.1425384377783; Tue, 03 Mar 2015 04:06:17 -0800 (PST) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by mx.google.com with ESMTPSA id o4sm889859pdh.6.2015.03.03.04.06.15 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 03 Mar 2015 04:06:17 -0800 (PST) From: Yao Qi To: Pedro Alves Cc: Yao Qi , gdb-patches@sourceware.org Subject: Re: [RFC] Support command "catch syscall" properly on different targets References: <1425047015-1906-1-git-send-email-qiyaoltc@gmail.com> <54F0BC6B.8070901@redhat.com> Date: Tue, 03 Mar 2015 12:06:00 -0000 In-Reply-To: <54F0BC6B.8070901@redhat.com> (Pedro Alves's message of "Fri, 27 Feb 2015 18:50:19 +0000") Message-ID: <86pp8qi8ui.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00069.txt.bz2 Pedro Alves writes: > Do we actually need to do anything when the inferior is created? > Supposedly once the inferior is created, we'll try to insert > the catchpoint, and that will fail is the target does not > support it. No, but we need to tweak test case to emit UNSUPPORTED instead of FAIL if the target doesn't support "catch syscall". --=20 Yao (=E9=BD=90=E5=B0=A7)