target/m68k: call gen_raise_exception() directly if single-stepping in gen_jmp_tb()
commit4f2b21efb398e93293e0fcd97b203563ff53e228
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 19 May 2021 14:29:15 +0000 (19 15:29 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 26 May 2021 18:43:43 +0000 (26 20:43 +0200)
treeddda9c2e3eb6800cc30e484cde2814bb95b066d1
parentf334bb2562dafbdc4ce673e5811bc9880758b147
target/m68k: call gen_raise_exception() directly if single-stepping in gen_jmp_tb()

In order to consolidate the single-step exception handling into a single
helper, change gen_jmp_tb() so that it calls gen_raise_exception() directly
instead of gen_exception(). This ensures that all single-step exceptions are
now handled directly by gen_raise_exception().

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210519142917.16693-3-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
target/m68k/translate.c