BREAKPOINT: x86 asm syntax fix: 'int 3' -> 'int3'
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 25 Aug 2008 17:54:30 +0000 (17:54 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 25 Aug 2008 17:54:30 +0000 (17:54 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1693 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/attr.h

index 28274a71ddc571d4daa4dccb8be5567ef4758e51..837ccfb82cabc6512f1d352ea2792946adf50d2e 100644 (file)
@@ -94,7 +94,7 @@
 
        #ifdef __GNUC__
                #define NOP         asm volatile ("nop")
-               #define BREAKPOINT  asm volatile ("int 3" ::)
+               #define BREAKPOINT  asm volatile ("int3" ::)
        #endif
 
 #elif CPU_ARM