G_BREAKPOINT is x86-only

Original commit message from CVS:
G_BREAKPOINT is x86-only
This commit is contained in:
Thomas Vander Stichele 2002-03-14 16:01:14 +00:00
parent b7d0645e36
commit 8a39e98f8b

View file

@ -242,7 +242,9 @@ static inline void sched_switch (cothread *to)
if (from == to) {
GST_DEBUG (GST_CAT_COTHREAD_SWITCH, "trying to switch to the same cothread (%p), not allowed\n",
to);
G_BREAKPOINT();
/* wingo says G_BREAKPOINT only works for x86, so change it */
/* G_BREAKPOINT(); */
g_assert_not_reached ();
}
GST_INFO (GST_CAT_COTHREAD_SWITCH, "switching from cothread %p to cothread %p",
from, to);