From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14376 invoked by alias); 7 Oct 2009 18:09:48 -0000 Received: (qmail 14364 invoked by uid 22791); 7 Oct 2009 18:09:48 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-yx0-f175.google.com (HELO mail-yx0-f175.google.com) (209.85.210.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 07 Oct 2009 18:09:41 +0000 Received: by yxe5 with SMTP id 5so5482407yxe.24 for ; Wed, 07 Oct 2009 11:09:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.90.217.11 with SMTP id p11mr154832agg.82.1254938980022; Wed, 07 Oct 2009 11:09:40 -0700 (PDT) Date: Wed, 07 Oct 2009 18:09:00 -0000 Message-ID: <3b9893450910071109p19138faam7653bd1e030c57a4@mail.gmail.com> Subject: How to configure gdb to support '--arch=i386' on Mac OS X From: n179911 To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-10/txt/msg00138.txt.bz2 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.