From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12964 invoked by alias); 10 Oct 2003 15:44:40 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12957 invoked from network); 10 Oct 2003 15:44:39 -0000 Received: from unknown (HELO smtp.inode.at) (62.99.194.4) by sources.redhat.com with SMTP; 10 Oct 2003 15:44:39 -0000 Received: from [213.33.60.154] (port=20524 helo=inode.at) by smtp.inode.at with asmtp (Exim 4.10) id 1A7zRS-0005bq-00; Fri, 10 Oct 2003 17:44:34 +0200 Message-ID: <3F86D2B6.8020503@inode.at> Date: Fri, 10 Oct 2003 15:44:00 -0000 From: David Ayers User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030916 X-Accept-Language: en-us, en, de-de, de MIME-Version: 1.0 To: Daniel Jacobowitz CC: gdb@sources.redhat.com Subject: Re: Unambiguously specifying source locations References: <20031010153050.GA7318@nevyn.them.org> In-Reply-To: <20031010153050.GA7318@nevyn.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00175.txt.bz2 Daniel Jacobowitz wrote: >The use of braces is not entirely coincidental. decode_line_1 currently >does not accept anything that starts with a '[' as far as I can see; ObjC >selectors always have +[ or -[. > Actually this is not the case. If the +/- is omitted both are offered as breakpoints if they exist: (gdb) b [NSObject autorelease] [0] cancel [1] all [2] -[NSObject autorelease] at NSObject.m:1553 [3] +[NSObject autorelease] at NSObject.m:1575 > But maybe you could rely on the fact that there must be a white space between the class and the message. Cheers, David Ayers