Skip to content

Commit

Permalink
Fixed a bug on stack tracer.
Browse files Browse the repository at this point in the history
  • Loading branch information
higepon committed Jul 3, 2011
1 parent d6c98be commit 0d8a6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mona/core/kernel/PageManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ class StackTracer
dumpAddress<T>(eip, dict);

void**bp = (void**)ebp;
while(bp && ((uint32_t)bp) < stackStart)
while(bp && ((uint32_t)bp) > stackStart)
{
// caller = bp[1];
dumpAddress<T>((uint32_t)bp[1], dict);
Expand Down

0 comments on commit 0d8a6d8

Please sign in to comment.