aboutsummaryrefslogtreecommitdiff
path: root/gdb/valarith.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-02-21 01:34:46 +0000
committerJohn Gilmore <gnu@cygnus>1992-02-21 01:34:46 +0000
commite17960fb42997fc740d0f74544be9713a0209878 (patch)
tree1ed6bd38b5ae03e99972687308c962e92e4b34d0 /gdb/valarith.c
parent7ed0f002ede4baa5bba71173818d14b818184410 (diff)
downloadgdb-e17960fb42997fc740d0f74544be9713a0209878.zip
gdb-e17960fb42997fc740d0f74544be9713a0209878.tar.gz
gdb-e17960fb42997fc740d0f74544be9713a0209878.tar.bz2
* core.c, eval.c, exec.c, inftarg.c, remote-adapt.c, remote-eb.c,
remote-hms.c, remote-mm.c, remote-nindy.c, remote-vx.c, remote.c, target.c, target.h, valarith.c, valops.c, value.h, xcoffexec.c: Remove to_call_function and target_call_function, since it always calls the same thing (call_function_by_hand).
Diffstat (limited to 'gdb/valarith.c')
-rw-r--r--gdb/valarith.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/valarith.c b/gdb/valarith.c
index aefa1d4..c52a06e 100644
--- a/gdb/valarith.c
+++ b/gdb/valarith.c
@@ -1,5 +1,5 @@
/* Perform arithmetic and other operations on values, for GDB.
- Copyright 1986, 1989, 1991 Free Software Foundation, Inc.
+ Copyright 1986, 1989, 1991, 1992 Free Software Foundation, Inc.
This file is part of GDB.
@@ -273,11 +273,11 @@ value_x_binop (arg1, arg2, op, otherop)
argvec[1] = argvec[0];
argvec++;
}
- return target_call_function (argvec[0], 2 - static_memfuncp, argvec + 1);
+ return call_function_by_hand (argvec[0], 2 - static_memfuncp, argvec + 1);
}
error ("member function %s not found", tstr);
#ifdef lint
- return target_call_function (argvec[0], 2 - static_memfuncp, argvec + 1);
+ return call_function_by_hand (argvec[0], 2 - static_memfuncp, argvec + 1);
#endif
}
@@ -332,7 +332,7 @@ value_x_unop (arg1, op)
argvec[1] = argvec[0];
argvec++;
}
- return target_call_function (argvec[0], 1 - static_memfuncp, argvec + 1);
+ return call_function_by_hand (argvec[0], 1 - static_memfuncp, argvec + 1);
}
error ("member function %s not found", tstr);
return 0; /* For lint -- never reached */