aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32/interf.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-06-09 15:33:03 +0000
committerMike Frysinger <vapier@gentoo.org>2011-06-09 15:33:03 +0000
commitce6f492fff761960211dd64d9577be6085140d5f (patch)
tree9068e5c7f120813de1eca59d83143af41027a2a4 /sim/erc32/interf.c
parent8076289ed5bd220b8c454095258684a8f5c64683 (diff)
downloadgdb-ce6f492fff761960211dd64d9577be6085140d5f.zip
gdb-ce6f492fff761960211dd64d9577be6085140d5f.tar.gz
gdb-ce6f492fff761960211dd64d9577be6085140d5f.tar.bz2
sim: erc32: ignore --sysroot that gdb passes down
Diffstat (limited to 'sim/erc32/interf.c')
-rw-r--r--sim/erc32/interf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c
index 7ee4dee..d94201a 100644
--- a/sim/erc32/interf.c
+++ b/sim/erc32/interf.c
@@ -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",