summaryrefslogtreecommitdiffstats
path: root/chromium/docs/website/site/for-testers/bug-reporting-guidelines/hanging-tabs/crash-with-gdb
blob: 4b3f471300269a8fa3c67f7105a428b5f0f11dbe (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

if [[ $# -ne 1 ]]; then
   echo "Usage:" `basename $0` "pid"
   echo "Kill pid, provoking a crash dump."
   exit 0
fi

echo 'p (int)printf(NULL)' | gdb --pid=$1