Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Vladimir Prus <vladimir@codesourcery.com>
To: gdb@sourceware.org
Subject: [MI] -break-delete with several breakpoints
Date: Sat, 26 Apr 2008 21:28:00 -0000	[thread overview]
Message-ID: <200804262208.50476.vladimir@codesourcery.com> (raw)


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?

- Volodya


             reply	other threads:[~2008-04-26 18:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-26 21:28 Vladimir Prus [this message]
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
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=200804262208.50476.vladimir@codesourcery.com \
    --to=vladimir@codesourcery.com \
    --cc=gdb@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