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)
commit2f55fd82ff5db82974f91648cc386daa423e38be
tree1174ab45a1a920b44e9a335d612ac105f8c80665
parent6bc42f31ce294f2bd50ffbd536e1ee42607ef799
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
source/script/tests/gdb_backtrace