On Mon, 24 Oct 2022 15:13:46 +1100, Russell Currey wrote:
> In hw_breakpoint_handler(), ea is set by wp_get_instr_detail() except
> for 8xx, leading the variable to be passed uninitialised to
> wp_check_constraints(). This is safe as wp_check_constraints() returns
> early without using ea, so just
Le 24/10/2022 à 06:13, Russell Currey a écrit :
> In hw_breakpoint_handler(), ea is set by wp_get_instr_detail() except
> for 8xx, leading the variable to be passed uninitialised to
> wp_check_constraints(). This is safe as wp_check_constraints() returns
> early without using ea, so just set it
In hw_breakpoint_handler(), ea is set by wp_get_instr_detail() except
for 8xx, leading the variable to be passed uninitialised to
wp_check_constraints(). This is safe as wp_check_constraints() returns
early without using ea, so just set it to make the compiler happy.
Signed-off-by: Russell Currey