projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Index: sim/frv/ChangeLog
[binutils-gdb.git]
/
sim
/
common
/
nrun.c
diff --git
a/sim/common/nrun.c
b/sim/common/nrun.c
index c5b43a25eed9c91b5c5c5c7fea16fd4c2dbead7f..8dfa94658b0a9ca5ee541d9fc052e0a3fc47eb6d 100644
(file)
--- a/
sim/common/nrun.c
+++ b/
sim/common/nrun.c
@@
-47,7
+47,7
@@
main (int argc, char **argv)
{
char *name;
char **prog_argv = NULL;
{
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;
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. */
}
/* 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);
/* Shutdown the simulator. */
sim_close (sd, 0);
@@
-175,11
+176,6
@@
main (int argc, char **argv)
the signal that the simulator received; we want to return that to
indicate failure. */
the signal that the simulator received; we want to return that to
indicate failure. */
-#ifdef SIM_H8300 /* FIXME: Ugh. grep for SLEEP in compile.c */
- if (sigrc == SIGILL)
- abort ();
- sigrc = 0;
-#else
/* Why did we stop? */
switch (reason)
{
/* Why did we stop? */
switch (reason)
{
@@
-197,7
+193,6
@@
main (int argc, char **argv)
break;
}
break;
}
-#endif
return sigrc;
}
return sigrc;
}