Last active
February 13, 2016 07:27
-
-
Save KevinKu/b96a2fa15115e3b06b0b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 當初寫command時 以為他運作起來像是函數 | |
| 結果寫了一些測試的command 不是 | |
| 在gdb中 def XXX XXX為定義的command | |
| XXX後接的參數 分別為 arg0 arg1 ... | |
| 使用的方法為在gdb界面下 | |
| XXX ooo ooo | |
| 就從自己測試所觀察的行為 | |
| command類似巨集 | |
| 就是下該指令 他會把該command都跑一次 並把參數(arg0 arg1)之類的換掉 | |
| 例子請看 create__list.gdb 和 printf_list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment