Commit a6288f85 authored by Dan Pascu's avatar Dan Pascu

Made the gdb-trace script to be more precise in finding the blink process

parent 04646d82
#!/bin/sh
if [ $# = 0 ]; then
blink_pid=$(ps ax | grep blink | grep -v grep | head -1 | awk '{print $1}')
blink_pid=$(ps x | grep -E '\./blink|bin/blink' | grep -v grep | head -1 | awk '{print $1}')
else
blink_pid=$1
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment