Martin Schmidt uploaded patch set #2 to this change.
src/arch/x86: Fix register accesses for x86_64 debugging
Code that interacts with GDB was accessing the eip and eflags fields in
the eregs struct.
Because those registers are rip and rflags in x86_64, compilation would
fail with x86_64 + debugging enabled.
Fix compilation by accessing the fields with a macro
which expands to the corresponding x86_64 or x86 registers.
Signed-off-by: Martin Schmidt <martin.schmidt@epita.fr>
Change-Id: I07183fe84d083e79ccfda19df82e87c374aed84a
---
M src/arch/x86/exception.c
M src/arch/x86/include/arch/registers.h
2 files changed, 12 insertions(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/32/45032/2
To view, visit change 45032. To unsubscribe, or for help writing mail filters, visit settings.