Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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/