diff options
author | Andy Wingo <wingo@igalia.com> | 2015-03-11 14:32:23 +0100 |
---|---|---|
committer | Andy Wingo <wingo@igalia.com> | 2015-03-11 14:32:56 +0100 |
commit | 1390d0efa6a03a3780541aa8100c7b52402e793d (patch) | |
tree | 486f15658d43dbd57701211872210f1cf8778bd3 /gdb/guile | |
parent | 84a4591a7ba0c83c165cde85898086e9a4019b0d (diff) | |
download | gdb-1390d0efa6a03a3780541aa8100c7b52402e793d.zip gdb-1390d0efa6a03a3780541aa8100c7b52402e793d.tar.gz gdb-1390d0efa6a03a3780541aa8100c7b52402e793d.tar.bz2 |
Fix typo in value-dynamic-type
gdb/ChangeLog:
* guile/scm-value.c (gdbscm_value_dynamic_type): Fix typo in which
we were checking the cached type, not the cached dynamic type.
Diffstat (limited to 'gdb/guile')
-rw-r--r-- | gdb/guile/scm-value.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/guile/scm-value.c b/gdb/guile/scm-value.c index b10460d..3789c38 100644 --- a/gdb/guile/scm-value.c +++ b/gdb/guile/scm-value.c @@ -572,7 +572,7 @@ gdbscm_value_dynamic_type (SCM self) struct value *value = v_smob->value; struct type *type = NULL; - if (! SCM_UNBNDP (v_smob->type)) + if (! SCM_UNBNDP (v_smob->dynamic_type)) return v_smob->dynamic_type; TRY |