From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4715 invoked by alias); 27 Jul 2012 11:03:41 -0000 Received: (qmail 4707 invoked by uid 22791); 27 Jul 2012 11:03:40 -0000 X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Jul 2012 11:03:23 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M7T00400FXM6X00@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Fri, 27 Jul 2012 14:03:04 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7T003YVG14RHA0@a-mtaout20.012.net.il>; Fri, 27 Jul 2012 14:03:04 +0300 (IDT) Date: Fri, 27 Jul 2012 11:03:00 -0000 From: Eli Zaretskii Subject: Re: [RFA 0/5] Explicit linespecs In-reply-to: <50120ECF.4020709@redhat.com> To: Keith Seitz Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <834notjwk1.fsf@gnu.org> References: <50120ECF.4020709@redhat.com> 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/msg00670.txt.bz2 > Date: Thu, 26 Jul 2012 20:45:19 -0700 > From: Keith Seitz > > For some time now, I've been toying with mi/13139, which is a feature > request for "explicit linespecs" -- linespecs which bypass the linespec > parser. This might provide some relief for very large applications where > linespec can get egregiously slow. > > To cut to the chase, they may be used by either CLI or MI right now. > For the CLI, the generic syntax is: > > -source XXX > -function XXX > -label XXX > -offset XXX > -address XXX 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? (I've read the documentation patch, but these questions don't seem to be answered there, either.) Also, the above doesn't seem to cover the magical '*function' location spec. Thanks.