Keep It Simple Stupid
Where Dreams Begin
Tuesday, November 7, 2017
GDB cheatsheet
gdb -args ./binary arg1 arg2 ...
set print pretty on
p *var1
p *var1@len
gdb -tui
. tui stands for Text User Interface
C-x a to show/hide source code and assembly code window
C-x 1 to show only source code window
C-x 2 to show only assembly code window
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment