Skip to content
Snippets Groups Projects
Commit a31e7605 authored by Laurent Vivier's avatar Laurent Vivier
Browse files

linux-user: fix microblaze get_sp_from_cpustate()


get_sigframe() uses regs[1] and this is actual SP.

Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
Message-Id: <20180409115212.875-1-laurent@vivier.eu>
parent df6378eb
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ typedef struct target_sigaltstack {
static inline abi_ulong get_sp_from_cpustate(CPUMBState *state)
{
return state->regs[14];
return state->regs[1];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment