Re: How to configure gdb to support '--arch=i386' on Mac OS X

Stan Shebs
2009-10-07T21:16:20Z

n179911 wrote:
> From
>
> http://developer.apple.com/mac/library/documentation/DeveloperTools/Reference/XcodeUserDefaultRef/100-Xcode_User_Defaults/UserDefaultRef.html#//apple%5Fref/doc/uid/TP40005535-CH3-SW54
>
> it mentions I can switch a different GDB in xcode.
>
In practice, that is mostly useful for using different versions/releases
of Apple's GDB, or for cross development. The --arch issue is just the
tip of the iceberg of problems you are likely to experience with trying
to use FSF GDB. The command set is different, output from commands is
different, and Xcode has lots of assumptions about what the debugger can
do, especially for the native case.

Stan