From: "André Pönitz" <apoenitz@trolltech.com>
To: gdb@sourceware.org
Subject: Re: [MI] -break-delete with several breakpoints
Date: Mon, 28 Apr 2008 17:55:00 -0000 [thread overview]
Message-ID: <200804281003.38401.apoenitz@trolltech.com> (raw)
In-Reply-To: <200804262208.50476.vladimir@codesourcery.com>
On Saturday 26 April 2008 20:08:50 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 would disallow it. Keep it simple ;-)
> 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.
I doubt it would. I could as well fire off three separate commands.
As that would not require extra roundtrips, that's basically 'free'.
> 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.
I fully agree.
Andre'
next prev parent reply other threads:[~2008-04-28 8:02 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 [this message]
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=200804281003.38401.apoenitz@trolltech.com \
--to=apoenitz@trolltech.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