summaryrefslogtreecommitdiff
path: root/sim/common/nrun.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-07-27 11:49:07 +0000
committerAndrew Cagney <cagney@redhat.com>2000-07-27 11:49:07 +0000
commitf9cbceb6b756ca1dea8faddefe87b2718086018c (patch)
treed260e91a659cafc8bdfc55d7d1af1431b6ad38bf /sim/common/nrun.c
parent38e64f358e2894319381e195c699c337b6dbb29d (diff)
downloadbinutils-gdb-f9cbceb6b756ca1dea8faddefe87b2718086018c.tar.gz
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).
Diffstat (limited to 'sim/common/nrun.c')
-rw-r--r--sim/common/nrun.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/common/nrun.c b/sim/common/nrun.c
index c5b43a25eed..ef25d680915 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);