I trying to use the GDB debugger on OS X 10.8.5 to step through an example from the OS X Internals text book however gdb reports:
Unable to find Mach task port for process-id 2930: (os/kernel) failure(0x5) (Please check gdb is codesigned - see taskgated(8)).
What does the following mean? Unable to find Mach task port for process-id 2930. What is taskgated? I do not want to use lldb yet, so how can I utilize gdb without elevating to the root user via sudo gdb?