2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>

* nrun.c (main): Print the simulator statistics only in
        verbose mode.
        * hw-properties.h (hw_find_integer_array_property): Fix
        prototype (use signed_cell).
This commit is contained in:
Andrew Cagney 2000-07-27 11:49:07 +00:00
parent 38e64f358e
commit f9cbceb6b7
3 changed files with 9 additions and 2 deletions

View file

@ -1,5 +1,11 @@
Thu Jul 27 20:37:47 2000 Andrew Cagney <cagney@b1.cygnus.com>
From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
* nrun.c (main): Print the simulator statistics only in
verbose mode.
* hw-properties.h (hw_find_integer_array_property): Fix
prototype (use signed_cell).
From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
* sim-events.c (sim_events_remain_time): New function returning
the time that remains before the event is raised.

View file

@ -166,7 +166,7 @@ int hw_find_integer_array_property
(struct hw *me,
const char *property,
unsigned index,
signed_word *integer);
signed_cell *integer);

View file

@ -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);