From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12491 invoked by alias); 29 Jul 2012 18:51:07 -0000 Received: (qmail 12483 invoked by uid 22791); 29 Jul 2012 18:51:06 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 29 Jul 2012 18:50:48 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q6TIokBK032143 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 29 Jul 2012 14:50:46 -0400 Received: from valrhona.uglyboxes.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q6TIoh7I018006 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 29 Jul 2012 14:50:45 -0400 Message-ID: <50158603.60503@redhat.com> Date: Sun, 29 Jul 2012 18:51:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Eli Zaretskii CC: gdb-patches@sourceware.org Subject: Re: [RFA 0/5] Explicit linespecs References: <50120ECF.4020709@redhat.com> <834notjwk1.fsf@gnu.org> In-Reply-To: <834notjwk1.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2012-07/txt/msg00728.txt.bz2 On 07/27/2012 04:03 AM, Eli Zaretskii wrote: > What exactly does the "offset" option do? Is it a line offset, or is > it measured in other units? If it's a line offset, then why not call > it "-line"? If "offset" means it's a relative line offset, then what > is it relative to? It is completely analogous to the linespec parser. It could be an absolute line number (if -source given) or relative (if -function/-label). [Note that function/label relative offsets have not been implemented yet -- right now they are simply ignored (per maintainers request).] I can certainly rename the option to be more user-friendly. I just used the same terminology that is used inside the parser. > Also, the above doesn't seem to cover the magical '*function' location > spec. That's the -address option. Keith