Files
sdk/runtime/vm/stack_frame_mips.cc
T
asiva@google.com 80e281a078 Fix for issues 6080 -
- Read the saved context from the entry frame when straddling across C++ frames while iterating over a stack trace in the debugger. This ensures that the correct context is setup in the ActivationFrame structure in these scenarios (instead of the empty context).

- Read the saved context from the caller's frame when iterating over a stack trace in the debugger. The compiler saves the context in the caller frame before invoking closures, we read this saved context when iterating the stack trace.
Review URL: https://codereview.chromium.org//12179020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18235 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-07 22:43:16 +00:00

54 lines
924 B
C++

// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include "vm/globals.h"
#if defined(TARGET_ARCH_MIPS)
#include "vm/stack_frame.h"
namespace dart {
intptr_t StackFrame::PcAddressOffsetFromSp() {
UNIMPLEMENTED();
return 0;
}
uword StackFrame::GetCallerFp() const {
UNIMPLEMENTED();
return 0;
}
uword StackFrame::GetCallerSp() const {
UNIMPLEMENTED();
return 0;
}
intptr_t EntryFrame::ExitLinkOffset() const {
UNIMPLEMENTED();
return 0;
}
intptr_t EntryFrame::SavedContextOffset() const {
UNIMPLEMENTED();
return 0;
}
void StackFrameIterator::SetupLastExitFrameData() {
UNIMPLEMENTED();
}
void StackFrameIterator::SetupNextExitFrameData() {
UNIMPLEMENTED();
}
} // namespace dart
#endif // defined TARGET_ARCH_MIPS