mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-20 14:22:35 +08:00
sim: erc32: ignore --sysroot that gdb passes down
This commit is contained in:
@ -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>
|
2011-06-01 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* interf.c (sim_complete_command): New stub function.
|
* interf.c (sim_complete_command): New stub function.
|
||||||
|
@ -234,6 +234,9 @@ sim_open (kind, callback, abfd, argv)
|
|||||||
if ((stat + 1) < argc) {
|
if ((stat + 1) < argc) {
|
||||||
freq = strtol(argv[++stat], (char **)NULL, 0);
|
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 {
|
} else {
|
||||||
(*sim_callback->printf_filtered) (sim_callback,
|
(*sim_callback->printf_filtered) (sim_callback,
|
||||||
"unknown option %s\n",
|
"unknown option %s\n",
|
||||||
|
Reference in New Issue
Block a user