diff options
author | Christian Walther <walther@indel.ch> | 2025-08-27 11:38:09 +0200 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2025-08-28 11:27:34 -0600 |
commit | ef6302a6d160eaa67f9f5eafbe4c8bee20201258 (patch) | |
tree | 8c30a1762c4fc72484ef0988979c75c594963846 /gdb/doc | |
parent | 857ef95cd9eb87a1548f1d4999ce230a454f16ac (diff) | |
download | binutils-ef6302a6d160eaa67f9f5eafbe4c8bee20201258.zip binutils-ef6302a6d160eaa67f9f5eafbe4c8bee20201258.tar.gz binutils-ef6302a6d160eaa67f9f5eafbe4c8bee20201258.tar.bz2 |
Fix documentation of -list-[target-]features results
The manual claims that the -list-features and -list-target-features MI
commands return their result in a field named "result". The field is
actually named "features", and always has been since the introduction of
these commands in 084344d and c6ebd6c. See mi_cmd_list_features and
mi_cmd_list_target_features in gdb/mi/mi-main.c.
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/gdb.texinfo | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 7f8d758..e9376eb 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -38880,7 +38880,7 @@ Example output: @smallexample (gdb) -list-features -^done,result=["feature1","feature2"] +^done,features=["feature1","feature2"] @end smallexample The current list of features is: @@ -38945,7 +38945,7 @@ Example output: @smallexample (gdb) -list-target-features -^done,result=["async"] +^done,features=["async"] @end smallexample The current list of features is: |