After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 83199 - G_BREAKPOINT on non-x86 or alpha platforms
G_BREAKPOINT on non-x86 or alpha platforms
Status: RESOLVED NOTABUG
Product: glib
Classification: Platform
Component: general
2.0.x
Other other
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2002-05-27 22:24 UTC by Dick Porter
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dick Porter 2002-05-27 22:24:47 UTC
On non-x86 or alpha platforms, G_BREAKPOINT() needs SIGTRAP defined. 
Currently apps have to #include <signal.h> conditionally, depending on
architecture.

I notice that a #include <signal.h> was deliberately removed from
gbacktrace.h on 2001/11/02.  cvs log doesnt say why though.
Comment 1 Owen Taylor 2002-05-28 01:04:27 UTC
See comments on bug 75741 (not dupping because bug 75741 was
about something else originally and I don't want to change
its title.)

Tim considers that if you want to use G_BREAKPOINT() you
should (unconditionally) include gsignal.h in your
code.

I consider that you shouldn't use G_BREAKPOINT() except
possibly as a temporary debugging hack.