This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Windows GUI to GDB on Mac OS X
- From: Jim Ingham <jingham at apple dot com>
- To: Fernando Nasser <fnasser at redhat dot com>
- Cc: insight at sources dot redhat dot com
- Date: Tue, 17 Dec 2002 11:20:06 -0800
- Subject: Re: Windows GUI to GDB on Mac OS X
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