diff options
author | Daniel Jacobowitz <dan@debian.org> | 2002-01-04 17:51:38 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2002-01-04 17:51:38 +0000 |
commit | a2d59c77282a07fb8822fb1630789c0ea7fb0e92 (patch) | |
tree | d00ca9232ee8c84eaecccd8b8c88242c2c936561 /gdb/eval.c | |
parent | 07c283e92cf2e3d08ecbcb70faea09a4c68f752d (diff) | |
download | gdb-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.c | 2 |
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); |