Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: Tom de Vries <tdevries@suse.de>
Cc: Tom Tromey <tom@tromey.com>,
	Simon Marchi via Gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [RFC][gdb/cli] Ignore error in gdb command script
Date: Tue, 18 May 2021 09:32:15 -0600	[thread overview]
Message-ID: <875yzg12io.fsf@tromey.com> (raw)
In-Reply-To: <b2e233ef-c508-842b-1476-23c5ca098abf@suse.de> (Tom de Vries's message of "Tue, 18 May 2021 17:16:11 +0200")

>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:

Tom> +  const char *ignore_errors_help_text
Tom> +    = ("Execute a single command, ignoring all errors.\n"
Tom> +       "Only one-line commands are supported.\n"
Tom> +       "This is primarily useful in scripts.");
Tom> +  c = add_cmd ("ignore-errors", class_support, ignore_errors_command,
Tom> +	       ignore_errors_help_text, &cmdlist);

It's more normal to inline the help text into the call; but either way
it should be wrapped in _().

Tom

  reply	other threads:[~2021-05-18 15:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-18  9:59 Tom de Vries
2021-05-18 11:12 ` Marco Barisione via Gdb-patches
2021-05-18 13:57   ` Tom de Vries
2021-05-18 14:10     ` Simon Marchi via Gdb-patches
2021-05-18 14:42       ` Tom Tromey
2021-05-18 15:16         ` Tom de Vries
2021-05-18 15:32           ` Tom Tromey [this message]
2021-05-19  6:25             ` [PATCH][gdb/cli] Add ignore-errors command Tom de Vries
2021-05-19  7:32               ` Andreas Schwab
2021-05-19  7:36                 ` Tom de Vries
2021-05-18 19:16           ` [RFC][gdb/cli] Ignore error in gdb command script Philippe Waroquiers via Gdb-patches
2021-05-18 21:59             ` Tom de Vries
2021-05-20  8:02               ` Philippe Waroquiers via Gdb-patches
2021-05-20 15:01                 ` Simon Marchi via Gdb-patches
2021-05-18 14:23     ` Andrew Burgess

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=875yzg12io.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tdevries@suse.de \
    /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