diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-06-13 14:01:01 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-06-20 11:34:11 +0100 |
commit | 5beda609bdfbc500ad3fadef714193385c604d74 (patch) | |
tree | cfa9eff29fbf6ac83c3036350a8132e0deae0d31 | |
parent | a8c099d1b6834606567cf32446a9e3b384a73209 (diff) | |
download | gdb-5beda609bdfbc500ad3fadef714193385c604d74.zip gdb-5beda609bdfbc500ad3fadef714193385c604d74.tar.gz gdb-5beda609bdfbc500ad3fadef714193385c604d74.tar.bz2 |
Generate c for feature instead of tdesc
gdb:
2017-06-13 Yao Qi <yao.qi@linaro.org>
:
* NEWS
gdb/doc:
2017-06-13 Yao Qi <yao.qi@linaro.org>
:
* gdb.texinfo (Print the entire architecture configuration. The optional argument):
-rw-r--r-- | gdb/NEWS | 3 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 9 |
2 files changed, 8 insertions, 4 deletions
@@ -17,6 +17,9 @@ QStartupWithShell Indicates whether the inferior must be started with a shell or not. +* The "maintenance print c-tdesc" command now takes an optional + argument which is the file name of XML target description. + * New commands set debug separate-debug-file diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index b78d8ac..04d344e 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -34690,10 +34690,11 @@ Print the entire architecture configuration. The optional argument @kindex maint print c-tdesc @r{[}@var{file}@r{]} @item maint print c-tdesc Print the target description (@pxref{Target Descriptions}) as -a C source file. The target description is got from the optional -argument @var{file} or the current target description. 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. By default, the target description is for the current +target, but if the optional argument @var{file} is provided, that file +is used to produce the description. The @var{file} should be an XML +document, of the form described in @ref{Target Description Format}. +The created source file is built into @value{GDBN}. @kindex maint print dummy-frames @item maint print dummy-frames |