summaryrefslogtreecommitdiff
path: root/gdb/h8300-tdep.c
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-10-07 23:21:02 +0000
committerSteve Chamberlain <sac@cygnus>1993-10-07 23:21:02 +0000
commit3f0184acb02f2a390e7d7a4c34594a55d5d99963 (patch)
tree4e438c73c5b1351cd139d233f4ebedcfee710e23 /gdb/h8300-tdep.c
parentfb32909add6f1c2bfac2133d41ff1f399bc40207 (diff)
downloadbinutils-gdb-3f0184acb02f2a390e7d7a4c34594a55d5d99963.tar.gz
* h8300-tdep.c (sim_load, sim_kill, sim_open, sim_set_args):
New functions. * infrun.c (normal_stop): Don't try and set the pc in the current frame coredump if there isn't one. * remote-sim.c (gdbsim_store_register): Don't SWAP_TARGET_AND_HOST, sim_store_register takes bytes in raw order. (gdbsim_wait): Set status with WSETSTOP. * config/h8300/tm-h8300.h (sr_get_debug): Define
Diffstat (limited to 'gdb/h8300-tdep.c')
-rw-r--r--gdb/h8300-tdep.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c
index a50e4bd3786..ba5a9b9efa8 100644
--- a/gdb/h8300-tdep.c
+++ b/gdb/h8300-tdep.c
@@ -482,3 +482,30 @@ print_register_hook (regno)
}
}
+
+/* Callbacks for remote-sim */
+
+int
+sim_load (abfd, prog)
+bfd *abfd;
+char *prog;
+{
+ return sim_load_standard (abfd);
+}
+
+void
+sim_kill()
+{
+}
+
+sim_open ()
+{
+ return 0;
+}
+
+sim_set_args(argv, env)
+char **argv;
+char **env;
+{
+ return 0;
+}