[MacPorts] #63483: gdb-apple: notes tell user to edit an uneditable system file

MacPorts noreply at macports.org
Fri Jan 12 03:05:53 UTC 2024


#63483: gdb-apple: notes tell user to edit an uneditable system file
--------------------------+----------------------
  Reporter:  spencerandy  |      Owner:  jeremyhu
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  gdb-apple    |
--------------------------+----------------------

Comment (by ojfd):

 In High Sierra, if you disable SIP, you **can edit**
 'com.apple.taskgated.plist' and add -p option, but gdb-apple still
 produces
 {{{
 Unable to find Mach task port for process-id XXX: (os/kern) failure (0x5)
 }}}
 error and, of course, does not work.
 Creating certificate in KeyChain and codesigning gdb-apple with it doesn't
 help either. I've just spent a whole day trying to make it work with no
 success whatsoever.
 In Yosemite it works like a charm.

 Someone, please look into this issue. I find this old gdb quite useful,
 mostly thanks to availability of [https://github.com/gdbinit/Gdbinit]

-- 
Ticket URL: <https://trac.macports.org/ticket/63483#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list