]> git.proxmox.com Git - qemu.git/commit
target-mips: Translate breaks and traps into the appropriate signal
authorMeador Inge <meadori@codesourcery.com>
Thu, 10 Jan 2013 22:50:22 +0000 (16:50 -0600)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 4 Mar 2013 18:03:50 +0000 (19:03 +0100)
commit54b2f42cb1eef758b6070e805a5d6f7a84315ace
tree251973a3eb7812a4d713d436ba5efa6961e80f38
parent20c334a797bf46a4ee59a6e42be6d5e7c3cda585
target-mips: Translate breaks and traps into the appropriate signal

GCC and GAS are capable of generating traps or breaks to check for
division by zero.  Additionally, GAS is capable of generating traps
or breaks to check for overflow on certain division and multiplication
operations.  The Linux kernel translates these traps and breaks into
signals.  This patch implements the corresponding feature in QEMU.

Signed-off-by: Meador Inge <meadori@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
linux-user/main.c