]> git.proxmox.com Git - mirror_qemu.git/blobdiff - accel/tcg/translate-all.c
target: Widen pc/cs_base in cpu_get_tb_cpu_state
[mirror_qemu.git] / accel / tcg / translate-all.c
index 03caf6245930c70ee3825140885f74086577e6af..03c49baf1cd4a21afc418ba660e9eb2d365af18f 100644 (file)
@@ -580,7 +580,8 @@ void tb_check_watchpoint(CPUState *cpu, uintptr_t retaddr)
         /* The exception probably happened in a helper.  The CPU state should
            have been saved before calling it. Fetch the PC from there.  */
         CPUArchState *env = cpu->env_ptr;
-        target_ulong pc, cs_base;
+        vaddr pc;
+        uint64_t cs_base;
         tb_page_addr_t addr;
         uint32_t flags;