summaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2002-01-04 17:51:38 +0000
committerDaniel Jacobowitz <dan@debian.org>2002-01-04 17:51:38 +0000
commita2d59c77282a07fb8822fb1630789c0ea7fb0e92 (patch)
treed00ca9232ee8c84eaecccd8b8c88242c2c936561 /gdb/eval.c
parent07c283e92cf2e3d08ecbcb70faea09a4c68f752d (diff)
downloadgdb-a2d59c77282a07fb8822fb1630789c0ea7fb0e92.tar.gz
2002-01-04 Daniel Jacobowitz <drow@mvista.com>
* valops.c (find_overload_match): Accept obj as a reference parameter. Update it before returning. * value.h (find_overload_match): Update prototype. * eval.c (evaluate_subexp_standard): Pass object to find_overload_match by reference.
Diffstat (limited to 'gdb/eval.c')
-rw-r--r--gdb/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/eval.c b/gdb/eval.c
index a56ed84fb4a..3f5aca3733c 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -845,7 +845,7 @@ evaluate_subexp_standard (struct type *expect_type,
(void) find_overload_match (arg_types, nargs, tstr,
1 /* method */ , 0 /* strict match */ ,
- arg2 /* the object */ , NULL,
+ &arg2 /* the object */ , NULL,
&valp, NULL, &static_memfuncp);