add new GDebugFlag for fatal_criticals handle G_DEBUG=fatal_criticals, to

2005-11-04  Matthias Clasen  <mclasen@redhat.com>

        * glib/gdebug.h: add new GDebugFlag for fatal_criticals
        * glib/gmessages.c: (_g_debug_init): handle G_DEBUG=fatal_criticals,
        to help find critical warnings in applications.  (#320017,
        Vincent Untz)
This commit is contained in:
Matthias Clasen
2005-11-04 19:05:30 +00:00
committed by Matthias Clasen
parent af1b54729b
commit 8b14175a3e
7 changed files with 48 additions and 3 deletions

View File

@@ -1,3 +1,7 @@
2005-11-04 Matthias Clasen <mclasen@redhat.com>
* glib/running.sgml: Document fatal_criticals.
2005-10-26 Matthias Clasen <mclasen@redhat.com>
* gobject/gobject-sections.txt:

View File

@@ -65,7 +65,16 @@ variables like <envar>LANG</envar>, <envar>PATH</envar> or <envar>HOME</envar>.
<varlistentry>
<term>fatal_warnings</term>
<listitem><para>Causes GLib to abort the program at the first call
to <link linkend="g-warning">g_warning</link>(). This option is
to <link linkend="g-warning">g_warning</link>() or
<link linkend="g-critical">g_critical</link>(). This option is
special in that it doesn't require GLib to be configured with
debugging support.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>fatal_criticals</term>
<listitem><para>Causes GLib to abort the program at the first call
to <link linkend="g-critical">g_critical</link>(). This option is
special in that it doesn't require GLib to be configured with
debugging support.</para>
</listitem>