* sh-tdep.c (sim_load): Add function.
authorJim Kingdon <jkingdon@engr.sgi.com>
Fri, 22 Oct 1993 00:53:32 +0000 (00:53 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Fri, 22 Oct 1993 00:53:32 +0000 (00:53 +0000)
gdb/ChangeLog
gdb/sh-tdep.c

index 85fa9bdf2c1dd9a07e5248f6e128da654d9dcb84..2851017f1a996c1090b861989dde06e6443ae76d 100644 (file)
@@ -1,3 +1,7 @@
+Thu Oct 21 12:23:12 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * sh-tdep.c (sim_load): Add function.
+
 Thu Oct 21 15:58:48 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
 
        * remote-mips.c (mips_wait): add pid argument.
@@ -24,6 +28,7 @@ Thu Oct 21 12:23:12 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
        * environ.c: Include gdbcore.h.  Only include defs.h once.
        (set_in_environ): Cast const char * to char * when passing to
        set_gnutarget.
+       * Makefile.in: Update dependencies to reflect all these new includes.
        Remove unused variables:
        * printcmd.c (printf_command): args_to_vprintf.
        * coffread.c (coff_symfile_init): strsection.
index 9a604895a5fde38f8eabe21ac40508783bc43271..5b89780ed27ddc634dbcf52f707ecc4411bf10c8 100644 (file)
@@ -241,8 +241,19 @@ pop_frame ()
   set_current_frame (create_new_frame (read_register (FP_REGNUM),
                                       read_pc ()));
 }
-
-
+\f
+/* 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); 
+}
+\f
 _initialize_sh_tdep ()
 {
   extern int sim_memory_size;
This page took 0.047228 seconds and 4 git commands to generate.