From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8864 invoked by alias); 18 Apr 2006 10:29:53 -0000 Received: (qmail 8856 invoked by uid 22791); 18 Apr 2006 10:29:52 -0000 X-Spam-Check-By: sourceware.org Received: from mail.artimi.com (HELO mail.artimi.com) (217.40.213.68) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 18 Apr 2006 10:29:51 +0000 Received: from mail.artimi.com ([192.168.1.3]) by mail.artimi.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 18 Apr 2006 11:29:49 +0100 Received: from rainbow ([192.168.1.165]) by mail.artimi.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 18 Apr 2006 11:29:47 +0100 From: "Dave Korn" To: "'Bill Burgess'" , Subject: RE: gdbserver on OS X -- abandon all hope? Date: Tue, 18 Apr 2006 14:20:00 -0000 Message-ID: <001901c662d3$0403feb0$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00245.txt.bz2 On 18 April 2006 06:31, Bill Burgess wrote: > Hello, > > Four years ago the question of gdbserver on OS X came up here, but > with no joy. Hoping that surely this situation had changed I > downloaded the source today, but gdbserver will still only configure > for Linux targets. > > I guess it must be hard or someone would have done it by now? What a > shame, I can compile for my ARM target under Eclipse in OS X but it > looks like Windows/USB-JTAG will be necessary to debug it. On the > other hand perhaps it will save me a bundle as there's no point in my > getting ARM's newly-gdbserver-compatible RealView ICE JTAG adapter. > > And no, there's nothing at Apple regarding gdbserver except blindly > copied FSF documentation. Not a single hit in the Apple discussion > forums. And nothing I can find anywhere on Tiger OS X 10.4. Now, in > fact there are gdbserver sources located at Apple: > > http://www.opensource.apple.com/darwinsource/DevToolsNov2005/gdb-434/ > src/gdb/gdbserver/ > > ...but the configure.srv file lists only Linux targets. Probably > blindly copied (like the documentation) and never built. > > Is it time to abandon all hope? > > Thanks, > --Bill Sorry, can you just clarify something: if you're cross-compiling for and debugging an ARM target, why would you need to configure gdbserver for OS X? As far as I understand it you run gdbserver on the target and would only need to run plain old gdb itself on your Mac. cheers, DaveK -- Can't think of a witty .sigline today....