projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[gdb/exp] Fix printing of type of optimized out vla
[deliverable/binutils-gdb.git]
/
gdb
/
findvar.c
diff --git
a/gdb/findvar.c
b/gdb/findvar.c
index 8ad5e25cb277a340da5ac4bfd06d0d77024abe07..ebaff923a13632f8304925072ce5ab7d2b1e9f41 100644
(file)
--- a/
gdb/findvar.c
+++ b/
gdb/findvar.c
@@
-789,6
+789,8
@@
default_read_var_value (struct symbol *var, const struct block *var_block,
break;
case LOC_OPTIMIZED_OUT:
+ if (is_dynamic_type (type))
+ type = resolve_dynamic_type (type, NULL, /* Unused address. */ 0);
return allocate_optimized_out_value (type);
default:
This page took
0.023857 seconds
and
4
git commands to generate.