summaryrefslogtreecommitdiff
path: root/gdb/cli/cli-utils.h
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2011-02-27 20:57:14 +0000
committerMichael Snyder <msnyder@specifix.com>2011-02-27 20:57:14 +0000
commiteed62ddc2c7e01a344d7527ebd474cfaa6d96068 (patch)
treeddcb0dd3656c82b4a1a47700431099d7ba3259cc /gdb/cli/cli-utils.h
parentfa9d55580873e7ec9ceb6a2790d483aabb589564 (diff)
downloadgdb-eed62ddc2c7e01a344d7527ebd474cfaa6d96068.tar.gz
2011-02-24 Michael Snyder <msnyder@vmware.com>
* value.c (value_from_history_ref): New function. * value.h (value_from_history_ref): Export. * cli/cli-utils.c (get_number_trailer): Use value_from_history_ref to parse value history references. * cli/cli-utils.h (get_number_trailer): Update comment. 2011-02-24 Michael Snyder <msnyder@vmware.com> * gdb.base/break.exp: Add tests for delete breakpoints using convenience variables and value history references.
Diffstat (limited to 'gdb/cli/cli-utils.h')
-rw-r--r--gdb/cli/cli-utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cli/cli-utils.h b/gdb/cli/cli-utils.h
index 6158999860e..09240d07644 100644
--- a/gdb/cli/cli-utils.h
+++ b/gdb/cli/cli-utils.h
@@ -23,8 +23,8 @@
/* *PP is a string denoting a number. Get the number of the. Advance
*PP after the string and any trailing whitespace.
- Currently the string can either be a number or "$" followed by the
- name of a convenience variable. */
+ Currently the string can either be a number, or "$" followed by the
+ name of a convenience variable, or ("$" or "$$") followed by digits. */
extern int get_number (char **);