aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-06-15 14:35:33 +0000
committerTom Tromey <tromey@redhat.com>2012-06-15 14:35:33 +0000
commit2b214ea69762328de2bcfc4fdbde189d4aab850d (patch)
treef0766455b55baeee3b7a91ef9403f4e11acd205b /gdb/valops.c
parent984359d2e18194691beefb49eb490524936893eb (diff)
downloadgdb-2b214ea69762328de2bcfc4fdbde189d4aab850d.zip
gdb-2b214ea69762328de2bcfc4fdbde189d4aab850d.tar.gz
gdb-2b214ea69762328de2bcfc4fdbde189d4aab850d.tar.bz2
* valops.c (find_overload_match): Use value_ind.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index feb47f5..afec392 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -2681,8 +2681,7 @@ find_overload_match (struct value **args, int nargs,
and non member function, the first argument must now be
dereferenced. */
if (method == BOTH)
- deprecated_set_value_type (args[0],
- TYPE_TARGET_TYPE (value_type (args[0])));
+ args[0] = value_ind (args[0]);
if (fsym)
{