Skip to content

Instantly share code, notes, and snippets.

@Hyunho
Created November 13, 2015 04:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hyunho/b04ad6c028b655fd7e4b to your computer and use it in GitHub Desktop.
Save Hyunho/b04ad6c028b655fd7e4b to your computer and use it in GitHub Desktop.
gdb commands

watchpoint 설정

  • watah [변수명] : 변수의 값이 써질때 브레이크가 걸린다.
  • rwatch [변수명] : 변수의 값이 읽혀질 때 브레이크가 걸린다.
  • awatch [변수명] : 변수의 값이 읽혀지거나 쓰이는 모든 경우에 대해 브레이크가 걸린다.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment