public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] [gdb/doc] Fix print inferior-events default
@ 2021-10-25 22:11 Tom de Vries
  2021-10-26  2:32 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Tom de Vries @ 2021-10-25 22:11 UTC (permalink / raw)
  To: gdb-patches

In the docs about print inferior-events we read:
...
By default, these messages will not be printed.
...

That used to be the case, but is no longer so since commit f67c0c91715 "Enable
'set print inferior-events' and improve detach/fork/kill/exit messages".

Fix this by updating the docs.
---
 gdb/doc/gdb.texinfo | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 631a7c03b31..4fda34e1ab8 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -3395,7 +3395,7 @@ control use @w{@code{set print inferior-events}}:
 The @code{set print inferior-events} command allows you to enable or
 disable printing of messages when @value{GDBN} notices that new
 inferiors have started or that inferiors have exited or have been
-detached.  By default, these messages will not be printed.
+detached.  By default, these messages will be printed.
 
 @kindex show print inferior-events
 @item show print inferior-events

base-commit: 50888e42dcd32b30e1144c0aa6d1c1490da45cd9
-- 
2.26.2


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

* Re: [PATCH] [gdb/doc] Fix print inferior-events default
  2021-10-25 22:11 [PATCH] [gdb/doc] Fix print inferior-events default Tom de Vries
@ 2021-10-26  2:32 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2021-10-26  2:32 UTC (permalink / raw)
  To: Tom de Vries; +Cc: gdb-patches

> Date: Tue, 26 Oct 2021 00:11:36 +0200
> From: Tom de Vries via Gdb-patches <gdb-patches@sourceware.org>
> 
> In the docs about print inferior-events we read:
> ...
> By default, these messages will not be printed.
> ...
> 
> That used to be the case, but is no longer so since commit f67c0c91715 "Enable
> 'set print inferior-events' and improve detach/fork/kill/exit messages".
> 
> Fix this by updating the docs.

Sounds like an obvious fix.

Thanks.

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

end of thread, other threads:[~2021-10-26  2:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-25 22:11 [PATCH] [gdb/doc] Fix print inferior-events default Tom de Vries
2021-10-26  2:32 ` Eli Zaretskii

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).