OSDN Git Service

target/ppc: set is_jmp on ppc_tr_breakpoint_check
authorEmilio G. Cota <cota@braap.org>
Mon, 2 Jul 2018 22:02:07 +0000 (18:02 -0400)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 3 Jul 2018 01:00:02 +0000 (11:00 +1000)
commit2a8ceefca23bc2aaafe711f8afd7585be3c27064
tree67fd6dda6ec79e57ef5168e750cd854a76067d28
parente89372951d328143ecdb3a524bf53454ad9309b0
target/ppc: set is_jmp on ppc_tr_breakpoint_check

The use of GDB breakpoints was broken by b0c2d52 ("target/ppc: convert
to TranslatorOps", 2018-02-16).

Fix it by setting is_jmp, so that we break from the translation loop
as originally intended.

Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reported-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/translate.c