iPad:~ root# gdb -p 2702
GNU gdb 6.3.50-20050815 (Apple version gdb-1708 + reverse.put.as patches v0.4) (Mon Apr 16 00:53:47 UTC 2012)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "arm-apple-darwin".
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
/private/var/root/2702: No such file or directory
Attaching to process 2702.
warning: error on line 221 of "/Volumes/Builds2/BuildRoot/SourceCache/gdb/gdb-1708/src/gdb/macosx/macosx-nat-infthread.c" in function "kern_return_t modify_trace_bit(thread_t, int)": (os/kern) invalid argument (0x4x)
warning: error on line 395 of "/Volumes/Builds2/BuildRoot/SourceCache/gdb/gdb-1708/src/gdb/macosx/macosx-nat-infthread.c" in function "void prepare_threads_after_stop(struct macosx_inferior_status *)": (os/kern) invalid argument (0x4x)
...
...
...
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
Error calling thread_get_state for GP registers for thread 0x4355lxerror on line 251 of "/Volumes/Builds2/BuildRoot/SourceCache/gdb/gdb-1708/src/gdb/macosx/arm-macosx-nat-exec.c" in function "void fetch_inferior_registers(int)": (os/kern) invalid argument (0x4)