r19164: merge the gdb_backtrace script from samba4
authorStefan Metzmacher <metze@samba.org>
Sat, 7 Oct 2006 10:33:33 +0000 (10:33 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:15:19 +0000 (12:15 -0500)
commit78d21c7785ae85649b7356a774787d008285133b
tree60a65cd87e2152c9065ac0437761ba7d69c8f3ea
parent628fc4b53a33b604e1c28d38ff5fd91459434814
r19164: merge the gdb_backtrace script from samba4

this more portable and try to make use of ladebug on Tru64,
but that only works when the binary is passed as 2nd arg to gdb_backtrace
as Tru64 doesn't know /proc/${PID}/exe

we need to find a way to pass the progname in 'panic action'
in samba3

metze
(This used to be commit 2f55fd82ff5db82974f91648cc386daa423e38be)
source3/script/tests/gdb_backtrace