diff options
author | Roman Kapl <rka@sysgo.com> | 2019-02-12 13:12:55 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-02-17 21:54:02 +1100 |
commit | e150ac89fbcf4ea15535f6718d0194310c39280d (patch) | |
tree | 9f1ea48dd9d48777ba6eb2c6fda856f9b9256e2b /hw/intc | |
parent | 4c668f4a3d684ec133a52d936314379f6edd672e (diff) | |
download | qemu-e150ac89fbcf4ea15535f6718d0194310c39280d.zip qemu-e150ac89fbcf4ea15535f6718d0194310c39280d.tar.gz qemu-e150ac89fbcf4ea15535f6718d0194310c39280d.tar.bz2 |
ppc: fix crash during branch stepping
The PPC BRANCH exception could bubble up, but this is an QEMU internal exception
and QEMU then crased. Instead it should trigger TRACE exception, according to
PPC 2.07 book. It could happen only when using branch stepping, which is not
commonly used.
Change gen_prep_dbgex do do trigger TRACE. The excp, argument is now removed,
since the type of exception can be inferred from the singlestep_enabled flags.
removed the guards around gen_exception, since they are unnecessary.
Fixes: 0e3bf48909 ("ppc: add DBCR based debugging").
Signed-off-by: Roman Kapl <rka@sysgo.com>
Message-Id: <20190212121255.2279-1-rka@sysgo.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions