public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Jim Ingham <jingham@apple.com>
To: Fernando Nasser <fnasser@redhat.com>
Cc: insight@sources.redhat.com
Subject: Re: Windows GUI to GDB on Mac OS X
Date: Tue, 17 Dec 2002 11:20:00 -0000	[thread overview]
Message-ID: <8CD659EC-11F4-11D7-89CB-00039379E320@apple.com> (raw)
In-Reply-To: <3DFF78BB.50606@redhat.com>

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

  reply	other threads:[~2002-12-17 19:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1040136194.25566.ezmlm@sources.redhat.com>
2002-12-17 10:46 ` Jim Ingham
2002-12-17 11:05   ` Fernando Nasser
2002-12-17 11:20     ` Jim Ingham [this message]
2002-12-18 13:41       ` Kai Ruottu
2002-12-17  6:43 Susan G. Conger
  -- strict thread matches above, loose matches on Subject: below --
2002-12-17  6:43 Susan G. Conger
2002-12-17  6:57 ` Fernando Nasser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8CD659EC-11F4-11D7-89CB-00039379E320@apple.com \
    --to=jingham@apple.com \
    --cc=fnasser@redhat.com \
    --cc=insight@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).