target/i386: Tidy hw_breakpoint_remove
commit080ac33542d7ee042710f05c023fe5e3a70b9ebf
authorDmitry Voronetskiy <davoronetskiy@gmail.com>
Sun, 13 Jun 2021 18:08:38 +0000 (13 21:08 +0300)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 13 Jul 2021 15:13:19 +0000 (13 08:13 -0700)
tree0928a840e802b0ddda13f84009f90717c5fbfd9e
parent708f50199b59476ec4b45ebcdf171550086d6292
target/i386: Tidy hw_breakpoint_remove

Since cpu_breakpoint and cpu_watchpoint are in a union,
the code should access only one of them.

Signed-off-by: Dmitry Voronetskiy <davoronetskiy@gmail.com>
Message-Id: <20210613180838.21349-1-davoronetskiy@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/i386/tcg/sysemu/bpt_helper.c