From a03c034dadca211c0c179497907a776a84b024f7 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 17 Jun 2011 20:35:09 +0000 Subject: * value.h (value_of_this): Update. (value_of_local): Remove. * valops.c (value_of_this): Rename from value_of_local. Change parameters. * p-exp.y (exp): Update. (variable): Likewise. * eval.c (evaluate_subexp_standard) : Use value_of_this. --- gdb/p-exp.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/p-exp.y') diff --git a/gdb/p-exp.y b/gdb/p-exp.y index 32c7aca657b..0a384e146dd 100644 --- a/gdb/p-exp.y +++ b/gdb/p-exp.y @@ -612,7 +612,7 @@ exp : THIS write_exp_elt_opcode (OP_THIS); write_exp_elt_opcode (OP_THIS); /* We need type of this. */ - this_val = value_of_this (0); + this_val = value_of_this (parse_language, 0); if (this_val) this_type = value_type (this_val); else @@ -760,7 +760,7 @@ variable: name_not_typename write_exp_string ($1.stoken); write_exp_elt_opcode (STRUCTOP_PTR); /* We need type of this. */ - this_val = value_of_this (0); + this_val = value_of_this (parse_language, 0); if (this_val) this_type = value_type (this_val); else -- cgit v1.2.1