From: "Nicolás Ortega Froysa" <nicolas@ortegas.org>
To: gdb-patches@sourceware.org
Subject: Typo Fix in Documentation for Watch Command
Date: Fri, 30 Aug 2024 09:21:05 +0200 [thread overview]
Message-ID: <ZtFy4XExQk6pIu_S@pius-xi> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 469 bytes --]
Good day!
I recently noticed a small little typo in the GDB documentation for the
'watch' command. I've attached a patch to fix it.
Thanks for all you do!
--
Nicolás Ortega Froysa
https://themusicinnoise.net/
http://ft2bvxji6lxfttqcjz6ed3iyzdhv4gbcdl2bt7cdxguk56xsvdkqnbid.onion/
Public PGP Key:
https://themusicinnoise.net/nicolas@ortegas.org_pub.asc
http://ft2bvxji6lxfttqcjz6ed3iyzdhv4gbcdl2bt7cdxguk56xsvdkqnbid.onion/nicolas@ortegas.org_pub.asc
[-- Attachment #1.2: watch-doc-typo-fix.patch --]
[-- Type: text/plain, Size: 857 bytes --]
From ccd79a6717c67060a9889c36a261e1bcc8a2adc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= <nicolas@ortegas.org>
Date: Fri, 30 Aug 2024 09:06:41 +0200
Subject: [PATCH] gdb/doc: fix typo in 'watch' command
---
gdb/breakpoint.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 17bd627f867..08715853846 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -10749,7 +10749,7 @@ static const gdb::option::option_def watch_option_defs[] = {
"location",
[] (watch_options *opt) { return &opt->location; },
N_("\
-This evaluates EXPRESSION and watches the memory to which is refers.\n\
+This evaluates EXPRESSION and watches the memory to which it refers.\n\
-l can be used as a short form of -location."),
},
};
--
2.46.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next reply other threads:[~2024-08-30 7:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-30 7:21 Nicolás Ortega Froysa [this message]
2024-08-30 7:44 ` 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=ZtFy4XExQk6pIu_S@pius-xi \
--to=nicolas@ortegas.org \
--cc=gdb-patches@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