Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: stan@codesourcery.com, gdb@sourceware.org
Subject: Re: [RFC] "actionpoints"?
Date: Mon, 18 Jan 2010 18:18:00 -0000	[thread overview]
Message-ID: <20100118181819.GN5800@adacore.com> (raw)
In-Reply-To: <83tyuj70yr.fsf@gnu.org>

> > I don't think we should change all the user interface (eg: info
> > breakpoints") where it is already clear what the output is about.
> 
> ??? How is it clear?  "info break" displays all ``actionpoints''
> regardless of their kind, last time I tried.  Am I missing something?

Yeah, well, the command is misnamed. We can introduce aliases and
do a gradual transition, if we want. But I think that'd bring very
little actual benefit.  However, I don't think that this is enough
for us to give up on the idea. We have a chance to:

  1. Improve the code - the current overload of "breakpoint" in
     various places such as to_can_use_hw_breakpoint is just misleading,
     and "point" just requires extra thinking every time I read it.
     It's misleading too. "*point" is less misleading, but how do you
     write *point in a C identifier?

  2. Improve the documentation and error messages.

If we introduce a new, well defined and documented terminology,
that says ``for GDB, actionpoint means any of [...]'', then we can
start using it. If, people come back to us, and ask: <<how come
this command is named "info break">>, we can certainly explain
that this is historical, and that we don't want to change it because
it's been used for 20 years.

We can't fix it all to make it perfect, but I think that introducing
a new term would still make it better.

-- 
Joel


  reply	other threads:[~2010-01-18 18:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-16  0:22 Stan Shebs
2010-01-16  7:57 ` Eli Zaretskii
2010-01-18 16:51   ` Stan Shebs
2010-01-18 18:08     ` Eli Zaretskii
2010-01-16 13:51 ` Frank Ch. Eigler
2010-01-18 17:09   ` Stan Shebs
2010-01-18  6:44 ` Joel Brobecker
2010-01-18 17:54   ` Eli Zaretskii
2010-01-18 18:18     ` Joel Brobecker [this message]
2010-01-18 18:53       ` Stan Shebs
2010-01-18 19:08         ` Pedro Alves
2010-01-18 18:44   ` Stan Shebs
2010-01-18 19:04     ` Pedro Alves
2010-01-21 21:24       ` Daniel Jacobowitz
2010-01-18 19:35     ` Frank Ch. Eigler

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=20100118181819.GN5800@adacore.com \
    --to=brobecker@adacore.com \
    --cc=eliz@gnu.org \
    --cc=gdb@sourceware.org \
    --cc=stan@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