G_BREAKPOINT for alpha from Robert Wilhelm <robert@physiol.med.tu-muenchen.de>

-Yosh
This commit is contained in:
Manish Singh
1998-10-28 08:51:18 +00:00
parent 7428120d37
commit a32e40e2c4
10 changed files with 46 additions and 2 deletions

View File

@@ -336,7 +336,9 @@ extern "C" {
*/
#if defined (__i386__) && defined (__GNUC__)
#define G_BREAKPOINT() G_STMT_START{ __asm__ __volatile__ ("int $03"); }G_STMT_END
#else /* !__i386__ */
#elif defined (__alpha__) && defined (__GNUC__)
#define G_BREAKPOINT() G_STMT_START{ __asm__ __volatile__ ("bpt"); }G_STMT_END
#else /* !__i386__ && !__alpha__ */
#define G_BREAKPOINT()
#endif /* __i386__ */