diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2001-05-19 15:20:14 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@dberlin.org> | 2001-05-19 15:20:14 +0000 |
commit | 2b127877435ec6b5f994e5e8e1ea0edc11094a59 (patch) | |
tree | 916cbbdd6557a00d5b94fcdb11b44c83c5f0e471 /gdb/value.h | |
parent | 9d8b3bf43c52e6ef65d2c09b24b004b0b1991f06 (diff) | |
download | gdb-2b127877435ec6b5f994e5e8e1ea0edc11094a59.zip gdb-2b127877435ec6b5f994e5e8e1ea0edc11094a59.tar.gz gdb-2b127877435ec6b5f994e5e8e1ea0edc11094a59.tar.bz2 |
2001-05-07 Daniel Berlin <dan@cgsoftware.com>
Changes by Jim Ingham:
* values.c (value_change_enclosing_type): New function. If the
new enclosing type is larger than the old one, we need to allocate
more space.
* value.h: Add value_change_enclosing_type prototype.
* valops.c (value_cast): Use it.
(value_assign): Use it.
(value_addr): Use it.
(value_ind): Use it.
(value_full_object): Use it.
2001-05-07 Daniel Berlin <dan@cgsoftware.com>
* values.c (value_static_field): Handle static fields that have a constant value.
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/value.h b/gdb/value.h index 50abe0e..cc1d90f 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -307,6 +307,8 @@ extern value_ptr allocate_value (struct type *type); extern value_ptr allocate_repeat_value (struct type *type, int count); +extern value_ptr value_change_enclosing_type (value_ptr val, struct type *new_type); + extern value_ptr value_mark (void); extern void value_free_to_mark (value_ptr mark); |