diff options
Diffstat (limited to 'gdb/value.c')
-rw-r--r-- | gdb/value.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/value.c b/gdb/value.c index ce4b13a..04f325f 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -1062,6 +1062,12 @@ value_optimized_out (struct value *value) return value->optimized_out; } +int +value_optimized_out_const (const struct value *value) +{ + return value->optimized_out; +} + void set_value_optimized_out (struct value *value, int val) { |