This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]