Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@specifix.com>
To: Vladimir Prus <vladimir@codesourcery.com>
Cc: gdb@sourceware.org
Subject: Re: [MI] -break-delete with several breakpoints
Date: Tue, 29 Apr 2008 18:51:00 -0000	[thread overview]
Message-ID: <1209413338.4615.307.camel@localhost.localdomain> (raw)
In-Reply-To: <200804262208.50476.vladimir@codesourcery.com>

On Sat, 2008-04-26 at 22:08 +0400, Vladimir Prus wrote:
> I've noticed that right now, both -break-delete and -break-disable
> commands accept several breakpoint ids, like:
> 
> 	-break-disable 1 2 3
> 
> This behaviour comes almost by accident, and is not documented anywhere.
> The question is -- should we document it and add tests, or should we
> declare this behaviour does not exist?
> 
> I think that most of the time, making use of this behaviour will require
> explicit code in the frontend, and the question is if that makes sense.
> Say, for -var-update accepting a list of variable object might be good idea,
> since the number of variable object can be significant, and they are updated
> on each step. For deleting and disabling breakpoints, I'm actually not sure.
> Typically, there are few breakpoints and wholesale delete is not common,
> so it's not worth optimizing for.
> 
> Opinions?

I'm guessing that this is an artifact of the fact that 
the CLI commands (break, delete, enable, disable...)
are all willing to accept this type of argument list.




  parent reply	other threads:[~2008-04-28 20:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-26 21:28 Vladimir Prus
2008-04-26 22:23 ` Bob Rossi
2008-04-27  4:26   ` Nick Roberts
2008-04-27  4:26     ` Vladimir Prus
2008-04-27  6:25       ` Nick Roberts
2008-04-27 13:56         ` Nick Roberts
2008-04-28 17:55 ` André Pönitz
2008-04-29 18:51 ` Michael Snyder [this message]
2008-05-03  6:56 FW: " Bjarke Viksoe
2008-05-03 14:25 ` Daniel Jacobowitz
2008-05-03 15:23   ` Bjarke Viksoe

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=1209413338.4615.307.camel@localhost.localdomain \
    --to=msnyder@specifix.com \
    --cc=gdb@sourceware.org \
    --cc=vladimir@codesourcery.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