reactos/ntoskrnl/ke/i386
diff -u -r1.98 -r1.99
--- exp.c 14 Dec 2004 03:46:10 -0000 1.98
+++ exp.c 18 Dec 2004 20:26:03 -0000 1.99
@@ -632,10 +632,11 @@
DbgPrint("Frames: ");
while ( MmIsAddressValid(Frame) )
{
- if (!KeRosPrintAddress((PVOID)Frame[1]))
- {
- DbgPrint("<%X>", (PVOID)Frame[1]);
- }
+ ULONG Addr = Frame[1];
+ if (!KeRosPrintAddress((PVOID)Addr))
+ DbgPrint("<%X>", Addr);
+ if ( Addr == 0 || Addr == 0xDEADBEEF )
+ break;
Frame = (PULONG)Frame[0];
DbgPrint(" ");
}
@@ -661,13 +662,9 @@
{
ULONG Addr = Frame[1];
if (!KeRosPrintAddress((PVOID)Addr))
- {
DbgPrint("<%X>", Addr);
- }
if ( Addr == 0 || Addr == 0xDEADBEEF )
- {
break;
- }
Frame = (PULONG)Frame[0];
DbgPrint(" ");
}