Home
last modified time | relevance | path

Searched hist:"468 e3a1a9495bdbf679b1344de7e390e90696a56" (Results 1 – 1 of 1) sorted by relevance

/qemu/target/ppc/
H A Dkvm.c468e3a1a9495bdbf679b1344de7e390e90696a56 Thu Feb 28 22:57:58 UTC 2019 Fabiano Rosas <farosas@linux.ibm.com> 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>