On Wed, Apr 28, 2010, Modem Man wrote:

> Stephen Henson via RT schrieb:
> >> [[email protected] - Mon Apr 26 20:18:42 2010]:
> >>
> >> Hi,
> >>
> >> This patch adds the /Zi switch to CFLAG in the debug configuration in 
> >> order to permit stepping inside OpenSSL code during debug sessions.
> >> It applied to the latest snapshots of 1.0.0 and 0.9.8 source trees.
> >>     
> >
> > Note that 1.0.0 makes the Win32 build system a bit saner: it uses some
> > command line options from the Configure line (like other targets). The
> > debug-VC-WIN32 target already includes -Zi (same as /Zi) so that change
> > is unnecessary.
> >
> >   
> Dear Stephen,
> 
> I'm using VS2005 and built my 1.0.0 with  'debug-VC-WIN32', and there
> was no /Zi at all.
> Mounir gave me the hint and I modified my .\util\pl\VC-32.pl very
> similiar to his patch.
> AFTER doing this, it worked for me. BEFORE doing this, I was not able to
> jump into the code.
> Not even into the x86 asm representation, which is shown by VS in cases,
> the source can't be found.
> 
> So in my opinion, it is indeed required patch for 1.0.0
> 
> With great respect about your work,
> Modem Man
> 

That's strange. I've just tried this in the latest 1.0.0-stable tree:

perl Configure debug-VC-WIN32
ms\do_nasm

and in ms\ntdll.mak is this:

CFLAG= /MDd /Od -DDEBUG -D_DEBUG -DOPENSSL_THREADS  -DDSO_WIN32 -W3 -Gs0 -GF
-Gy -Zi -nologo ...

Note the -Zi and not /Zi. Does that not happen on your system?

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