diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-06-09 15:33:03 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-06-09 15:33:03 +0000 |
commit | ce6f492fff761960211dd64d9577be6085140d5f (patch) | |
tree | 9068e5c7f120813de1eca59d83143af41027a2a4 | |
parent | 8076289ed5bd220b8c454095258684a8f5c64683 (diff) | |
download | gdb-ce6f492fff761960211dd64d9577be6085140d5f.zip gdb-ce6f492fff761960211dd64d9577be6085140d5f.tar.gz gdb-ce6f492fff761960211dd64d9577be6085140d5f.tar.bz2 |
sim: erc32: ignore --sysroot that gdb passes down
-rw-r--r-- | sim/erc32/ChangeLog | 4 | ||||
-rw-r--r-- | sim/erc32/interf.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog index 5317b99..fac1c94 100644 --- a/sim/erc32/ChangeLog +++ b/sim/erc32/ChangeLog @@ -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. 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", |