diff options
Diffstat (limited to 'sim/mn10300')
-rw-r--r-- | sim/mn10300/ChangeLog | 4 | ||||
-rw-r--r-- | sim/mn10300/interp.c | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index 5c95cc9..95d37e9 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -1,3 +1,7 @@ +Tue Jul 13 13:26:20 1999 Andrew Cagney <cagney@b1.cygnus.com> + + * interp.c: Clarify error message reporting an unknown board. + 1999-05-08 Felix Lee <flee@cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes. diff --git a/sim/mn10300/interp.c b/sim/mn10300/interp.c index 12dffff..2003c2d 100644 --- a/sim/mn10300/interp.c +++ b/sim/mn10300/interp.c @@ -1114,10 +1114,10 @@ sim_open (kind, cb, abfd, argv) } else { - if ( NULL != board ) - { - printf("Error: invalid --board option.\n"); - return 0; + if (board != NULL) + { + sim_io_eprintf (sd, "Error: Board `%s' unknown.\n", board); + return 0; } } |