Skip to content
Commit 33ab1979 authored by Jason Wessel's avatar Jason Wessel
Browse files

kgdb,i386: use address that SP register points to in the exception frame



The treatment of the SP register is different on x86_64 and i386.
This is a regression fix that lived outside the mainline kernel from
2.6.27 to now.  The regression was a result of the original merge
consolidation of the i386 and x86_64 archs to x86.

The incorrectly reported SP on i386 prevented stack tracebacks from
working correctly in gdb.

Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
parent 364b5b7b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment