* interp.c (sim_do_command): Complain if callback structure not
initialised.
+Wed Apr 10 09:51:38 1996 James G. Smith <jsmith@cygnus.co.uk>
+
+ * interp.c (sim_do_command): Complain if callback structure not
+ initialised.
+
Thu Mar 28 13:50:51 1996 James G. Smith <jsmith@cygnus.co.uk>
* interp.c (Convert): Provide round-to-nearest and round-to-zero
{
struct t_sim_command *cptr;
+ if (callback == NULL) {
+ fprintf(stderr,"Simulator not enabled: \"target sim\" should be used to activate\n");
+ return;
+ }
+
if (!(cmd && *cmd != '\0'))
cmd = "help";