From: bernie Date: Mon, 25 Aug 2008 17:54:30 +0000 (+0000) Subject: BREAKPOINT: x86 asm syntax fix: 'int 3' -> 'int3' X-Git-Tag: 2.0.0~241 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=efaaa302de8fec1522eaa5a80ea750214028b3b4;p=bertos.git BREAKPOINT: x86 asm syntax fix: 'int 3' -> 'int3' git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1693 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/attr.h b/bertos/cpu/attr.h index 28274a71..837ccfb8 100644 --- a/bertos/cpu/attr.h +++ b/bertos/cpu/attr.h @@ -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