From c646b4e87f4b3445f83d48fa7d85999dd702c50f Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Tue, 18 Jul 2017 12:39:22 +0100 Subject: [PATCH] Improve doc about "maint print c-tdesc" In my patch extending command "maint print c-tdesc" (https://sourceware.org/ml/gdb-patches/2017-06/msg00286.html), Eli raised some questions on the existing doc to this command. It is not very clear, so this patch improves it. Eli approved it. gdb/doc: 2017-07-18 Yao Qi * gdb.texinfo (Maintenance Commands): Improve the doc to command "maint print c-tdesc". --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 8c7c3dae0b8..2a4330bd7ac 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2017-07-18 Yao Qi + + * gdb.texinfo (Maintenance Commands): Improve the doc to + command "maint print c-tdesc". + 2017-06-20 Sergio Durigan Junior PR gdb/21606 diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index c167a8654f2..5f55a67b5d7 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -34690,8 +34690,9 @@ Print the entire architecture configuration. The optional argument @kindex maint print c-tdesc @item maint print c-tdesc Print the current target description (@pxref{Target Descriptions}) as -a C source file. The created source file can be used in @value{GDBN} -when an XML parser is not available to parse the description. +a C source file. The created source file is built into @value{GDBN} +when @value{GDBN} is built again. This command is used by developers +after they add or modify XML target descriptions. @kindex maint print dummy-frames @item maint print dummy-frames -- 2.30.2