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:
parent
84a4591a7b
commit
1390d0efa6
@ -1,3 +1,8 @@
|
||||
2015-03-11 Andy Wingo <wingo@igalia.com>
|
||||
|
||||
* guile/scm-value.c (gdbscm_value_dynamic_type): Fix typo in which
|
||||
we were checking the cached type, not the cached dynamic type.
|
||||
|
||||
2015-03-11 Andy Wingo <wingo@igalia.com>
|
||||
|
||||
* guile/scm-cmd.c (cmdscm_destroyer): Don't xfree the name and
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user