sim: erc32: ignore --sysroot that gdb passes down
authorMike Frysinger <vapier@gentoo.org>
Thu, 9 Jun 2011 15:33:03 +0000 (15:33 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 9 Jun 2011 15:33:03 +0000 (15:33 +0000)
sim/erc32/ChangeLog
sim/erc32/interf.c

index 5317b9966f4a7ea0b3c5f8cb05ada3c7efd98214..fac1c94bae09ca864433960993b92d846bb4dd4c 100644 (file)
@@ -1,3 +1,7 @@
+2011-06-09  Mike Frysinger  <vapier@gentoo.org>
+
+       * interf.c (sim_open): Accept and ignore `--sysroot=...'.
+
 2011-06-01  Joel Brobecker  <brobecker@adacore.com>
 
        * interf.c (sim_complete_command): New stub function.
index 7ee4dee3951b780ffba390d835da6f7502090502..d94201a3ffd97d8994b3ece5ac62a223ddec0b5b 100644 (file)
@@ -234,6 +234,9 @@ sim_open (kind, callback, abfd, argv)
                if ((stat + 1) < argc) {
                    freq = strtol(argv[++stat], (char **)NULL, 0);
                }
+           } else
+           if (strncmp(argv[stat], "--sysroot=", sizeof("--sysroot=") - 1) == 0) {
+               /* Ignore until we start to support this.  */
            } else {
                (*sim_callback->printf_filtered) (sim_callback,
                                                  "unknown option %s\n",