Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] WinDbg Fixing arbitrary bug - comment needed!!

Hello cdt-patch-request and especially Doug Schaefer.

We are actually not totally sure why this fix is needed!
But to be able to set a breakpoint at all, this was needed.
I mean! stopping at a break point did not work until we saw this
and added this path. Now execution stops at breakpoint and
we can continue exploring this plugin :):):)





Index: target.cpp
===================================================================
RCS file: /home/tools/org.eclipse.cdt-debug/org.eclipse.cdt.debug.win32.core/native/target.cpp,v
retrieving revision 1.2
diff -u -r1.2 target.cpp
--- target.cpp  12 Jul 2004 13:35:54 -0000      1.2
+++ target.cpp  16 Jul 2004 06:48:42 -0000
@@ -235,7 +235,7 @@
 
        IMAGEHLP_MODULE64 modinfo;
        ZeroMemory(&modinfo, sizeof(modinfo));
-       modinfo.SizeOfStruct = sizeof(modinfo);
+       modinfo.SizeOfStruct = 0;
        
        if (!SymGetModuleInfo64(data->process, baseOfDll, &modinfo)) {
                reportError(L"modinfo");







Back to the top