[Gtkradiant] [Bug 1031] breakpoint interrupt on powerpc

bugzilla-daemon at zerowing.idsoftware.com bugzilla-daemon at zerowing.idsoftware.com
Wed Oct 6 07:19:28 CDT 2004


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=1031


jaq at spacepants.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #554 is|0                           |1
           obsolete|                            |




------- Additional Comments From jaq at spacepants.org  2004-10-06 07:19 -------
Created an attachment (id=555)
 --> (http://zerowing.idsoftware.com/bugzilla/attachment.cgi?id=555&action=view)
C99 compliant trap raising

So it turns out there's a nice portable C99 way to raise a breakpoint, using
SIGTRAP.

Alternatively, kill(getpid(), SIGTRAP) if all you've got is POSIX.

I believe the entire block of ifdefs can be removed and replaced with this
single definition.

-- 
Configure bugmail: http://zerowing.idsoftware.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Gtkradiant mailing list