aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-02-27 20:57:16 +0000
committerMichael Snyder <msnyder@vmware.com>2011-02-27 20:57:16 +0000
commit3bd0f5efd1910d53733ff9962deee99d7e45d1de (patch)
treef3f77fd22027a884f5bc951c09d9988eae80f4a3 /gdb/value.h
parentaf62414197efc46568bd459473b4a22da42d2132 (diff)
downloadgdb-3bd0f5efd1910d53733ff9962deee99d7e45d1de.zip
gdb-3bd0f5efd1910d53733ff9962deee99d7e45d1de.tar.gz
gdb-3bd0f5efd1910d53733ff9962deee99d7e45d1de.tar.bz2
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/value.h')
-rw-r--r--gdb/value.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/value.h b/gdb/value.h
index e019e56..ad90a38 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -471,6 +471,7 @@ extern struct value *value_from_pointer (struct type *type, CORE_ADDR addr);
extern struct value *value_from_double (struct type *type, DOUBLEST num);
extern struct value *value_from_decfloat (struct type *type,
const gdb_byte *decbytes);
+extern struct value *value_from_history_ref (char *, char **);
extern struct value *value_at (struct type *type, CORE_ADDR addr);
extern struct value *value_at_lazy (struct type *type, CORE_ADDR addr);