aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-10-16 04:59:47 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-10-16 04:59:47 +0000
commit1468bec92b711f529f0a2664ada6e994e0382c8b (patch)
tree3be44c772080098559afdb1953e4e7107bce69e5 /gdb
parent921b588b92d782411be88eeab1eb5324820a10d2 (diff)
downloadgdb-1468bec92b711f529f0a2664ada6e994e0382c8b.zip
gdb-1468bec92b711f529f0a2664ada6e994e0382c8b.tar.gz
gdb-1468bec92b711f529f0a2664ada6e994e0382c8b.tar.bz2
* h8300-tdep.c, h8500-tdep.c: Define sim_load only, but not
sim_kill, sim_open, or sim_set_args.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/h8300-tdep.c22
-rw-r--r--gdb/h8500-tdep.c12
2 files changed, 15 insertions, 19 deletions
diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c
index ba5a9b9..e139174 100644
--- a/gdb/h8300-tdep.c
+++ b/gdb/h8300-tdep.c
@@ -482,8 +482,9 @@ print_register_hook (regno)
}
}
-
-/* Callbacks for remote-sim */
+/* This doesn't quite fit either in the simulator or in gdb proper.
+ Perhaps the simulator could return 1 to mean it loaded it and 0 to
+ mean "you deal with it, caller". */
int
sim_load (abfd, prog)
@@ -492,20 +493,3 @@ 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;
-}
diff --git a/gdb/h8500-tdep.c b/gdb/h8500-tdep.c
index dcf80a0..0ffb02b 100644
--- a/gdb/h8500-tdep.c
+++ b/gdb/h8500-tdep.c
@@ -817,3 +817,15 @@ target_write_fp (v)
write_register (SEG_T_REGNUM, v >> 16);
write_register (FP_REGNUM, v & 0xffff);
}
+
+/* This doesn't quite fit either in the simulator or in gdb proper.
+ Perhaps the simulator could return 1 to mean it loaded it and 0 to
+ mean "you deal with it, caller". */
+
+int
+sim_load (abfd, prog)
+bfd *abfd;
+char *prog;
+{
+ return sim_load_standard (abfd);
+}