diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-24 01:01:09 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-24 01:01:09 +0000 |
commit | e532974c430c3e8ead63286558d5e950b10f44d9 (patch) | |
tree | 3527813b495a99e37cfbd207df2b02e51c60a573 /gdb/valops.c | |
parent | 9107291db4840152f7ecff059d89f659965be4b2 (diff) | |
download | gdb-e532974c430c3e8ead63286558d5e950b10f44d9.zip gdb-e532974c430c3e8ead63286558d5e950b10f44d9.tar.gz gdb-e532974c430c3e8ead63286558d5e950b10f44d9.tar.bz2 |
values.c (value_virtual_fn_field): If there is no fcontext,
then do things the way GDB 3.x did.
valops.c (search_struct_method): Add type to value_virtual_fn_field
arguments.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index a3269ac..0284ea0 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -1041,7 +1041,7 @@ search_struct_method (name, arg1, args, offset, static_memfuncp, type) TYPE_FN_FIELD_ARGS (f, j), args)) { if (TYPE_FN_FIELD_VIRTUAL_P (f, j)) - return (value)value_virtual_fn_field (arg1, f, j); + return (value)value_virtual_fn_field (arg1, f, j, type); if (TYPE_FN_FIELD_STATIC_P (f, j) && static_memfuncp) *static_memfuncp = 1; return (value)value_fn_field (arg1, i, j); |