forked from Imagelibrary/binutils-gdb
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user