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)
committerSanimir Agovic <sanimir.agovic@intel.com>
Fri, 11 Apr 2014 12:43:54 +0000 (13:43 +0100)
commit92b09522dc5a93ba4bda3c1c0b3c58264e357c8a
tree462dea92f6c66b5136548ad0be165baeb95fd883
parente1969afbd454c09c3aad1990305715f70bc47c3c
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.

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