From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31260 invoked by alias); 27 Jun 2013 20:46:27 -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 31249 invoked by uid 89); 27 Jun 2013 20:46:27 -0000 X-Spam-SWARE-Status: No, score=-6.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 27 Jun 2013 20:46:26 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5RKkOaX024316 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 27 Jun 2013 16:46:24 -0400 Received: from barimba (ovpn-113-102.phx2.redhat.com [10.3.113.102]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r5RKkMh1009268 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 27 Jun 2013 16:46:23 -0400 From: Tom Tromey To: Sergio Durigan Junior Cc: Joel Brobecker , gdb-patches@sourceware.org, Jan Kratochvil , Pedro Alves Subject: Re: [commit] Improved linker-debugger interface References: <20130516144340.GA2105@blade.nx> <20130604133819.GA25892@blade.nx> <20130625205350.GA28973@adacore.com> <87hagkrih3.fsf@fleche.redhat.com> Date: Thu, 27 Jun 2013 23:33:00 -0000 In-Reply-To: (Sergio Durigan Junior's message of "Wed, 26 Jun 2013 14:11:40 -0300") Message-ID: <87vc4zl1sx.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-06/txt/msg00864.txt.bz2 >>>>> "Sergio" == Sergio Durigan Junior writes: Sergio> What could be done is to check gdbarch_stap_is_single_operand_p. This Sergio> is a mandatory function that needs to be set by the target. If it Sergio> doesn't exist, then we know that the target lacks SDT support. Sergio> Before I work on a patch, I'd like to know what you think. I think this would be good. The error could ask the user to report a different kind of bug -- "please do this port" :) Tom