GDB remote debugging

Ove Kaaven ovehk at
Mon May 14 05:42:22 CDT 2001

On Mon, 14 May 2001 =?iso-8859-1?Q? wrote:

> At 11:12 PM 09/05/2001 +0200,  Ove Kaaven wrote:
> >For any sufficiently disillusioned Wine hackers, here's my current
> >experimental code for letting GDB attach to a Wine process.
> <snip>
> Is there any way to debug an application from the beginning using this tool ?
> (the reason I would like to try it is of course that the app crashes while starting)
> If not, is it thinkable to change the code to wait for gdb to connect when
> the initial Wine thread connects to the server ?

I put that variable "create_suspended" in gdbremote.c for that purpose...
just change it from 0 to 1... ought to be a command-line option, but that
patch won't be included in wine in its current form anyway, so...

More information about the wine-devel mailing list