Skip to content

Instantly share code, notes, and snippets.

@grrussel
Created February 17, 2011 14:49
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 grrussel/831851 to your computer and use it in GitHub Desktop.
Save grrussel/831851 to your computer and use it in GitHub Desktop.
GDB user commands
define hookpost-step
list
end
define hookpost-stepi
x /i $pc
end
define hookpost-continue
backtrace
end
define contN
set $counter = $arg0
while $counter > 0
continue
set $counter = $counter - 1
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment