[PATCH] Fix inconsistent input/output of example

Andrew Burgess aburgess@redhat.com
Wed May 18 15:30:50 GMT 2022


Nikolaos Chatzikonstantinou via Gdb-patches <gdb-patches@sourceware.org>
writes:

> I corrected an example in 10.10.3 of the info page.
> I am not certain of it; please double-check.
> See attached patch.
> From 032dca4a43aa61c89208c2ffd978ef1dd121898d Mon Sep 17 00:00:00 2001
> From: Nikolaos Chatzikonstantinou <nchatz314@gmail.com>
> Date: Wed, 18 May 2022 22:28:02 +0900
> Subject: [PATCH] Fix inconsistent input/output of example
> To: gdb-patches@sourceware.org
>
> The shown output corresponds to an 'info pretty-printer' without an
> object-regexp, however the input was a 'library2' regexp.
> ---
>  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 9df109ba330..7d2555455d0 100644
> --- a/gdb/doc/gdb.texinfo
> +++ b/gdb/doc/gdb.texinfo
> @@ -12110,7 +12110,7 @@ library2.so:
>  (gdb) disable pretty-printer library2 bar
>  1 printer disabled
>  0 of 3 printers enabled
> -(gdb) info pretty-printer library2
> +(gdb) info pretty-printer

This change looks correct to me, however, the same mistake is repeated a
few lines earlier in the example, it would be good to fix them both at
the same time I think.

Thanks,
Andrew



More information about the Gdb-patches mailing list