mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 18:41:27 +00:00
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 in084344dandc6ebd6c. See mi_cmd_list_features and mi_cmd_list_target_features in gdb/mi/mi-main.c. Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
committed by
Tom Tromey
parent
857ef95cd9
commit
ef6302a6d1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user