summaryrefslogtreecommitdiff
path: root/gdb/remote-z8k.c
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-11-15 23:26:56 +0000
committerSteve Chamberlain <sac@cygnus>1993-11-15 23:26:56 +0000
commit863099f41e81cdb0797878e48d44c205576d59de (patch)
tree16390d08771ea6ddc7413e9a54458fee0a6a0fd6 /gdb/remote-z8k.c
parentcdf73c5c3b5b366894deddbc9c8a9a789f7931e5 (diff)
downloadbinutils-gdb-863099f41e81cdb0797878e48d44c205576d59de.tar.gz
* remote-e7000.c: New file to cope with the Hitachi E7000 ICE.
* remote-utils.c, remote-utils.h (gr_load_image): New function to download to target. * h8300-tdep.c, h8500-tdep.c, remote-z8k.c, sh-tdep.c z8k-tdep.c (sim_load): delete. * remote-sim.c (sim_load): Use gr_load_image. * config/sh/sh.mt: Add remote-e7000
Diffstat (limited to 'gdb/remote-z8k.c')
-rw-r--r--gdb/remote-z8k.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/gdb/remote-z8k.c b/gdb/remote-z8k.c
index ff076ade709..9dea12fafaf 100644
--- a/gdb/remote-z8k.c
+++ b/gdb/remote-z8k.c
@@ -38,11 +38,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
extern int stop_soon_quietly; /* for wait_for_inferior */
/* Forward data declarations */
-extern struct target_ops sim_ops; /* Forward declaration */
+/*extern struct target_ops sim_ops; /* Forward declaration */
void sim_store_register ();
void sim_set_oc ();
+int inferior_pid;
int
sim_write_inferior_memory (memaddr, myaddr, len)
CORE_ADDR memaddr;
@@ -75,14 +76,13 @@ sim_kill (arg, from_tty)
char *arg;
int from_tty;
{
-
}
/*
* Download a file specified in 'args', to the sim.
*/
static void
-sim_load (args, fromtty)
+sasassim_load (args, fromtty)
char *args;
int fromtty;
{
@@ -160,7 +160,7 @@ sim_create_inferior (execfile, args, env)
insert_breakpoints ();
proceed (entry_pt, -1, 0);
}
-
+#if 0
static void
sim_open (name, from_tty)
char *name;
@@ -203,21 +203,21 @@ sim_detach (args, from_tty)
if (from_tty)
printf_filtered ("Ending remote %s debugging\n", target_shortname);
}
-
+#endif
/* Tell the remote machine to resume. */
/* Wait until the remote machine stops, then return,
storing status in STATUS just as `wait' would. */
-
+#if 0
int
sim_wait (pid, status)
int pid;
WAITTYPE *status;
{
- *status = sim_stop_signal ();
- return 0;
+ sim_stop_reason (&reason, &sigrc);
+ return inferior_pid;
}
-
+#endif
/* Get ready to modify the registers array. On machines which store
individual registers, this doesn't need to do anything. On machines
which store all the registers in one fell swoop, this makes sure
@@ -295,12 +295,14 @@ sim_files_info ()
target specified yet, this will loop prompting the user to do so.
*/
+#if 0
void
sim_before_main_loop ()
{
push_target (&sim_ops);
}
+
/* Clear the sims notion of what the break points are */
static void
sim_mourn ()
@@ -309,7 +311,7 @@ sim_mourn ()
unpush_target (&sim_ops);
generic_mourn_inferior ();
}
-
+#endif
static void
rem_resume (pid, a, b)
int pid;
@@ -319,8 +321,9 @@ rem_resume (pid, a, b)
sim_resume (a, b);
}
-/* Define the target subroutine names */
+/* Define the target subroutine names */
+#if 0
struct target_ops sim_ops =
{
"sim", "Remote SIM monitor",
@@ -351,9 +354,6 @@ struct target_ops sim_ops =
void
_initialize_remote_sim ()
{
- extern int sim_z8001_mode;
-
- sim_z8001_mode = z8001_mode;
add_target (&sim_ops);
-
}
+#endif