From: Yao Qi Date: Fri, 30 Jun 2017 09:47:33 +0000 (+0100) Subject: Improve doc about "maint print c-tdesc" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=060ec93b82c36b465b9665444c249ec5555017af;p=thirdparty%2Fbinutils-gdb.git 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-06-30 Yao Qi * gdb.texinfo (Maintenance Commands): Improve the doc to command "maint print c-tdesc". --- 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