0
두 명령을 동시에 실행하는 LLDB 함수를 정의하고 싶습니다 (예 : 변수 값 인쇄 및 다음 행으로 이동). 작동하지 않는 LLDB와 같은LLDB에서 GDB의 "정의"와 동일한 것은 무엇입니까?
(gdb) def f
Type commands for definition of "f".
End with a line saying just "end".
>p i
>n
>end
(gdb) f
그러나 시도 : GDB 내가 이런 짓을 했을까 사용하여 C 코드를 디버깅
(lldb) def f
error: 'def' is not a valid command.
error: Unrecognized command 'def'.
을 할 수있는 방법이 있나요? http://lldb.llvm.org/tutorial.html에서