mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-28 13:40:31 +08:00
Wrong constant name was used for the DEBUG exception.
This commit is contained in:
@@ -157,7 +157,7 @@ BreakPointExcHdl(CPU_Exception_frame *ctx)
|
||||
justSaveContext = 0;
|
||||
}
|
||||
else {
|
||||
if (ctx->idtIndex != DEBUG){
|
||||
if (ctx->idtIndex != I386_EXCEPTION_DEBUG){
|
||||
NbSerializedCtx++;
|
||||
rtems_semaphore_obtain(serializeSemId, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
|
||||
NbSerializedCtx--;
|
||||
|
||||
@@ -157,7 +157,7 @@ BreakPointExcHdl(CPU_Exception_frame *ctx)
|
||||
justSaveContext = 0;
|
||||
}
|
||||
else {
|
||||
if (ctx->idtIndex != DEBUG){
|
||||
if (ctx->idtIndex != I386_EXCEPTION_DEBUG){
|
||||
NbSerializedCtx++;
|
||||
rtems_semaphore_obtain(serializeSemId, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
|
||||
NbSerializedCtx--;
|
||||
|
||||
Reference in New Issue
Block a user