https://bugzilla.novell.com/show_bug.cgi?id=353624


           Summary: eglib only sets breakpoint on x86
           Product: Mono: Runtime
           Version: SVN
          Platform: PowerPC-64
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: patch
          Severity: Enhancement
          Priority: P5 - None
         Component: misc
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
            Blocks: 324134
          Found By: Third Party Developer/Partner


Created an attachment (id=190410)
 --> (https://bugzilla.novell.com/attachment.cgi?id=190410)
proposed patch (fixes all platforms except alpha)

According to GLib docs, G_BREAKPOINT() should do a soft interrupt on x86 and
alpha and raise a SIGTRAP on all other platforms.

eglib currently only handles the x86 case and is a no-op for all other
platforms.

I have no idea what to do about alpha, but the attached patch fixes it for all
other cases. Tested on ppc64.

The small typo could be fixed in a separate commit, but here it has the benefit
of showing how x86 breakpoints are handled a few lines down.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to