From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7247 invoked by alias); 17 Dec 2002 19:20:31 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 7240 invoked from network); 17 Dec 2002 19:20:30 -0000 Received: from unknown (HELO mail-out1.apple.com) (17.254.0.52) by 209.249.29.67 with SMTP; 17 Dec 2002 19:20:30 -0000 Received: from mailgate2.apple.com (A17-129-100-225.apple.com [17.129.100.225]) by mail-out1.apple.com (8.11.3/8.11.3) with ESMTP id gBHJKIw16647 for ; Tue, 17 Dec 2002 11:20:18 -0800 (PST) Received: from scv2.apple.com (scv2.apple.com) by mailgate2.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Tue, 17 Dec 2002 11:20:18 -0800 Received: from apple.com (inghji.apple.com [17.201.22.240]) by scv2.apple.com (8.11.3/8.11.3) with ESMTP id gBHJKIQ25645; Tue, 17 Dec 2002 11:20:18 -0800 (PST) Date: Tue, 17 Dec 2002 11:20:00 -0000 Subject: Re: Windows GUI to GDB on Mac OS X Content-Type: text/plain; delsp=yes; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: insight@sources.redhat.com To: Fernando Nasser From: Jim Ingham In-Reply-To: <3DFF78BB.50606@redhat.com> Message-Id: <8CD659EC-11F4-11D7-89CB-00039379E320@apple.com> Content-Transfer-Encoding: 7bit X-SW-Source: 2002-q4/txt/msg00216.txt.bz2 Fernando, On Tuesday, December 17, 2002, at 11:19 AM, Fernando Nasser wrote: > Jim, > > If I understood right, she wants to do just the opposite. her local > machine is a Windows machine and the remote one is the Mac one. > Oh, yeah, I didn't read this closely enough... Sorry for the noise. > That is why I suggested running gdbserver on the Mac OS X (should > build with no problem, I believe). Then she can use GDB (thus > Insight) from her Windows machine, connecting to the gdbserver target. > > gdbserver is currently very complete, handles threads etc... > But gdbserver doesn't use the gdb target code, it has its own implementation of process & thread handling, register & memory reading, etc... The linux-low code won't work on Mac OS X, it is a pretty different OS from Linux. So we would have to actually port gdbserver to Mac OS X, which we haven't done yet. Sadly, the best Susan is going to be able to do is to run the emacs mode in her terminal window (hardly a gui, but a little better than a command line) Jim > Cheers, > Fernando > > Jim Ingham wrote: >> Susan, >> Well, there is Project Builder, which is (at least the Debugger part) >> just a GUI debugger running on top of gdb. It's free, and comes on >> the Developer tools CD... >> Anyway, if you want Insight in particular, that will take some work. >> It probably wouldn't be all that hard to get an X11 version of >> Insight to build (Fink makes installing the X11 bits pretty easy). >> The Apple gdb repository is (with the exception of lots of local >> source mods) very close to the FSF structure. There are a couple of >> the local mods that are likely to cause trouble, however. We added a >> switchable interpreter model at Apple, which Keith merged back for >> us, but we haven't picked up the merged version (it actually hasn't >> been committed to the FSF tree yet.) That is likely to cause some >> problems. Also, we changed the varobj code to handle some of the >> other requirements that PB had. But I haven't done any work yet to >> make sure Insight continues to work, so it is likely these will cause >> Insight heartburn... But a bold and intrepid hacker could probably >> get something working without breaking too much of a sweat. >> The other option is DDD, which might work on the gdb that ships with >> the Developer tools. We don't use the annotations at all, so we >> didn't change them. Emacs' gud mode works fine with our gdb, so >> maybe DDD will. Again, you will have to build the X11 version of >> this, though Fink may have a built one available already. >> Jim >> On Tuesday, December 17, 2002, at 06:43 AM, >> insight-digest-help@sources.redhat.com wrote: >>> Hi, >>> >>> I am trying to find a GUI to GDB running on a Mac OS X box. I have >>> to do Mac >>> OS X development and I do this from my Windows machine using a >>> terminal >>> program. I really like GUI debuggers so I was hoping there is a >>> solution that >>> will give me a GUI interface to GDB running on the Mac OS X box. >>> Has anyone >>> tried this before? Does anyone know of something that might work? >>> >>> Thanks, >>> Susan >>> >>> ===================================================================== >>> = >>> Susan G. Conger Custom Windows & Macintosh >>> Development >>> President Web Site Design & >>> Development >>> YOERIC Corporation Database Design & >>> Development >>> 256 Windy Ridge Road >>> Chapel Hill, NC 27517 >>> Phone/Fax: (919)542-0071 >>> congers@yoeric.com >>> www.yoeric.com >>> >> -- >> Jim Ingham jingham@apple.com >> Developer Tools >> Apple Computer > > > -- > Fernando Nasser > Red Hat Canada Ltd. E-Mail: fnasser@redhat.com > 2323 Yonge Street, Suite #300 > Toronto, Ontario M4P 2C9 > > -- Jim Ingham jingham@apple.com Developer Tools Apple Computer