diff options
Diffstat (limited to 'gdb/p-exp.y')
-rw-r--r-- | gdb/p-exp.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/p-exp.y b/gdb/p-exp.y index 6e03f1a..b5251b9 100644 --- a/gdb/p-exp.y +++ b/gdb/p-exp.y @@ -542,7 +542,7 @@ exp : DOLLAR_VARIABLE value *val = value_of_internalvar (pstate->gdbarch (), intvar); - current_type = value_type (val); + current_type = val->type (); } } ; @@ -591,7 +591,7 @@ exp : THIS this_val = value_of_this_silent (pstate->language ()); if (this_val) - this_type = value_type (this_val); + this_type = this_val->type (); else this_type = NULL; if (this_type) @@ -707,7 +707,7 @@ variable: name_not_typename this_val = value_of_this_silent (pstate->language ()); if (this_val) - this_type = value_type (this_val); + this_type = this_val->type (); else this_type = NULL; if (this_type) |