Gdbstub: Fix back-trace on SPARC32
commit44520db10b1b92f272348ab7028e7afc68ac3edf
authorFabien Chouteau <chouteau@adacore.com>
Thu, 8 Sep 2011 10:48:16 +0000 (8 12:48 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 10 Sep 2011 18:12:35 +0000 (10 18:12 +0000)
tree2e39e553803bda9567f1ae46ad53efc222cc0dd0
parent7d890b4074a415d39f02d3b01e7c40ece1b57087
Gdbstub: Fix back-trace on SPARC32

Gdb expects all registers windows to be flushed in ram, which is not the case
in Qemu. Therefore the back-trace generation doesn't work. This patch adds a
function to handle reads (and only read) in stack frames as if windows were
flushed.

Signed-off-by: Fabien Chouteau <chouteau@adacore.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
gdbstub.c
target-sparc/cpu.h
target-sparc/helper.c