public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Philippe Waroquiers <philippe.waroquiers@skynet.be>
To: Pedro Alves <pedro@palves.net>, Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] gdb/manual: Introduce locspecs
Date: Wed, 25 May 2022 23:24:40 +0200	[thread overview]
Message-ID: <90766c666b0108ea2ab8d298c82dd9004af49ed7.camel@skynet.be> (raw)
In-Reply-To: <0f341f7e-1eca-7087-495f-32f32fcc58e8@palves.net>

On Wed, 2022-05-25 at 21:05 +0100, Pedro Alves wrote:
> On 2022-05-25 20:56, Eli Zaretskii wrote:
> > > From: Pedro Alves <pedro@palves.net>
> > > Date: Wed, 25 May 2022 20:31:26 +0100
> > > 
> > > To clarify this, I propose we use the term "Location Specification",
> > > with shorthand "locspec", when we're talking about the user input, the
> > > argument or arguments that is/are passed to commands to instruct GDB
> > > how to find locations of interest.  This is distinct from the actual
> > > locations in the program, which are what GDB finds based on the
> > > user-specified locspec.  Then use "locspec" thoughout instead of
> > > "location" when we're talking about the user input.
> > 
> > Sorry, but I don't think this is a good idea.  It is IMO okay to
> > introduce "location specification" into our terminology; it is even
> > okay to use "location spec" as its shorthand.  But "locspec" is too
> > much: it's not a word, so it doesn't explain itself enough, and thus
> > cannot be used very far from where it is defined, because the reader
> > will likely not understand what it means.
> 
> Yet, we have "linespec" and people understand it just fine, it's described
> once in a single spot in the manual.  "locspec" just sounds novel now, but it won't be
> novel anymore once we start using it.  It sounds like you are against any term that
> is new just because it is new.  That just blocks progress forever.  It is not reasonable.
> New shorthand names for for things that are referred very frequently should be fine
> to invent.  Our users aren't dummies and they learn things.
IIUC, Eli would like to have location reserved for a breakpoint giving multiple resulting
locations.

Why not then use   breakpoint specification/bkptspec for the first concept
and location for the second ?

Thanks
Philippe



  reply	other threads:[~2022-05-25 21:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-25 19:31 Pedro Alves
2022-05-25 19:56 ` Eli Zaretskii
2022-05-25 20:05   ` Pedro Alves
2022-05-25 21:24     ` Philippe Waroquiers [this message]
2022-05-25 22:18       ` Pedro Alves
2022-05-26  6:51         ` Eli Zaretskii
2022-05-26 13:41           ` Simon Marchi
2022-05-26 12:56     ` Eli Zaretskii
2022-05-25 21:02   ` [PATCH v2] gdb/manual: Introduce location specs Pedro Alves
2022-05-26  6:50     ` Eli Zaretskii
2022-05-26 12:26       ` [PATCH v3] " Pedro Alves
2022-05-26 13:52         ` Eli Zaretskii

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=90766c666b0108ea2ab8d298c82dd9004af49ed7.camel@skynet.be \
    --to=philippe.waroquiers@skynet.be \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro@palves.net \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).