summaryrefslogtreecommitdiff
path: root/findoops.sh
blob: 2d18c333f909c9f4e1fd44dcf6e98482aa9d6e44 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# Copyright (c) 2014 Intel Corporation
# Author: Mika Kuoppala <mika.kuoppala@intel.com>

if [ $# -ne 1 ]] ; then
    echo "usage: $0 <function+offset>"
    exit
fi

gdb -x ./oops2line.py -ex "oops2line $1" -ex quit