From 4fc5969d1d7fc93c973cda707876eb2ddd5a3114 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Tue, 26 Jul 1994 01:21:04 +0000 Subject: [PATCH] * target.c (nomemory): Fix prototype and routine to take correct args. --- gdb/ChangeLog | 5 +++++ gdb/target.c | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ef8e53cfd7e..4dab9f0ce2f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Mon Jul 25 18:19:24 1994 Stu Grossman (grossman@cygnus.com) + + * target.c (nomemory): Fix prototype and routine to take correct + args. + Mon Jul 25 15:38:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com) * Makefile.in (clean): Remove libgdb-files. diff --git a/gdb/target.c b/gdb/target.c index 10ff09cac12..e95014aa6be 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -58,7 +58,7 @@ static void tcomplain PARAMS ((void)); static int -nomemory PARAMS ((CORE_ADDR, char *, int, int)); +nomemory PARAMS ((CORE_ADDR, char *, int, int, struct target_ops *)); static int return_zero PARAMS ((void)); @@ -176,11 +176,12 @@ ignore () /* ARGSUSED */ static int -nomemory (memaddr, myaddr, len, write) +nomemory (memaddr, myaddr, len, write, t) CORE_ADDR memaddr; char *myaddr; int len; int write; + struct target_ops *t; { errno = EIO; /* Can't read/write this location */ return 0; /* No bytes handled */ @@ -1348,7 +1349,7 @@ Shows the entire stack of targets currently in use (including the exec-file,\n\ core-file, and process, if any), as well as the symbol file name."; void -_initialize_targets () +initialize_targets () { push_target (&dummy_target); -- 2.30.2