* config/convex/tm-convex.h (XFER_CORE_FILE): Remove.
* remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file
references to target_read_memory.
* gdbcore.h (xfer_core_file, core_open, core_detach): Remove
declarations.
* corelow.c (core_open, core_detach): Make static.
Fri Jan 27 17:08:06 1995 Stan Shebs <shebs@andros.cygnus.com>
+ * convex-tdep.c (xfer_core_file): Comment out.
+ * config/convex/tm-convex.h (XFER_CORE_FILE): Remove.
+ * remote.c, remote-pa.c (remote_fetch_word): Change xfer_core_file
+ references to target_read_memory.
+ * gdbcore.h (xfer_core_file, core_open, core_detach): Remove
+ declarations.
+ * corelow.c (core_open, core_detach): Make static.
+
* arm-tdep.c: Make it compile.
(exec_file_command, xfer_core_file): Comment out.
(arm_print_insn): Remove, now in libopcodes.
(*exec_file_display_hook) (filename);
}
+#if 0
/* Read data from SOFF exec or core file.
Return 0 on success, EIO if address out of bounds. */
}
return returnval;
}
-
+#endif
/* Here from info files command to print an address map. */
/* Core dump and executable file functions below target vector, for GDB.
- Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994
+ Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995
Free Software Foundation, Inc.
This file is part of GDB.
static int solib_add_stub PARAMS ((char *));
#endif
+static void core_open PARAMS ((char *, int));
+
+static void core_detach PARAMS ((char *, int));
+
static void core_close PARAMS ((int));
static void get_core_registers PARAMS ((int));
/* This routine opens and sets up the core file bfd. */
-void
+static void
core_open (filename, from_tty)
char *filename;
int from_tty;
}
}
-void
+static void
core_detach (args, from_tty)
char *args;
int from_tty;
if (addr >= text_start && addr < text_end)
{
int buffer;
- xfer_core_file (addr, &buffer, sizeof (int));
+ target_read_memory (addr, &buffer, sizeof (int));
return buffer;
}
}
last_sent_signal = TARGET_SIGNAL_0;
target_terminal_inferior ();
- strcpy (buf, last_sent_step ? 's' : 'c');
+ strcpy (buf, last_sent_step ? "s" : "c");
putpkt (buf);
continue;
}
if (addr >= text_start && addr < text_end)
{
int buffer;
- xfer_core_file (addr, &buffer, sizeof (int));
+ target_read_memory (addr, &buffer, sizeof (int));
return buffer;
}
}