aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-02-08 01:59:38 +0000
committerAndrew Cagney <cagney@redhat.com>2005-02-08 01:59:38 +0000
commit17cf0ecde3a59551f7792b456e7533687f3ec8d1 (patch)
tree0edb273420c74cc163c79e2810975e970b8c018d /gdb/value.c
parent88e3b34b7c23b9a1b84abdca190f2ced0e5c4c02 (diff)
downloadgdb-17cf0ecde3a59551f7792b456e7533687f3ec8d1.zip
gdb-17cf0ecde3a59551f7792b456e7533687f3ec8d1.tar.gz
gdb-17cf0ecde3a59551f7792b456e7533687f3ec8d1.tar.bz2
2005-02-07 Andrew Cagney <cagney@gnu.org>
* value.h (value_next): Declare. * value.c (value_next): Define. * breakpoint.c: Update.
Diffstat (limited to 'gdb/value.c')
-rw-r--r--gdb/value.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/value.c b/gdb/value.c
index 13585b5..c771359 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -123,6 +123,12 @@ allocate_repeat_value (struct type *type, int count)
/* Accessor methods. */
+struct value *
+value_next (struct value *value)
+{
+ return value->next;
+}
+
struct type *
value_type (struct value *value)
{