aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2017-07-18 12:39:22 +0100
committerYao Qi <yao.qi@linaro.org>2017-07-18 12:39:22 +0100
commitc646b4e87f4b3445f83d48fa7d85999dd702c50f (patch)
treec5fb6b8b1079442da23336b0811d659c7547424b
parentb6a577132682c291255f91a6bb56a3817048e905 (diff)
downloadgdb-c646b4e87f4b3445f83d48fa7d85999dd702c50f.zip
gdb-c646b4e87f4b3445f83d48fa7d85999dd702c50f.tar.gz
gdb-c646b4e87f4b3445f83d48fa7d85999dd702c50f.tar.bz2
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 <yao.qi@linaro.org> * gdb.texinfo (Maintenance Commands): Improve the doc to command "maint print c-tdesc".
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo5
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 8c7c3da..2a4330b 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2017-07-18 Yao Qi <yao.qi@linaro.org>
+
+ * gdb.texinfo (Maintenance Commands): Improve the doc to
+ command "maint print c-tdesc".
+
2017-06-20 Sergio Durigan Junior <sergiodj@redhat.com>
PR gdb/21606
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index c167a86..5f55a67 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