aboutsummaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-01-04 17:51:38 +0000
committerDaniel Jacobowitz <drow@false.org>2002-01-04 17:51:38 +0000
commit7f8c9282581cbc3f7e13d8c5a6f20e086bf2ad7b (patch)
tree608b223fb0e33b72cf730ca953d5fc135a59f7e3 /gdb/eval.c
parenta3aa38ee6cb3da7e2759d852e1d4afccd9ca9aa3 (diff)
downloadgdb-7f8c9282581cbc3f7e13d8c5a6f20e086bf2ad7b.zip
gdb-7f8c9282581cbc3f7e13d8c5a6f20e086bf2ad7b.tar.gz
gdb-7f8c9282581cbc3f7e13d8c5a6f20e086bf2ad7b.tar.bz2
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 a56ed84..3f5aca3 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);