Attach and run gdb during crashes.
authorAdam Borowski <kilobyte@angband.pl>
Sat, 2 Nov 2013 20:24:31 +0000 (21:24 +0100)
committerAdam Borowski <kilobyte@angband.pl>
Sat, 2 Nov 2013 20:24:31 +0000 (21:24 +0100)
commit92b54d82f0e3b5f2b4a9e59d1a5c353c3e9a842b
tree24ab938f15b6183498c7f383ab53712a7473e696
parentab40554ef1c94aada324bed1a4d6c36215a459c7
Attach and run gdb during crashes.

Its usefulness varies depending on existence of debug info, although in
every case I got at least one more symbol resolved than without it.  Only
unstripped builds are fun, of course.
crawl-ref/source/crash.cc
crawl-ref/source/crash.h
crawl-ref/source/dbg-asrt.cc