27#ifndef __G_BACKTRACE_H__
28#define __G_BACKTRACE_H__
30#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
31#error "Only <glib.h> can be included directly."
36#include <sys/select.h>
58#if (defined (__i386__) || defined (__x86_64__)) && defined (__GNUC__) && __GNUC__ >= 2
59# define G_BREAKPOINT() G_STMT_START{ __asm__ __volatile__ ("int $03"); }G_STMT_END
60#elif (defined (_MSC_VER) || defined (__DMC__)) && defined (_M_IX86)
61# define G_BREAKPOINT() G_STMT_START{ __asm int 3h }G_STMT_END
62#elif defined (_MSC_VER)
63# define G_BREAKPOINT() G_STMT_START{ __debugbreak(); }G_STMT_END
64#elif defined (__alpha__) && !defined(__osf__) && defined (__GNUC__) && __GNUC__ >= 2
65# define G_BREAKPOINT() G_STMT_START{ __asm__ __volatile__ ("bpt"); }G_STMT_END
66#elif defined (__APPLE__) || (defined(_WIN32) && (defined(__clang__) || defined(__GNUC__)))
67# define G_BREAKPOINT() G_STMT_START{ __builtin_trap(); }G_STMT_END
69# define G_BREAKPOINT() G_STMT_START{ raise (SIGTRAP); }G_STMT_END
GLIB_AVAILABLE_IN_ALL void g_on_error_stack_trace(const gchar *prg_name)
G_BEGIN_DECLS GLIB_AVAILABLE_IN_ALL void g_on_error_query(const gchar *prg_name)
#define GLIB_AVAILABLE_IN_ALL
G_BEGIN_DECLS typedef char gchar