From: Tim Janik Date: Sat, 23 Jun 2001 20:14:48 +0000 (+0000) Subject: use G_BREAKPOINT() instead of raise(5). X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=0646fe7c884259dda23a24c1ee22d93b22585ab3;p=dana%2Fcg-glib.git use G_BREAKPOINT() instead of raise(5). Sat Jun 23 17:34:38 2001 Tim Janik * gmessages.c (g_logv): use G_BREAKPOINT() instead of raise(5). --- diff --git a/ChangeLog b/ChangeLog index 6dac104f..5ca24a1c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Jun 23 17:34:38 2001 Tim Janik + + * gmessages.c (g_logv): use G_BREAKPOINT() instead of raise(5). + Wed Jun 20 12:00:54 2001 Owen Taylor Changes for 64-bit cleanliness, loosely based on patch diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 6dac104f..5ca24a1c 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,7 @@ +Sat Jun 23 17:34:38 2001 Tim Janik + + * gmessages.c (g_logv): use G_BREAKPOINT() instead of raise(5). + Wed Jun 20 12:00:54 2001 Owen Taylor Changes for 64-bit cleanliness, loosely based on patch diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 6dac104f..5ca24a1c 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,7 @@ +Sat Jun 23 17:34:38 2001 Tim Janik + + * gmessages.c (g_logv): use G_BREAKPOINT() instead of raise(5). + Wed Jun 20 12:00:54 2001 Owen Taylor Changes for 64-bit cleanliness, loosely based on patch diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 6dac104f..5ca24a1c 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,7 @@ +Sat Jun 23 17:34:38 2001 Tim Janik + + * gmessages.c (g_logv): use G_BREAKPOINT() instead of raise(5). + Wed Jun 20 12:00:54 2001 Owen Taylor Changes for 64-bit cleanliness, loosely based on patch diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 6dac104f..5ca24a1c 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,7 @@ +Sat Jun 23 17:34:38 2001 Tim Janik + + * gmessages.c (g_logv): use G_BREAKPOINT() instead of raise(5). + Wed Jun 20 12:00:54 2001 Owen Taylor Changes for 64-bit cleanliness, loosely based on patch diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 6dac104f..5ca24a1c 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,7 @@ +Sat Jun 23 17:34:38 2001 Tim Janik + + * gmessages.c (g_logv): use G_BREAKPOINT() instead of raise(5). + Wed Jun 20 12:00:54 2001 Owen Taylor Changes for 64-bit cleanliness, loosely based on patch diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 6dac104f..5ca24a1c 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,7 @@ +Sat Jun 23 17:34:38 2001 Tim Janik + + * gmessages.c (g_logv): use G_BREAKPOINT() instead of raise(5). + Wed Jun 20 12:00:54 2001 Owen Taylor Changes for 64-bit cleanliness, loosely based on patch diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 6dac104f..5ca24a1c 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,7 @@ +Sat Jun 23 17:34:38 2001 Tim Janik + + * gmessages.c (g_logv): use G_BREAKPOINT() instead of raise(5). + Wed Jun 20 12:00:54 2001 Owen Taylor Changes for 64-bit cleanliness, loosely based on patch diff --git a/glib/gmessages.c b/glib/gmessages.c index 5513b318..19479503 100644 --- a/glib/gmessages.c +++ b/glib/gmessages.c @@ -538,7 +538,7 @@ g_logv (const gchar *log_domain, { #if defined (G_ENABLE_DEBUG) && defined (SIGTRAP) if (!(test_level & G_LOG_FLAG_RECURSION)) - raise (SIGTRAP); + G_BREAKPOINT (); else abort (); #else /* !G_ENABLE_DEBUG || !SIGTRAP */ diff --git a/gmessages.c b/gmessages.c index 5513b318..19479503 100644 --- a/gmessages.c +++ b/gmessages.c @@ -538,7 +538,7 @@ g_logv (const gchar *log_domain, { #if defined (G_ENABLE_DEBUG) && defined (SIGTRAP) if (!(test_level & G_LOG_FLAG_RECURSION)) - raise (SIGTRAP); + G_BREAKPOINT (); else abort (); #else /* !G_ENABLE_DEBUG || !SIGTRAP */