sim: erc32: ignore --sysroot that gdb passes down

This commit is contained in:
Mike Frysinger 2011-06-09 15:33:03 +00:00
parent 8076289ed5
commit ce6f492fff
2 changed files with 7 additions and 0 deletions

View 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.

View 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",