Not really news... this has been the case since the first Mac shipped with a DVD player. Wait until he tries to attach gdb while a Fairplay-encoded file is being played.
I think this is the story that the parent was referencing. Here's the story from 2005 and a kernel module loadable at runtime that gets around the problem.
Comments
Not really news... this has been the case since the first Mac shipped with a DVD player. Wait until he tries to attach gdb while a Fairplay-encoded file is being played.
What does happen if you try to attach gdb? You can't, or the application just quits, or do you get some error message? I'm somewhat curious now.
I think this is the story that the parent was referencing. Here's the story from 2005 and a kernel module loadable at runtime that gets around the problem.
https://blogs.oracle.com/ahl/entry/mac_os_x_and_the
http://landonf.bikemonkey.org/code/macosx/Leopard_PT_DENY_AT...
It's probably just PT_DENY_ATTACH that causes the debugger to quit.