qemu-e2k/target-i386
liguang e175bce587 target-i386: Use switch in check_hw_breakpoints()
Replace an if statement using magic numbers for breakpoint type with a
more explicit switch statement. This is to aid readability.

Change the return type and force_dr6_update argument type to bool.

While at it, fix Coding Style issues (missing braces).

Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-01-15 09:23:50 +01:00
..
2012-12-20 23:08:47 +01:00
2012-10-01 08:04:22 -05:00
2012-08-14 19:01:26 +00:00
2012-08-14 19:01:25 +00:00