【发布时间】:2012-02-19 15:42:48
【问题描述】:
我的 iphone(以及我朋友的 iphone)的断点(在 gdb 中)不工作! 我在 cydia 中下载了 gdb 有人知道这个问题吗?
Tester-ui-iPhone:/tmp root# uname -a
Darwin Tester-ui-iPhone 11.0.0 Darwin Kernel Version 11.0.0: Tue Nov 1 20:33:22 PDT 2011; root:xnu-1878.4.46~1/RELEASE_ARM_S5L8920X iPhone2,1 arm N88AP Darwin
Tester-ui-iPhone:/tmp root# gdb test
GNU gdb 6.3.50.20050815-cvs (Fri May 20 08:08:42 UTC 2011)
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 "--host=arm-apple-darwin9 --target="...
Reading symbols for shared libraries . done
(gdb) b main
Breakpoint 1 at 0x2d2e
(gdb) r
Starting program: /private/var/tmp/test
Syntax: /private/var/tmp/test <arg>
Program exited with code 01.
(gdb)
【问题讨论】:
标签: iphone ios debugging gdb reverse-engineering