diff options
Diffstat (limited to 'gdb/value.c')
-rw-r--r-- | gdb/value.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/value.c b/gdb/value.c index 7fb7e2b..0d540d5 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -340,6 +340,14 @@ struct value VEC(range_s) *optimized_out; }; +/* See value.h. */ + +struct gdbarch * +get_value_arch (const struct value *value) +{ + return get_type_arch (value_type (value)); +} + int value_bits_available (const struct value *value, int offset, int length) { |