]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/cris/traps.c
* cris/traps.c (TARGET_SYS_writev): New macro.
authorHans-Peter Nilsson <hp@axis.com>
Tue, 30 Dec 2008 13:36:17 +0000 (13:36 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Tue, 30 Dec 2008 13:36:17 +0000 (13:36 +0000)
commitc06ccdf1b680092e01cba0af3681c12bf63d2ed0
treed6053061550744b4099c5c24e0a3fbf6f0d5f5f8
parent80e5c09e9d1ee8375324c98d40841b572896f82e
* cris/traps.c (TARGET_SYS_writev): New macro.
(is_mapped_only, cris_dump_map): New functions.
(cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle more flags
and prot combinations and a non-zero page-offset.  If
TARGET_MAP_FIXED, unmap pages before mapping them.
<case TARGET_SYS_mprotect>: When checking, allow any length
argument.  Don't actually do anything.
<case TARGET_SYS_writev>: New case.
sim/ChangeLog
sim/cris/traps.c