diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-11-02 20:25:27 +0545 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-11-04 01:42:41 +0700 |
commit | 4ce3ba0865ee156be63c3d763f1678cbe57d7dd6 (patch) | |
tree | 368d9c7d1e1a88db0379b0b14ddde1289ca0962b /sim/testsuite | |
parent | 2734f0a2750442e83132fcede8ba62cdf6f3c63e (diff) | |
download | gdb-4ce3ba0865ee156be63c3d763f1678cbe57d7dd6.zip gdb-4ce3ba0865ee156be63c3d763f1678cbe57d7dd6.tar.gz gdb-4ce3ba0865ee156be63c3d763f1678cbe57d7dd6.tar.bz2 |
sim: testsuite: fix cris badarch in multi-target builds
This test assumes that /bin/sh will never be a CRIS ELF by way of
assuming that the current bfd cannot load it (since a basic cris
cross-compiler only understands CRIS ELFs). In a multi-target
build though, bfd understands just about every ELF out there, so
we're able to read the /bin/sh format before failing at a diff
point in the cris code.
Let's switch to using / instead since it'll fail for a similar
reason (at least similar enough for what this test is testing).
Diffstat (limited to 'sim/testsuite')
-rw-r--r-- | sim/testsuite/cris/asm/badarch1.ms | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/testsuite/cris/asm/badarch1.ms b/sim/testsuite/cris/asm/badarch1.ms index 3d0d812..c7f2739 100644 --- a/sim/testsuite/cris/asm/badarch1.ms +++ b/sim/testsuite/cris/asm/badarch1.ms @@ -1,5 +1,5 @@ # mach: crisv3 crisv8 crisv10 crisv32 # xerror: # output: *not a CRIS program* -# sim: /bin/sh +# sim: / .include "nopv32t.ms" |