diff options
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Debug.c')
-rw-r--r-- | EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Debug.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Debug.c b/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Debug.c index a968f40..bcfdf7e 100644 --- a/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Debug.c +++ b/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Debug.c @@ -77,7 +77,14 @@ Returns: //
// Put break point in module that contained the error.
//
+#ifndef __GNUC__
EFI_BREAKPOINT ();
+#else
+ //
+ // Bugbug: Need to fix a GNC style cpu break point
+ //
+ EFI_DEADLOOP ();
+#endif
}
VOID
|