Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: David Ayers <d.ayers@inode.at>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: gdb@sources.redhat.com
Subject: Re: Unambiguously specifying source locations
Date: Fri, 10 Oct 2003 15:44:00 -0000	[thread overview]
Message-ID: <3F86D2B6.8020503@inode.at> (raw)
In-Reply-To: <20031010153050.GA7318@nevyn.them.org>

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




  reply	other threads:[~2003-10-10 15:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <drow@mvista.com>
2003-10-10 15:30 ` Daniel Jacobowitz
2003-10-10 15:44   ` David Ayers [this message]
2003-10-10 15:46     ` Daniel Jacobowitz
2003-10-11  2:21   ` Felix Lee
     [not found] <1065875539.13549.ezmlm@sources.redhat.com>
2003-10-13 17:24 ` Jim Ingham
2003-10-13 17:32   ` Daniel Jacobowitz
     [not found] <1066172792.26963.ezmlm@sources.redhat.com>
2003-10-14 23:47 ` Jim Ingham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F86D2B6.8020503@inode.at \
    --to=d.ayers@inode.at \
    --cc=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox