]> git.proxmox.com Git - qemu.git/commit
PPC: Fix GDB read on code area for PPC6xx
authorFabien Chouteau <chouteau@adacore.com>
Tue, 18 Jun 2013 14:53:01 +0000 (16:53 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 30 Jun 2013 23:11:17 +0000 (01:11 +0200)
commitb177d8b77c7301da9b51b829b0edcff367e92023
treea63f298bc2476849c9757dd48c8ed2ebc0debcc5
parent886b75779104f38c30cc2594fcf2b214615a242d
PPC: Fix GDB read on code area for PPC6xx

On PPC 6xx, data and code have separated TLBs. Until now QEMU was only
looking at data TLBs, which is not good when GDB wants to read code.

This patch adds a second call to get_physical_address() with an
ACCESS_CODE type of access when the first call with ACCESS_INT fails.

Signed-off-by: Fabien Chouteau <chouteau@adacore.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/mmu_helper.c