sim_kill, sim_open, or sim_set_args.
}
}
-
-/* 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)
{
return sim_load_standard (abfd);
}
-
-void
-sim_kill()
-{
-}
-
-sim_open ()
-{
- return 0;
-}
-
-sim_set_args(argv, env)
-char **argv;
-char **env;
-{
- return 0;
-}
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);
+}