Re: [patch] Change trace buffer size(v5)

Eli Zaretskii
2013-03-11T19:44:31Z

> From: Tom Tromey <tromey@redhat.com>
> Cc: "Abid\, Hafiz" <Hafiz_Abid@mentor.com>, brobecker@adacore.com,
> gdb-patches@sourceware.org
> Date: Mon, 11 Mar 2013 12:32:54 -0600
>
> >>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
>
> Eli> Sorry, but this isn't right. You cannot have colons in @anchor or in
> Eli> @cindex entries, because that will confuse Info readers when they try
> Eli> to deduce the referenced spot.
>
> There are some other instances in gdb.texinfo:
>
> barimba. egrep '(anchor|cindex).*:' gdb.texinfo
> @cindex @code{::}, context for variables/functions
> @cindex @samp{qSearch:memory} packet
> @cindex <xi:include>

Thanks, fixed as below. (The other 2 places already had the
@ifnotinfo guards around these index entries.)

2013-03-11 Eli Zaretskii <eliz@gnu.org>

* gdb.texinfo (General Query Packets): Don't use colon in index
entries visible to Info format.

Index: gdb/doc/gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.1059
diff -u -r1.1059 gdb.texinfo
--- gdb/doc/gdb.texinfo 11 Mar 2013 08:55:36 -0000 1.1059
+++ gdb/doc/gdb.texinfo 11 Mar 2013 19:43:00 -0000
@@ -37250,7 +37250,10 @@

@item qSearch:memory:@var{address};@var{length};@var{search-pattern}
@cindex searching memory, in remote debugging
+@ifnotinfo
@cindex @samp{qSearch:memory} packet
+@end ifnotinfo
+@cindex @samp{qSearch memory} packet
@anchor{qSearch memory}
Search @var{length} bytes at @var{address} for @var{search-pattern}.
@var{address} and @var{length} are encoded in hex.