Skip to content

Instantly share code, notes, and snippets.

@cdleary
Created May 13, 2011 22:38
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 cdleary/971442 to your computer and use it in GitHub Desktop.
Save cdleary/971442 to your computer and use it in GitHub Desktop.
emacs-gdb command line function
gdbtool () {
local prog=$1
shift
local rest=$*
local evalCode="(gdb \"gdb --annotate=3 $prog\")"
echo $evalCode
emacs --eval $evalCode;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment