Re: [PATCH v2] Add support for the --readnever command-line option

Eli Zaretskii
2017-11-25T17:16:50Z

> From: Sergio Durigan Junior <sergiodj@redhat.com>
> Cc: gdb-patches@sourceware.org, brobecker@adacore.com, qiyaoltc@gmail.com, palves@redhat.com
> Date: Sat, 25 Nov 2017 11:41:04 -0500
>
> > This will cause index entries about "readnever" point to 2 different
> > places, with no way for the reader to tell up front which place is
> > about where they want to go. So I suggest to change the index entries
> > as follows:
> >
> > @cindex @code{--readnever}, command-line option
> > ...
> > @cindex @code{-readnever}, option for symbol-file command
> >
> > (Note that I switched from @kindex to @cindex, since @kindex is used
> > for command names, and -readnever isn't.)
>
> Hm, I see. To be clear, I copied the entry above, which uses @kindex
> for the "readnow" symbol-file command. Maybe that should be fixed (in
> another patch), too?

Yes, definitely.