Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Matt Rice <ratmice@gmail.com>
To: Joel Brobecker <brobecker@adacore.com>, gdb-patches@sourceware.org
Subject: Re: [RFA] new set/show multiple-symbols command (take 4)
Date: Tue, 22 Sep 2009 14:38:00 -0000	[thread overview]
Message-ID: <8ba6bed40909220738m296c655v6c973e42d44c076c@mail.gmail.com> (raw)
In-Reply-To: <20080321145119.GC25307@caradoc.them.org>

On Sat, Feb 02, 2008 at 11:08:25PM -0800, Joel Brobecker wrote:
>>         (gdb) set multiple-symbols (ask|all|cancel)
>>         (gdb) show multiple-symbols
>

Hi, I wanted to get this question out here, I am kind of assuming it
might be too late to change this
to something to the effect of 'set multiple-symbols behaviour (ask|all|cancel)'

I would like to add something to the effect of

set multiple-symbols override-list 'foo=uhh::foo(void):bar=uhh::bar(int)'
or maybe
set multiple-symbols override-list add foo=uhh::foo(void)

It could always be added as a separate command 'set
multiple-symbols-override-list'
unless it is possible to have both:

set multiple-symbols (ask|all|cancel)
set multiple-symbols override-list 'list'

the idea is to first check the override-list, then fall if its not
found, fall back to (ask|all|cancel)

I was trying to think of a generic way I could avoid this hack in the
apple sources, will work on a patch in the nearish future:

      /* APPLE LOCAL: Don't look for method name matches if
         it's ``main''.  AppKit has a couple of classes with "main"
         methods now and this means every time you type "b main"
         on an ObjC program you get a "Select one of the following"
         dialogue.  Lame.  And it doesn't look like we can talk the
         AppKit guys down, so hack it in here.
         Jeez.  Same thing with "error" now.  Guess what function I put
         a breakpoint on all the time while working on gdb... */


  parent reply	other threads:[~2009-09-22 14:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-03  7:08 Joel Brobecker
2008-03-07 18:38 ` Joel Brobecker
2008-04-04  0:01   ` Joel Brobecker
2008-03-21 14:51 ` Daniel Jacobowitz
2008-03-22  0:09   ` Joel Brobecker
2008-03-22  1:28     ` Daniel Jacobowitz
2009-09-22 14:38   ` Matt Rice [this message]
2009-09-22 19:22     ` Matt Rice

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=8ba6bed40909220738m296c655v6c973e42d44c076c@mail.gmail.com \
    --to=ratmice@gmail.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /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