delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/10/28/14:39:39

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: debugging cygwin DLL loaded by LoadLibrary??
28 Oct 1998 14:39:39 -0800 :
Message-ID: <9810282226.AA29271.cygnus.cygwin32.developers@modi.xraylith.wisc.edu>
References: <19981028145228 DOT A16302 AT cygnus DOT com>
To: Christopher Faylor <cgf AT cygnus DOT com>
Cc: cygwin32-developers AT cygnus DOT com

Christopher Faylor <cgf AT cygnus DOT com> writes:
> 
> Don't know if this will work, but:
> 
>     gdb /wherever/cygwin1.dll
>     exec-file prog
>     b whatever
>     r

Nope. Actually, I don't think this is even meant to work because gdb has 
no way of mapping the address of the symbol before the DLL is loaded. 

Wonder if gdb should somehow load a DLL so that it's mapped and ready to
be stepped into ... 

Thanks for the suggestion though ... I've made do with small_printf in
the meantime, but it makes for some very tedious debugging job.

Regards,
Mumit

- Raw text -


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