target-arm: Fix GDB breakpoint handling
commite63a2d4d9ed73e33a0b7483085808048be8bbcb1
authorSergey Fedorov <serge.fdrv@gmail.com>
Tue, 13 Oct 2015 09:56:27 +0000 (13 12:56 +0300)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 16 Oct 2015 13:48:56 +0000 (16 14:48 +0100)
tree1caa80587b00510501fba285a7190c98fbc8a356
parent81669b8b81eb450d7b89ee5fdd57bdb73d87022d
target-arm: Fix GDB breakpoint handling

GDB breakpoints have higher priority so they have to be checked first.
Should GDB breakpoint match, just return from the debug exception
handler.

Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/op_helper.c