[hphpd] default the frame to the caller when encounter hphpd_break()
commit2140f616c4fd70dc3e5c97e8f911d1ebaa4417ec
authorqigao <gao@fb.com>
Mon, 29 Aug 2011 22:01:11 +0000 (29 15:01 -0700)
committermacvicar <macvicar@fb.com>
Wed, 31 Aug 2011 20:11:01 +0000 (31 13:11 -0700)
treecbb93868b0d58c934933ab298bf84dbe11709104
parent1427e386f17430819244f2dd3270c35fe9c590cb
[hphpd] default the frame to the caller when encounter hphpd_break()

Summary:
hphpd_break() will be a dummy frame with no interesting stuff. This diff
makes it default to the upper frame, which is what programmers expect to
see. This diff also makes where command keep the frame.

Test Plan:
make fast_tests
manually tried with hphpd_break()

Reviewers: myang, mwilliams

Reviewed By: mwilliams

CC: ps, mwilliams
Differential Revision: 314161

Task ID: 684638
src/runtime/eval/debugger/cmd/cmd_flow_control.cpp
src/runtime/eval/debugger/cmd/cmd_interrupt.cpp
src/runtime/eval/debugger/debugger_client.cpp
src/runtime/eval/debugger/debugger_client.h