aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog6
-rw-r--r--sim/common/hw-properties.h2
-rw-r--r--sim/common/nrun.c3
3 files changed, 9 insertions, 2 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index eb07b92..ef7b8eb 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,6 +1,12 @@
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.
* hw-events.c (hw_event_remain_time): Likewise.
diff --git a/sim/common/hw-properties.h b/sim/common/hw-properties.h
index 511fba3..198878f 100644
--- a/sim/common/hw-properties.h
+++ b/sim/common/hw-properties.h
@@ -166,7 +166,7 @@ int hw_find_integer_array_property
(struct hw *me,
const char *property,
unsigned index,
- signed_word *integer);
+ signed_cell *integer);
diff --git a/sim/common/nrun.c b/sim/common/nrun.c
index c5b43a2..ef25d68 100644
--- a/sim/common/nrun.c
+++ b/sim/common/nrun.c
@@ -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);