diff options
author | Fabiano Rosas <farosas@linux.ibm.com> | 2019-02-28 19:57:58 -0300 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-03-12 14:33:04 +1100 |
commit | 468e3a1a9495bdbf679b1344de7e390e90696a56 (patch) | |
tree | 42daab4b8ec42e2760578d37c7180324652c33d7 /pc-bios | |
parent | 2cbd158131e5a5e392417fb4511075a5d2af1bdd (diff) | |
download | qemu-468e3a1a9495bdbf679b1344de7e390e90696a56.zip qemu-468e3a1a9495bdbf679b1344de7e390e90696a56.tar.gz qemu-468e3a1a9495bdbf679b1344de7e390e90696a56.tar.bz2 |
target/ppc: Refactor kvm_handle_debug
There are four scenarios being handled in this function:
- single stepping
- hardware breakpoints
- software breakpoints
- fallback (no debug supported)
A future patch will add code to handle specific single step and
software breakpoints cases so let's split each scenario into its own
function now to avoid hurting readability.
Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Message-Id: <20190228225759.21328-5-farosas@linux.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'pc-bios')
0 files changed, 0 insertions, 0 deletions