summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2002-08-09 20:03:45 +0000
committerKeith Seitz <keiths@redhat.com>2002-08-09 20:03:45 +0000
commit58439eb64a45925ede73903909f47376097c9e7c (patch)
treee167b6138a7a92d3e521664c39081d831a51c1b4
parent15bc76eede7222441218025b3c5ebee7ae41df8c (diff)
downloadgdb-58439eb64a45925ede73903909f47376097c9e7c.tar.gz
* gdbmi.texinfo (-data-list-register-names): Document "-numbers"
option.
-rw-r--r--gdb/mi/ChangeLog2
-rw-r--r--gdb/mi/gdbmi.texinfo5
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog
index d2fc19fdd88..3e6768a3c01 100644
--- a/gdb/mi/ChangeLog
+++ b/gdb/mi/ChangeLog
@@ -5,6 +5,8 @@
2002-08-09 Keith Seitz <keiths@redhat.com>
+ * gdbmi.texinfo (-data-list-register-names): Document "-numbers"
+ option.
* mi-main.c (mi_cmd_data_list_register_names): Add "-numbers"
option.
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