[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/5] Report exact PC on watchpoint hit
From: |
Jan Kiszka |
Subject: |
Re: [Qemu-devel] [PATCH 4/5] Report exact PC on watchpoint hit |
Date: |
Sat, 31 May 2008 16:42:21 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
Paul Brook wrote:
>> @@ -2395,6 +2396,11 @@ static target_ulong check_watchpoint(tar
>> + if (env->current_tb) {
>> + tb_addr = env->current_tb->page_addr[0];
>> + tb_invalidate_phys_page_range(tb_addr,
>> + tb_addr+TARGET_PAGE_SIZE-1,
>
> This is wrong. env->current_tb is not what you think it it is. TB chaining
> means we may be an any TB reachable from there.
OK, I see. But the general approach to obtain the exact PC is fine? So
should I flush the whole memory range instead?
Jan
signature.asc
Description: OpenPGP digital signature