Reverse debugging with gnu gdb on Mac OS X 10.7

I'm very interesting in ability to reverse debugging one immense xcode-based project on MacOS X. The problem is XCode 4.1 has gdb version 6.3.50, while reverse debugging presents starting from 7.0

So I installed gdb 7.3 via macports, but it rejects to recognize the executable at all with the message:

GNU gdb (GDB) 7.3 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin11.1.0".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
"path/to/my.bundle.app/Content/MacOS/executable": not in executable format: File format not recognized

Does anyone know whether if is it possible to fix the problem ?

链接地址: http://www.djcxy.com/p/49704.html

上一篇: gdb:如何用空格在文件中设置断点

下一篇: 在Mac OS X 10.7上使用gnu gdb进行反向调试