summaryrefslogtreecommitdiff
path: root/gdb/mi/gdbmi.texinfo
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mi/gdbmi.texinfo')
-rw-r--r--gdb/mi/gdbmi.texinfo5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/mi/gdbmi.texinfo b/gdb/mi/gdbmi.texinfo
index bebd6788e55..fab7cba8096 100644
--- a/gdb/mi/gdbmi.texinfo
+++ b/gdb/mi/gdbmi.texinfo
@@ -1339,7 +1339,7 @@ args=[],file="try.c",line="5"@}
@subsubheading Synopsis
@example
- -data-list-register-names [ ( @var{regno} )+ ]
+ -data-list-register-names [ [ -numbers ] ( @var{regno} )+ ]
@end example
Show a list of register names for the current target. If no arguments
@@ -1349,6 +1349,9 @@ names of the registers corresponding to the arguments. To ensure
consistency between a register name and its number, the output list may
include empty register names.
+When the "-numbers" option is used, it will return the list of register
+numbers in addition to the register names.
+
@subsubheading @value{GDBN} Command
@value{GDBN} does not have a command which corresponds to