selftest: Improve gdb_backtrace to run in batch mode
authorAndrew Bartlett <abartlet@samba.org>
Tue, 22 Feb 2011 01:28:33 +0000 (12:28 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 22 Feb 2011 05:20:10 +0000 (16:20 +1100)
commit985c7da604ac30e67ee4b5a829935074900d6f26
tree430fcc411bc03a2e2c5ffe8c9f4ed4bd8df3cea1
parent6c1ce36ec97525774aaba294f48fbd6fab15a80e
selftest: Improve gdb_backtrace to run in batch mode

Following Tridge's advice, we need to have no input (/dev/null) and
-batch for reliable opeation on big backtraces.

We should also use --pid, and let gdb find the binary

Andrew Bartlett
selftest/gdb_backtrace