* Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
[deliverable/binutils-gdb.git] / sim / h8300 / run.c
index 30104330b0d12723287b6a40308860740bb8665a..72f2c18bf2358b38ac6e3bb2ab0742e017c692d9 100644 (file)
@@ -18,6 +18,7 @@
 
 */
 
+#include <stdio.h>
 #include "bfd.h"
 #include "sysdep.h"
 
@@ -72,10 +73,10 @@ main (ac, av)
            }
 
          start_address = bfd_get_start_address(abfd);
-         sim_store_register(9,start_address);
+         sim_set_pc (start_address);
          sim_resume(0,0);
          if (verbose)
-           sim_info (verbose);
+           sim_info (printf, verbose - 1);
          return 0;
        }
     }
This page took 0.023088 seconds and 4 git commands to generate.