From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19725 invoked by alias); 30 Jun 2013 00:38:32 -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 19715 invoked by uid 89); 30 Jun 2013 00:38:32 -0000 X-Spam-SWARE-Status: No, score=-6.8 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; Sun, 30 Jun 2013 00:38:31 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5U0cSDT026720 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 29 Jun 2013 20:38:28 -0400 Received: from psique (ovpn-113-175.phx2.redhat.com [10.3.113.175]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r5U0cOAZ001266 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sat, 29 Jun 2013 20:38:26 -0400 From: Sergio Durigan Junior To: Tom Tromey 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> <87vc4zl1sx.fsf@fleche.redhat.com> X-URL: http://www.redhat.com Date: Sun, 30 Jun 2013 03:12:00 -0000 In-Reply-To: <87vc4zl1sx.fsf@fleche.redhat.com> (Tom Tromey's message of "Thu, 27 Jun 2013 14:46:22 -0600") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-06/txt/msg00937.txt.bz2 On Thursday, June 27 2013, Tom Tromey wrote: >>>>>> "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" :) Sounds fine by me :-). I will work on a patch and submit it ASAP. Thanks, -- Sergio