Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8189429

SA: MacOSX: Replace the deprecated PT_ATTACH with PT_ATTACHEXC

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 11
    • 10
    • hotspot
    • b20
    • x86
    • os_x

    Backports

      Description

        The argument PT_ATTACH for ptrace() attaching to a target process is deprecated and has to be replaced by PT_ATTACHEXC. This causes signals (SIGSTOP during attach) from the debuggee to be delivered as Mach exceptions. Modifications would need to be done within SA to handle these. The webrev for the change is at: http://cr.openjdk.java.net/~jgeorge/8184042/webrev.00/ and the mails wrt this are at: http://mail.openjdk.java.net/pipermail/serviceability-dev/2017-August/021702.html

        Attachments

          Issue Links

            Activity

              People

                jgeorge Jini George (Inactive)
                jgeorge Jini George (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: