On Thu, Apr 29, 2010, Modem Man wrote:

> wait a minute...
> 
> ms\nt.mak (and compareable ntdll.mak) with original .pl file:
> CFLAG= /MTd /Od -DDEBUG -D_DEBUG -DOPENSSL_THREADS  -DDSO_WIN32 -W3 -WX
> -Gs0 -GF -Gy -Zi -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN
> -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE /Fdout32 -DOPENSSL_NO_RC5
> -DOPENSSL_NO_MD2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE
> -DOPENSSL_NO_DYNAMIC_ENGINE   
> 
> with /Zi enriched .pl file:
> CFLAG= /MTd /Zi /Od -DDEBUG -D_DEBUG -DOPENSSL_THREADS  -DDSO_WIN32 -W3
> -WX -Gs0 -GF -Gy -Zi -nologo -DOPENSSL_SYSNAME_WIN32
> -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE /Fdout32
> -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE
> -DOPENSSL_NO_DYNAMIC_ENGINE   
> 
> The only difference is just the additional "/Zi", plus the fact that
> this version works for IDE debugging.
> Hmm, it looks like "-Zi" doesn't work at all or doesn't work at that
> particular place?
> Crazy...
> 
> What shall I test next?
> 

That's most peculiar. I've tested 1.0.0-stable with Visual Studio Express
2008. I did the following simple test:

Start openssl.exe
Start VS express.
Select tools->attach to process.
Debug->Break All.

I get a warning about deadlocked process but it is otherwise OK. I can set
breakpoints and source code is displayed. This worked for debug shared and
static builds.

The non-debug builds didn't show any source and it said there were no symbols.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to