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.
This commit is contained in:
Andy Wingo
2015-03-11 14:32:23 +01:00
parent 84a4591a7b
commit 1390d0efa6
2 changed files with 6 additions and 1 deletions

View File

@@ -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