Oops! Committed to much, reverting :-(
[deliverable/binutils-gdb.git] / sim / common / nrun.c
index c5b43a25eed9c91b5c5c5c7fea16fd4c2dbead7f..7c77f5c3b44d1c8be074c16e52eb406a17cd7682 100644 (file)
@@ -47,7 +47,7 @@ main (int argc, char **argv)
 {
   char *name;
   char **prog_argv = NULL;
-  struct _bfd *prog_bfd;
+  struct bfd *prog_bfd;
   enum sim_stop reason;
   int sigrc = 0;
   int single_step = 0;
@@ -165,7 +165,8 @@ main (int argc, char **argv)
       
     }
   /* Print any stats the simulator collected.  */
-  sim_info (sd, 0);
+  if (STATE_VERBOSE_P (sd))
+    sim_info (sd, 0);
   
   /* Shutdown the simulator.  */
   sim_close (sd, 0);
This page took 0.02425 seconds and 4 git commands to generate.