mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 01:58:54 +01:00 
			
		
		
		
	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:
		@@ -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 
 | 
			
		||||
 
 | 
			
		||||
@@ -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 
 | 
			
		||||
 
 | 
			
		||||
@@ -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 
 | 
			
		||||
 
 | 
			
		||||
@@ -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 
 | 
			
		||||
 
 | 
			
		||||
@@ -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 
 | 
			
		||||
 
 | 
			
		||||
@@ -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 
 | 
			
		||||
 
 | 
			
		||||
@@ -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 
 | 
			
		||||
 
 | 
			
		||||
@@ -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 
 | 
			
		||||
 
 | 
			
		||||
@@ -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 */
 | 
			
		||||
 
 | 
			
		||||
@@ -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 */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user