• Vasily Gorbik's avatar
    s390/unwind: stop gracefully at task pt_regs · e76e6961
    Vasily Gorbik authored
    Consider reaching task pt_regs graceful unwinder termination. Task
    pt_regs itself never contains a valid state to which a task might return
    within the kernel context (user task pt_regs is a special case). Since
    we already avoid printing user task pt_regs and in most cases we don't
    even bother filling task pt_regs psw and r15 with something reasonable
    simply skip task pt_regs altogether. With this change unwind_error() now
    accurately represent whether unwinder reached task pt_regs successfully
    or failed along the way.
    Reviewed-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
    Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
    e76e6961
unwind_bc.c 3.92 KB