1. 26 Jan, 2013 1 commit
  2. 26 Aug, 2012 1 commit
  3. 26 Jun, 2012 1 commit
  4. 04 Oct, 2011 1 commit
  5. 04 Sep, 2011 1 commit
  6. 22 Jul, 2010 1 commit
  7. 23 Jun, 2010 2 commits
  8. 22 Jun, 2010 2 commits
  9. 29 Jan, 2010 1 commit
  10. 23 Dec, 2009 1 commit
    • Martin Pitt's avatar
      Support storing assertion messages into core dump · da668979
      Martin Pitt authored
      Crash interception/debugging systems like Apport or ABRT capture core dumps for
      later crash analysis. However, if a program exits with an assertion failure,
      the core dump is not useful since the assertion message is only printed to
      stderr.
      
      glibc recently got a patch which stores the message of assert() into the
      __abort_msg global variable.
      (http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=48dcd0ba)
      That works fine for programs which actually use the standard C assert() macro.
      
      This patch adds the same functionality for glib's assertion tests. If we are
      building against a glibc which already has __abort_msg (2.11 and later, or
      backported above git commit), use that, otherwise put it into our own field
      __glib_assert_msg.
      
      Usage:
      
        $ cat test.c
        #include <glib.h>
      
        int main() {
            g_assert(1 < 0);
            return 0;
        }
      
        $ ./test
        **ERROR:test.c:5:main: assertion failed: (1 < 0)
        Aborted (Core dumped)
      
        $ gdb --batch --ex 'print (char*) __abort_msg' ./test core
        [...]
        $1 = 0x93bf028 "ERROR:test.c:5:main: assertion failed: (1 < 0)"
      
      https://bugzilla.gnome.org/show_bug.cgi?id=594872
      da668979
  11. 05 Jan, 2009 1 commit
    • Dan Winship's avatar
      update · b9cf1ed2
      Dan Winship authored
      	* glib/tests/.gitignore: update
      
      	* tests/.gitignore: update, sort
      
      	* tests/gobject/.gitignore: add
      
      svn path=/trunk/; revision=7772
      b9cf1ed2
  12. 02 Sep, 2008 1 commit
    • Allison Karlitskaya's avatar
      Bug 549771 – improved .gitignore for glib · 920f3bff
      Allison Karlitskaya authored
      2007-09-02  Ryan Lortie  <desrt@desrt.ca>
      
              Bug 549771 – improved .gitignore for glib
      
              * docs/reference/.gitignore:
              * docs/reference/gio/.gitignore:
              * docs/reference/gobject/tmpl/.gitignore:
              * gio/.gitignore:
              * gio/tests/.gitignore:
              * glib/.gitignore:
              * glib/libcharset/.gitignore:
              * glib/tests/.gitignore:
              * gmodule/.gitignore:
              * gobject/.gitignore:
              * gobject/tests/.gitignore:
              * po/.gitignore:
              * tests/.gitignore: new files
              * .gitignore: remove 'build' (since it's part of glib now), add more
              useful things.
      
      
      svn path=/trunk/; revision=7432
      920f3bff