[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-patch] WinDbg Fixing arbitrary bug - comment needed!!
|
Applied with added comments in the code. I wonder if this is a mismatch
between the header files in the Platform SDK and the dbghelp dll from the
Windows Debugging Tools. We should try building against the header file
from the Tools install (I didn't notice a difference but they may have
been...)
Doug Schaefer, IBM's Eclipse CDT Architect
Ottawa (Palladium), Ontario, Canada
Hasse Hellberg <hasse@xxxxxxxxxxxxxxx>
Sent by: cdt-patch-admin@xxxxxxxxxxx
07/16/2004 03:56 AM
Please respond to
cdt-patch
To
Douglas Schaefer <cdt-patch@xxxxxxxxxxx>
cc
Subject
[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");
_______________________________________________
cdt-patch mailing list
cdt-patch@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-patch