gdb: add "-f <filename>" in command "bt" to output backtrace to <filename>.