#!/bin/bash

gdbbt() {
   tmp=$(tempfile);
   echo thread apply all bt >"$tmp";
   gdb -batch -nx -q -x "$tmp" -p "$1";
   rm -f "$tmp";
}

gdbbt $(pidof kurento-media-server) | cat
Add script to get an stack trace of kurento-media-server
Add script to get an stack trace of kurento-media-server

Change-Id: I7410cf6bc7c1093f8db762cd80634c7eb71fdef8
