Part 38 more asm debugging tricks
âshow variablesâ is how you view all memory addresses for variables
âdisasâ is incredibly useful for finding memory addresses of corresponding lines
âx/1c &variableâ will show the value in a variable
To set the breakpoint to a memory address, you will type âb *addressâ
To remove the current breakpoint write âclearâ
To go to first breakpoint, type ârâ or ârunâ
To run in binary mode: gdb -q ./filename
To run in idk what mode: gdb -q filename