diff --git a/libinterp/corefcn/call-stack.cc b/libinterp/corefcn/call-stack.cc --- a/libinterp/corefcn/call-stack.cc +++ b/libinterp/corefcn/call-stack.cc @@ -644,7 +644,7 @@ OCTAVE_NAMESPACE_BEGIN // frames. The curr_user_frame value we set is the index into the // subset of frames returned in the octave_map object. - std::size_t curr_frame = find_current_user_frame (); + std::size_t curr_frame = 0; // Don't include top-level stack frame in the list.