sim: parse_args: display getopt error ourselves
[deliverable/binutils-gdb.git] / sim / cr16 / interp.c
index a0e30f5555fea41dfeef723eb7d53f3f12aaa83a..9aa2062a99e7fc4027f349f7d12cf661fd86cd57 100644 (file)
@@ -406,9 +406,7 @@ sim_open (SIM_OPEN_KIND kind, struct host_callback_struct *cb, struct bfd *abfd,
       return 0;
     }
 
-  /* getopt will print the error message so we just have to exit if this fails.
-     FIXME: Hmmm...  in the case of gdb we need getopt to call
-     print_filtered.  */
+  /* The parser will print an error message for us, so we silently return.  */
   if (sim_parse_args (sd, argv) != SIM_RC_OK)
     {
       free_state (sd);
This page took 0.024372 seconds and 4 git commands to generate.