This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: How to configure gdb to support '--arch=i386' on Mac OS X
On Wed, Oct 07, 2009 at 01:10:00PM -0700, n179911 wrote:
> Thank you. You are right.
>
> The gdb comes with apple has '-arch' option, but gdb 7.0 does not.
>
> $ /usr/bin/gdb --help
> --translate Debug applications running under translation.
> -arch i386|armv6|x86_64|ppc Specify a gdb targetting a specific
> architecture
>
> So should I do what Joel Brobecker suggested in adding that option in
> gdb/main.c?
That is very unlikely to help. Last I looked, you can't use the FSF
GDB with Xcode; Apple has made too many changes to their version.
--
Daniel Jacobowitz
CodeSourcery