Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Typo Fix in Documentation for Watch Command
@ 2024-08-30  7:21 Nicolás Ortega Froysa
  2024-08-30  7:44 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolás Ortega Froysa @ 2024-08-30  7:21 UTC (permalink / raw)
  To: gdb-patches


[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-30  7:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-30  7:21 Typo Fix in Documentation for Watch Command Nicolás Ortega Froysa
2024-08-30  7:44 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox