use G_BREAKPOINT() instead of raise(5).

Sat Jun 23 17:34:38 2001  Tim Janik  <timj@gtk.org>

        * gmessages.c (g_logv): use G_BREAKPOINT() instead of raise(5).
This commit is contained in:
Tim Janik 2001-06-23 20:14:48 +00:00 committed by Tim Janik
parent f5c28ce4ab
commit 0646fe7c88
10 changed files with 34 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Sat Jun 23 17:34:38 2001 Tim Janik <timj@gtk.org>
* gmessages.c (g_logv): use G_BREAKPOINT() instead of raise(5).
Wed Jun 20 12:00:54 2001 Owen Taylor <otaylor@redhat.com>
Changes for 64-bit cleanliness, loosely based on patch

View File

@ -1,3 +1,7 @@
Sat Jun 23 17:34:38 2001 Tim Janik <timj@gtk.org>
* gmessages.c (g_logv): use G_BREAKPOINT() instead of raise(5).
Wed Jun 20 12:00:54 2001 Owen Taylor <otaylor@redhat.com>
Changes for 64-bit cleanliness, loosely based on patch

View File

@ -1,3 +1,7 @@
Sat Jun 23 17:34:38 2001 Tim Janik <timj@gtk.org>
* gmessages.c (g_logv): use G_BREAKPOINT() instead of raise(5).
Wed Jun 20 12:00:54 2001 Owen Taylor <otaylor@redhat.com>
Changes for 64-bit cleanliness, loosely based on patch

View File

@ -1,3 +1,7 @@
Sat Jun 23 17:34:38 2001 Tim Janik <timj@gtk.org>
* gmessages.c (g_logv): use G_BREAKPOINT() instead of raise(5).
Wed Jun 20 12:00:54 2001 Owen Taylor <otaylor@redhat.com>
Changes for 64-bit cleanliness, loosely based on patch

View File

@ -1,3 +1,7 @@
Sat Jun 23 17:34:38 2001 Tim Janik <timj@gtk.org>
* gmessages.c (g_logv): use G_BREAKPOINT() instead of raise(5).
Wed Jun 20 12:00:54 2001 Owen Taylor <otaylor@redhat.com>
Changes for 64-bit cleanliness, loosely based on patch

View File

@ -1,3 +1,7 @@
Sat Jun 23 17:34:38 2001 Tim Janik <timj@gtk.org>
* gmessages.c (g_logv): use G_BREAKPOINT() instead of raise(5).
Wed Jun 20 12:00:54 2001 Owen Taylor <otaylor@redhat.com>
Changes for 64-bit cleanliness, loosely based on patch

View File

@ -1,3 +1,7 @@
Sat Jun 23 17:34:38 2001 Tim Janik <timj@gtk.org>
* gmessages.c (g_logv): use G_BREAKPOINT() instead of raise(5).
Wed Jun 20 12:00:54 2001 Owen Taylor <otaylor@redhat.com>
Changes for 64-bit cleanliness, loosely based on patch

View File

@ -1,3 +1,7 @@
Sat Jun 23 17:34:38 2001 Tim Janik <timj@gtk.org>
* gmessages.c (g_logv): use G_BREAKPOINT() instead of raise(5).
Wed Jun 20 12:00:54 2001 Owen Taylor <otaylor@redhat.com>
Changes for 64-bit cleanliness, loosely based on patch

View File

@ -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 */

View File

@ -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 */