aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2loc.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2014-08-14 14:00:02 -0700
committerJoel Brobecker <brobecker@adacore.com>2014-08-18 17:10:39 +0200
commit84754697d2ac74094af81cd484d4471c2e58117b (patch)
tree655ffbeb38e4bf7fc411d31a7014f22f2ad02193 /gdb/dwarf2loc.c
parentda5c522f5be478d020c14038ace2ba2ee2b9e032 (diff)
downloadgdb-84754697d2ac74094af81cd484d4471c2e58117b.zip
gdb-84754697d2ac74094af81cd484d4471c2e58117b.tar.gz
gdb-84754697d2ac74094af81cd484d4471c2e58117b.tar.bz2
ada_evaluate_subexp<OP_VAR_VALUE>: Avoid static fixing when possible.
Now that the OP_VAR_VALUE section of this function has been reorganized a bit, we can fall-back on standard evaluation when static fixing is not required. This patch does that, but being exclusive about when static fixing has to be used, rather than doing it all the time when noside is EVAL_AVOID_SIDE_EFFECTS. This will pave the way for later when we want to evaluate entities that have no GNAT encodings related to them but dynamic properties instead. In that case, we expect the standard evaluation to resolve those dynamic properties for us, even in no-side-effect mode. gdb/ChangeLog: * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically fixed value for records and unions for which some GNAT encodings are present.
Diffstat (limited to 'gdb/dwarf2loc.c')
0 files changed, 0 insertions, 0 deletions