Date: Sun, 25 Nov 2012 22:21:32 -0800 (PST) From: Sushanth Rai <sushanth_rai@yahoo.com> To: freebsd-hackers@FreeBSD.org Subject: Running kgdb in batch mode. Message-ID: <1353910892.62730.YahooMailClassic@web181702.mail.ne1.yahoo.com>
next in thread | raw e-mail | index | archive | help
Basically I would like to get kernel backtrace of a bunch of threads from the live kernel under some conditions. When the condition is seen I would like to run kgdb, collect kernel backtrace of specific threads and exit. Is there a way run kgdb in batch mode ? Or any other way to get the stack trace. Thanks, Sushanth
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1353910892.62730.YahooMailClassic>