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

n179911
2009-10-07T18:09:48Z

Hi,

I have compiled gdb 7.0 on Mac OS X. And I have configured XCode to
use this new version of gdb 7.0.

But when I start debug my XCode project it said gdb can't recognize
the option '--arch=i386'. Here is the log of my error:

[Session started at 2009-10-07 11:00:43 -0700.]
/Users/n179911/bin/gdb/bin/gdb: unrecognized option `--arch=i386'
Use `/Users/n179911/bin/gdb/bin/gdb --help' for a complete list of options.

The Debugger has exited with status 1.The Debugger has exited with status

Can you please tell me how to build gdb to support '--arch-i386' option?

Thank you.