G_BREAKPOINT is x86-only
authorThomas Vander Stichele <thomas@apestaart.org>
Thu, 14 Mar 2002 16:01:14 +0000 (16:01 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Thu, 14 Mar 2002 16:01:14 +0000 (16:01 +0000)
Original commit message from CVS:
G_BREAKPOINT is x86-only

gst/schedulers/gststandardscheduler.c

index b8eba98..d94538e 100644 (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);