[Mono-bugs] [Bug 353624] New: eglib only sets breakpoint on x86

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 14 09:23:54 EST 2008


           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: mono-bugs at lists.ximian.com
        ReportedBy: andreas.faerber at web.de
         QAContact: mono-bugs at lists.ximian.com
            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

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.

More information about the mono-bugs mailing list