From: Eli Zaretskii <eliz@gnu.org>
To: Guillaume Leconte <guillaume.leconte@gmail.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] delete a range of display numbers
Date: Fri, 18 Feb 2011 11:08:00 -0000 [thread overview]
Message-ID: <83vd0hvdls.fsf@gnu.org> (raw)
In-Reply-To: <AANLkTikgj9Pxw15Ryx=E=tkGqALaK+WOzrGykfrOggTY@mail.gmail.com>
> Date: Fri, 18 Feb 2011 10:36:18 +0100
> From: Guillaume Leconte <guillaume.leconte@gmail.com>
>
> Notice that I've change the prototype of delete_display() in order
> to have a silent return in case of unknown number. If you have set
> the display numbers 1, 2, 3 and 5, you can remove 2-5 without any
> error messages (number 4 is missing in the list). As a consequence,
> you can also remove out of bound numbers, as in 'delete display 5-42'
> without having gdb complaining.
I think it's a convenient feature, but doing this silently may not be
a good idea. How about displaying a note about this? Something like
(Ignored some display numbers.)
WDYT?
next prev parent reply other threads:[~2011-02-18 10:30 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-18 9:47 Guillaume Leconte
2011-02-18 10:30 ` Guillaume Leconte
2011-02-18 11:08 ` Eli Zaretskii [this message]
2011-02-18 11:48 ` Guillaume Leconte
2011-02-18 12:17 ` Pedro Alves
2011-02-18 14:41 ` Guillaume Leconte
2011-02-18 15:14 ` Tom Tromey
2011-02-18 15:58 ` Pedro Alves
2011-02-18 16:48 ` Tom Tromey
2011-02-18 16:57 ` Pedro Alves
2011-02-18 17:41 ` Eli Zaretskii
2011-02-18 17:54 ` Pedro Alves
2011-02-18 17:54 ` Michael Snyder
2011-02-18 18:06 ` Pedro Alves
2011-03-14 21:24 ` [patch+docs] make 'disable|enable display' also accept ranges (Re: [patch] delete a range of display numbers) Pedro Alves
2011-03-14 21:34 ` Eli Zaretskii
2011-03-15 14:43 ` Pedro Alves
2011-02-18 18:17 ` [patch] delete a range of display numbers Eli Zaretskii
2011-02-18 17:52 ` Michael Snyder
2011-02-18 17:57 ` Pedro Alves
2011-02-18 17:44 ` Michael Snyder
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=83vd0hvdls.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=guillaume.leconte@gmail.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