Add "scheduler-locking" to documentation index

Message ID 20230510165857.1150392-1-tromey@adacore.com
State New
Headers
Series Add "scheduler-locking" to documentation index |

Commit Message

Tom Tromey May 10, 2023, 4:58 p.m. UTC
  I noticed that "scheduler-locking" does not appear in the index of the
gdb manual.  This patch corrects this oversight.
---
 gdb/doc/gdb.texinfo | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

Eli Zaretskii May 10, 2023, 6:03 p.m. UTC | #1
> Cc: Tom Tromey <tromey@adacore.com>
> Date: Wed, 10 May 2023 10:58:57 -0600
> From: Tom Tromey via Gdb-patches <gdb-patches@sourceware.org>
> 
> I noticed that "scheduler-locking" does not appear in the index of the
> gdb manual.  This patch corrects this oversight.
> ---
>  gdb/doc/gdb.texinfo | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
> index 4ae84ec5a63..34552b6b80c 100644
> --- a/gdb/doc/gdb.texinfo
> +++ b/gdb/doc/gdb.texinfo
> @@ -7048,6 +7048,8 @@ locking the OS scheduler to allow only a single thread to run.
>  
>  @table @code
>  @item set scheduler-locking @var{mode}
> +@kindex set scheduler-locking
> +@cindex scheduler-locking
>  @cindex scheduler locking mode
>  @cindex lock scheduler
>  Set the scheduler locking mode.  It applies to normal execution,

Thanks.  I don't object, but do we really need both index entries?  I
think the second one should be enough.  But if you insist, I'm okay
with having both.
  
Tom Tromey May 11, 2023, 3:27 p.m. UTC | #2
>> +@kindex set scheduler-locking
>> +@cindex scheduler-locking
>> @cindex scheduler locking mode
>> @cindex lock scheduler
>> Set the scheduler locking mode.  It applies to normal execution,

Eli> Thanks.  I don't object, but do we really need both index entries?  I
Eli> think the second one should be enough.  But if you insist, I'm okay
Eli> with having both.

I removed the first & I'm checking it in.

Tom
  

Patch

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 4ae84ec5a63..34552b6b80c 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -7048,6 +7048,8 @@  locking the OS scheduler to allow only a single thread to run.
 
 @table @code
 @item set scheduler-locking @var{mode}
+@kindex set scheduler-locking
+@cindex scheduler-locking
 @cindex scheduler locking mode
 @cindex lock scheduler
 Set the scheduler locking mode.  It applies to normal execution,