Skip to content

Instantly share code, notes, and snippets.

@vadv
Last active October 8, 2015 15:58
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 vadv/3354847 to your computer and use it in GitHub Desktop.
Save vadv/3354847 to your computer and use it in GitHub Desktop.
#!/bin/bash
for i in {1..600}
do
echo ''
date
echo ''
gdb -batch -x stack.gdb --pid=$1 < answ | grep -v "no debugging symbols found"
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment