commit | 013cf483c9d431e36d4ef2b854ee621cce51b8ce | [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 | 66d10c18bf2c34698362b6fe1891bcc6e8755243 [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>