aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
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.h
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.h')
-rw-r--r--gdb/value.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/value.h b/gdb/value.h
index 172e3f9..cd1403b 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -173,6 +173,11 @@ struct value
};
+/* Values are stored in a chain, so that they can be deleted easily
+ over calls to the inferior. Values assigned to internal variables
+ or put into the value history are taken off this list. */
+struct value *value_next (struct value *);
+
extern struct type *value_type (struct value *);
/* This is being used to change the type of an existing value, that
code should instead be creating a new value with the changed type