From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14998 invoked by alias); 7 Oct 2009 21:16:20 -0000 Received: (qmail 14988 invoked by uid 22791); 7 Oct 2009 21:16:19 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 07 Oct 2009 21:16:15 +0000 Received: (qmail 31201 invoked from network); 7 Oct 2009 21:16:13 -0000 Received: from unknown (HELO macbook-2.local) (stan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 7 Oct 2009 21:16:13 -0000 Message-ID: <4ACD0518.5070104@codesourcery.com> Date: Wed, 07 Oct 2009 21:16:00 -0000 From: Stan Shebs User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: n179911 CC: "gdb@sourceware.org" Subject: Re: How to configure gdb to support '--arch=i386' on Mac OS X References: <3b9893450910071109p19138faam7653bd1e030c57a4@mail.gmail.com> <4ACCDE85.7080009@vmware.com> <3b9893450910071310s5225e440pb1b6eaa1d62f69db@mail.gmail.com> <20091007201959.GA23000@caradoc.them.org> <3b9893450910071321s2e58e036ye9000d8b1ee08333@mail.gmail.com> In-Reply-To: <3b9893450910071321s2e58e036ye9000d8b1ee08333@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00154.txt.bz2 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