Author: akhaldi
Date: Sat Jul 23 22:35:06 2011
New Revision: 52825
URL:
http://svn.reactos.org/svn/reactos?rev=52825&view=rev
Log:
[CMAKE]
- *Temporarily* back out some rossym/kdbg features until bugs 6372 and 6373 are fixed.
- Traces should be reliable again.
See issue #6372 for more details.
Modified:
trunk/reactos/ntoskrnl/kdbg/kdb_symbols.cmake.c
Modified: trunk/reactos/ntoskrnl/kdbg/kdb_symbols.cmake.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/kdbg/kdb_symbols.…
==============================================================================
--- trunk/reactos/ntoskrnl/kdbg/kdb_symbols.cmake.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/kdbg/kdb_symbols.cmake.c [iso-8859-1] Sat Jul 23 22:35:06 2011
@@ -199,8 +199,11 @@
if (Context)
{
+#if 0
+ // Disable arguments for now
DPRINT("Has Context %x (EBP %x)\n", Context, Context->Ebp);
LineInfo.Flags = ROSSYM_LINEINFO_HAS_REGISTERS;
+#endif
for (i = 0; i < sizeof(regmap) / sizeof(regmap[0]); i++) {
memcpy
@@ -224,7 +227,7 @@
{
DbgPrint("<%wZ:%x (%s:%d (%s))>",
&LdrEntry->BaseDllName, RelativeAddress, LineInfo.FileName,
LineInfo.LineNumber, LineInfo.FunctionName);
- if (Context)
+ if (Context && LineInfo.NumParams)
{
int i;
char *comma = "";
@@ -249,8 +252,10 @@
{
goto end;
}
+
SectionObject = MemoryArea->Data.SectionData.Section;
if (!(SectionObject->AllocationAttributes & SEC_IMAGE)) goto end;
+#if 0
if (MemoryArea->StartingAddress != (PVOID)KdbpImageBase)
{
if (KdbpRosSymInfo)
@@ -287,7 +292,7 @@
LineInfo.LineNumber,
LineInfo.FunctionName);
- if (Context)
+ if (Context && LineInfo.NumParams)
{
int i;
char *comma = "";
@@ -306,6 +311,7 @@
return TRUE;
}
}
+#endif
}
end: