delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/25/12:59:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 25 Jan 2002 12:56:58 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: OT: gdb, cygwin & WINE
Message-ID: <20020125175658.GG27965@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1011956089 DOT 18203 DOT 29 DOT camel AT lifelesswks>
Mime-Version: 1.0
In-Reply-To: <1011956089.18203.29.camel@lifelesswks>
User-Agent: Mutt/1.3.23.1i

On Fri, Jan 25, 2002 at 09:54:48PM +1100, Robert Collins wrote:
>Ok, call me sick. I've a reason (really).
>
>My goal: to be able to use gdb, hosted on linux | wine, debugging
>binaries potentially linked against cygwin1.dll running under WINE.
>
>Why? Speed. linux is sooo much faster, that I am much more efficient
>there, but my emulated win9x vpc is far to slow. Building on NT is just
>a pain - build, quit all tools, replace cygwin, start them up again,....

Hmm.  I have a makefile that just installs things on windows from linux.
It moves the DLL out of the way if there are running apps.

Then I switch to my windows box using either vnc or my Cybex SwitchView.
If necessary, I close all apps and restart them so that they are running
the new DLL.

I don't see a way around this no matter where you are going to be
installing the DLL.

>And the multiple-cygwin approach isn't that friendly (for me). 
>
>Anyway, not being a gdb internal afficiondo, I thought I'd ask here,
>where there's a chance I won't get laughed at, before hitting the gdb
>lists :}.
>
>Specific questions:
>Can gdb hosted on linux, utilise the win32 debugging API or does it need
>to be a win32 hosted gdb to do that? 

Corinna once ported an internal application, called libremote, which
might allow you to do something like this.  I don't know if it allowed
a linux gdb to debug a Windows app, though.

Corinna?

>If the latter, does anyone have experience with WINE's support for the
>win32 debugging api?

Does Wine even run Cygwin?  The last I remember someone was asking us
to make Cygwin changes to accomodate Wine.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019