debugger fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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+
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;
 

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux