[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/3] target-i386:slightly refactor dr7 related f
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 3/3] target-i386:slightly refactor dr7 related function |
Date: |
Thu, 6 Dec 2012 09:44:46 +0000 |
On 6 December 2012 09:27, li guang <address@hidden> wrote:
> 在 2012-12-06四的 09:23 +0000,Peter Maydell写道:
>> I mean that in the comments on the previous version of this
>> patchseet we explained that this check is specifically checking
>> for whether the breakpoint is enabled locally, and that your
>> change to just returning bool broke this. And in this version
>> of the patch there is still exactly the same problem.
>
> why broke?
> this function just ask if breakpoint 'i' was enable,
> so we answer enabled or not? 2 simple cases, any problem?
See what we said last time around:
http://lists.nongnu.org/archive/html/qemu-devel/2012-12/msg00456.html
Most of the callers to hw_breakpoint_enabled() are only
asking "is this enabled at all?". This callsite is asking
"is this breakpoint enabled as a local breakpoint and only
as a local breakpoint?".
-- PMM
- [Qemu-devel] [PATCH 3/3] target-i386:slightly refactor dr7 related function, (continued)
- [Qemu-devel] [PATCH 3/3] target-i386:slightly refactor dr7 related function, liguang, 2012/12/05
- Re: [Qemu-devel] [PATCH 3/3] target-i386:slightly refactor dr7 related function, Peter Maydell, 2012/12/06
- Re: [Qemu-devel] [PATCH 3/3] target-i386:slightly refactor dr7 related function, li guang, 2012/12/06
- Re: [Qemu-devel] [PATCH 3/3] target-i386:slightly refactor dr7 related function, Peter Maydell, 2012/12/06
- Re: [Qemu-devel] [PATCH 3/3] target-i386:slightly refactor dr7 related function, li guang, 2012/12/06
- Re: [Qemu-devel] [PATCH 3/3] target-i386:slightly refactor dr7 related function, Wei-Ren Chen, 2012/12/06
- Re: [Qemu-devel] [PATCH 3/3] target-i386:slightly refactor dr7 related function, Andreas Färber, 2012/12/06
- Re: [Qemu-devel] [PATCH 3/3] target-i386:slightly refactor dr7 related function, Peter Maydell, 2012/12/06
- Re: [Qemu-devel] [PATCH 3/3] target-i386:slightly refactor dr7 related function, Andreas Färber, 2012/12/06
- Re: [Qemu-devel] [PATCH 3/3] target-i386:slightly refactor dr7 related function, li guang, 2012/12/06
- Re: [Qemu-devel] [PATCH 3/3] target-i386:slightly refactor dr7 related function,
Peter Maydell <=