Re: [Qemu-devel] [PATCH 2/2] linux-user: Clean up nios2 main loop signal handling

2018-11-12 Thread Laurent Vivier
On 19/10/2018 19:49, Peter Maydell wrote: > The nios2 main loop code's code does some odd > things with gdb_handlesig() that no other target > CPU does: it has some signals that are delivered > to gdb and only to gdb. Stop doing this, and instead > behave like all the other targets: > * a trap ins

[Qemu-devel] [PATCH 2/2] linux-user: Clean up nios2 main loop signal handling

2018-10-19 Thread Peter Maydell
The nios2 main loop code's code does some odd things with gdb_handlesig() that no other target CPU does: it has some signals that are delivered to gdb and only to gdb. Stop doing this, and instead behave like all the other targets: * a trap instruction becomes a SIGTRAP * an unhandled exception t