mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
sim: m32r: fix virtual environment with Linux targets
We don't want to handle Linux syscalls when in the virtual environment, just the user environment, so adjust the Linux traps logic to check for that specifically (instead of just skipping the operating environment). Also tweak some testcases to explicitly specify the environment they run under rather than relying on the default matching their needs. This gets the tests passing for all m32r targets.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2021-07-01 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* hw-trap.ms: Run sim with --environment virtual.
|
||||
* trap.cgs: Likewise.
|
||||
|
||||
2021-04-08 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* allinsn.exp (arch): Delete.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
# mach(): m32r m32rx
|
||||
# sim: --environment virtual
|
||||
# output(): pass\n
|
||||
|
||||
.include "testutils.inc"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
# m32r testcase for trap #$uimm4
|
||||
# mach(): m32r m32rx
|
||||
# sim: --environment virtual
|
||||
|
||||
.include "testutils.inc"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user