Re: Debugging mingw applications using wine

2005-01-17 Thread Eric Pouech
> In that case, what is "winedbg --gdb" for? Why have this option if no GDB supports it? because it targets different stuff: winedbg (standalone) is able to load and use debug info from: - ELF modules (exec and shared libs) (with stabs info, dwarf2 isn't supported). As wine DLLs are implemented o

Re: Debugging mingw applications using wine

2005-01-07 Thread Bryce McKinlay
Eric Pouech wrote: Could you give any hints as to how to configure GDB with 'stabs in PE' support? The only reference I could find in the GDB documentation is: "6.4.5 PE Windows 95 and NT use the PE (/Portable Executable/) format for their executables. PE is basically COFF with additional heade

Re: Debugging mingw applications using wine

2005-01-07 Thread Eric Pouech
Bryce McKinlay a écrit : Eric Pouech wrote: Bryce McKinlay a écrit : I'm trying to debug a windows .exe built with mingw using wine, but winedbg seems to have problems reading stabs from the mingw-built binary. My goal is to be able to debug a cross-compiled, native Java (GCJ) application, but e

Re: Debugging mingw applications using wine

2005-01-04 Thread Bryce McKinlay
Eric Pouech wrote: Bryce McKinlay a écrit : I'm trying to debug a windows .exe built with mingw using wine, but winedbg seems to have problems reading stabs from the mingw-built binary. My goal is to be able to debug a cross-compiled, native Java (GCJ) application, but even a simple C "hello wor

Re: Debugging mingw applications using wine

2005-01-02 Thread Eric Pouech
Dimitrie O. Paun a écrit : On Sun, Jan 02, 2005 at 11:35:07AM +0100, Eric Pouech wrote: winedbg using the gdb won't work here because (likely on unix) gdb isn't compiled with proper 'stabs in PE' support Maybe we should lobby people (like Fedora) to enable it by default. but this would require

Re: Debugging mingw applications using wine

2005-01-02 Thread Dimitrie O. Paun
On Sun, Jan 02, 2005 at 11:35:07AM +0100, Eric Pouech wrote: > winedbg using the gdb won't work here because (likely on unix) gdb isn't > compiled with proper 'stabs in PE' support Maybe we should lobby people (like Fedora) to enable it by default. -- Dimi.

Re: Debugging mingw applications using wine

2005-01-02 Thread Eric Pouech
Bryce McKinlay a écrit : I'm trying to debug a windows .exe built with mingw using wine, but winedbg seems to have problems reading stabs from the mingw-built binary. My goal is to be able to debug a cross-compiled, native Java (GCJ) application, but even a simple C "hello world" seems to cause

Re: Debugging mingw applications using wine

2005-01-01 Thread Bryce McKinlay
Scott Ritchie wrote: On Sat, 2005-01-01 at 18:04 -0800, Scott Ritchie wrote: On Sat, 2005-01-01 at 17:53 -0500, Bryce McKinlay wrote: I've attached the mingw-compiled C binary. Is it worth trying again with a newwer WINE? Thanks! Wait, I need to correct myself: NOT ALWAYS. There was

Re: Debugging mingw applications using wine

2005-01-01 Thread Scott Ritchie
On Sat, 2005-01-01 at 18:04 -0800, Scott Ritchie wrote: > On Sat, 2005-01-01 at 17:53 -0500, Bryce McKinlay wrote: > > I've attached the mingw-compiled C binary. Is it worth trying again with > > a newwer WINE? Thanks! > > > > Always! > > -Scott Ritchie Wait, I need to correct myself: NOT AL

Re: Debugging mingw applications using wine

2005-01-01 Thread Scott Ritchie
On Sat, 2005-01-01 at 17:53 -0500, Bryce McKinlay wrote: > WINE is wine-0.20040914-1.rhfc2.nr from newrpms.sunsite.dk Did you try the newer rpms on Wine's download page? One was probably built for the same setup you're using. > I've attached the mingw-compiled C binary. Is it worth trying agai