vla: resolve dynamic bounds if value contents is a constant byte-sequence
authorSanimir Agovic <sanimir.agovic@intel.com>
Tue, 26 Nov 2013 14:35:43 +0000 (14:35 +0000)
committerJoel Brobecker <brobecker@adacore.com>
Mon, 14 Apr 2014 16:18:44 +0000 (09:18 -0700)
commit1612e0c0f973f3defdfb2e74b09ec93f3d819c79
tree6b03a5437bba6e8533a90f6a2e8269bd939f17e4
parentc451ebe5dd0c38617c74e0b6f0d5ef3188c25d56
vla: resolve dynamic bounds if value contents is a constant byte-sequence

A variable location might be a constant value and therefore no inferior memory
access is needed to read the content. In this case try to resolve the type
bounds.

gdb/ChangeLog:

* findvar.c (default_read_var_value): Resolve dynamic bounds if location
points to a constant blob.
gdb/ChangeLog
gdb/findvar.c