Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Stan Shebs <stan@codesourcery.com>
To: gdb@sourceware.org
Subject: [RFC] "actionpoints"?
Date: Sat, 16 Jan 2010 00:22:00 -0000	[thread overview]
Message-ID: <4B5106CB.5060204@codesourcery.com> (raw)

One of the issues that has come up regularly in our tracepoint work is 
what GDB's messages to the user should say when they are referring to 
various combinations of tracepoints and breakpoints.  We haven't dealt 
with it consistently so far, sometimes writing code to specifically say 
"tracepoint" when all the objects are tracepoints, sometimes saying "or" 
with several types, and sometimes relying on GDB's overloading of 
"breakpoint" to mean both stopping places and anything that uses the 
breakpoint.c infrastructure.

Although we've been doing the overloading for a long time, it's really 
abusing our terminology, and has to be confusing to users.

It turns out there is a generic term available - "actionpoint".  It 
originally comes from TotalView I think, and was adopted into the HPD 
(high performance debugger) spec back in the 90s.

A plus is that the term is sufficiently vague that it is sensible for 
watchpoints, catchpoints, tracepoints, breakpoints, and the rest of the 
menagerie, including future ideas we haven't thought of yet.  A minus is 
that it means having to teach an unfamiliar term to users, and it 
entails a certain amount of hacking up the manual.

There is also the risk that some (and you know who you are :-) ) will 
feel an overwhelming urge to rename source code to actionpoint.c, struct 
actionpoint, etc, which I *don't* want to do - it's a lot of busywork 
that doesn't directly help the user.  Right now I just want to think 
about how to give good feedback to users; should we introduce a new 
term, continue using "breakpoint", concoct phrases with "/" and "or", or 
do something else entirely?

Stan


             reply	other threads:[~2010-01-16  0:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-16  0:22 Stan Shebs [this message]
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
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=4B5106CB.5060204@codesourcery.com \
    --to=stan@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