debugger fix
Eric Pouech
eric.pouech at wanadoo.fr
Tue Aug 27 12:36:05 CDT 2002
a couple of days ago, Fabian Cenedese complained about for winedbg not
being able to load debug info from a MSVC project
after some time looking (off the list) to this issue, here's the fix
(thanks to Fabi for the help)
a dumb typo in a test :-(
A+
-------------- next part --------------
Name: wd_msc
ChangeLog: fixed typo in test
License: X11
GenDate: 2002/08/27 17:21:01 UTC
ModifiedFiles: debugger/msc.c
AddedFiles:
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/debugger/msc.c,v
retrieving revision 1.49
diff -u -u -r1.49 msc.c
--- debugger/msc.c 31 May 2002 23:06:47 -0000 1.49
+++ debugger/msc.c 27 Aug 2002 17:19:53 -0000
@@ -3052,7 +3052,7 @@
/* sanity checks */
if ( mpd_nth->Signature != IMAGE_NT_SIGNATURE ||
mpd_nth->FileHeader.NumberOfSections != nth->FileHeader.NumberOfSections ||
- !(mpd_nth->FileHeader.Characteristics & IMAGE_FILE_DEBUG_STRIPPED ))
+ (mpd_nth->FileHeader.Characteristics & IMAGE_FILE_DEBUG_STRIPPED) != 0)
goto leave;
mpd_dir = mpd_nth->OptionalHeader.DataDirectory + IMAGE_DIRECTORY_ENTRY_DEBUG;
More information about the wine-patches
mailing list