aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-vx.68.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/remote-vx.68.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/remote-vx.68.c')
-rw-r--r--gdb/remote-vx.68.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/remote-vx.68.c b/gdb/remote-vx.68.c
index 3a46d21..c7b7058 100644
--- a/gdb/remote-vx.68.c
+++ b/gdb/remote-vx.68.c
@@ -52,7 +52,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <value.h>
#include <symtab.h>
-extern value call_function_by_hand ();
extern void symbol_file_command ();
extern int stop_soon_quietly; /* for wait_for_inferior */
@@ -187,7 +186,7 @@ vx_remove_breakpoint (addr)
#ifdef FIXME
/* FIXME, function calls are really fried. GO back to manual method. */
value
-vx_call_function (function, nargs, args)
+call_function (function, nargs, args)
value function;
int nargs;
value *args;
@@ -269,7 +268,7 @@ vx_call_function (function, nargs, args)
start_sp = text_end;
errcode = target_write_memory (start_sp, dummy1, sizeof dummy);
if (errcode != 0)
- error ("Cannot write text segment -- call_function failed");
+ error ("Cannot write text segment -- vx_call_function failed");
}
#endif /* After text_end. */
#endif /* Not on stack. */
@@ -1504,7 +1503,6 @@ Specify the name of the machine to connect to.",
0, 0, 0, 0, 0, /* terminal stuff */
0, /* vx_kill, */
vx_add_file_command,
- call_function_by_hand, /* FIXME, calling fns is maybe botched? */
vx_lookup_symbol,
vx_create_inferior, 0, /* mourn_inferior */
core_stratum, 0, /* next */
@@ -1526,7 +1524,6 @@ struct target_ops vx_run_ops = {
0, 0, 0, 0, 0, /* terminal stuff */
0, /* vx_kill, */
vx_add_file_command,
- call_function_by_hand, /* FIXME, calling fns is maybe botched? */
vx_lookup_symbol,
vx_create_inferior, vx_mourn_inferior,
process_stratum, 0, /* next */