commit | 9ff054befa608d11cb3976df46d8323e447bccc4 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Fri Jul 10 10:38:32 2015 +0800 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 28 10:36:21 2015 -0600 |
tree | 513378f5f4dafc512599d43bc3e338a00dc52bd0 | |
parent | b141cff365471aaadd4c4c23149d86287cdf340e [diff] |
x86: Display correct CS/EIP/EFLAGS when there is an error code Some exceptions cause an error code to be saved on the current stack after the EIP value. We should extract CS/EIP/EFLAGS from different position on the stack based on the exception number. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>