mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
net-wireless/kismet: add gdb scripts
live debugging can be a pain, so add some helpers which follow upstream's instructions for gdb usage Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
set pagination off
|
||||
handle SIGPIPE nostop noprint pass
|
||||
handle SIGINT nostop noprint pass
|
||||
set logging file kismet-gdb.txt
|
||||
set logging on
|
||||
|
||||
run --debug --no-ncurses
|
||||
|
||||
catch throw
|
||||
bt
|
||||
info threads
|
||||
thread apply all bt full
|
||||
quit
|
||||
end
|
||||
@@ -0,0 +1 @@
|
||||
gdb kismet --command=/usr/share/kismet/gdb
|
||||
@@ -140,6 +140,10 @@ src_install() {
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins Makefile.inc
|
||||
if [ "${PV}" = "9999" ];then
|
||||
doins "${FILESDIR}"/gdb
|
||||
dobin "${FILESDIR}"/kismet-gdb
|
||||
fi
|
||||
|
||||
dodoc CHANGELOG README*
|
||||
newinitd "${FILESDIR}"/${PN}.initd-r3 kismet
|
||||
|
||||
Reference in New Issue
Block a user