aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86/lib/exception.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/lib/exception.c')
-rw-r--r--src/arch/x86/lib/exception.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/lib/exception.c b/src/arch/x86/lib/exception.c
index 91525d5935..4721bc8b16 100644
--- a/src/arch/x86/lib/exception.c
+++ b/src/arch/x86/lib/exception.c
@@ -365,7 +365,7 @@ void x86_exception(struct eregs *info);
void x86_exception(struct eregs *info)
{
-#if CONFIG_GDB_STUB == 1
+#if CONFIG_GDB_STUB
int signo;
memcpy(gdb_stub_registers, info, 8*sizeof(uint32_t));
gdb_stub_registers[PC] = info->eip;