From: Alan T. DeKok Date: Tue, 7 Mar 2023 20:40:15 +0000 (-0500) Subject: scripts to use gdb && lldb from the source tree X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24e3e519333fbe1d4454664f60f25e3afdfa3cbd;p=thirdparty%2Ffreeradius-server.git scripts to use gdb && lldb from the source tree --- diff --git a/scripts/bin/gdb b/scripts/bin/gdb new file mode 100755 index 00000000000..469557534c8 --- /dev/null +++ b/scripts/bin/gdb @@ -0,0 +1,5 @@ +#!/bin/sh +export PANIC_ACTION= +export DEBUGGER_ATTACHED=yes + +exec ./build//make/jlibtool --mode=execute gdb --args ./build/bin/local/radiusd -sf -xx -l stdout -d ./raddb -D share/dictionary $@ diff --git a/scripts/bin/lldb b/scripts/bin/lldb new file mode 100755 index 00000000000..6a4ed9236e1 --- /dev/null +++ b/scripts/bin/lldb @@ -0,0 +1,5 @@ +#!/bin/sh +export PANIC_ACTION= +export DEBUGGER_ATTACHED=yes + +exec ./build//make/jlibtool --mode=execute lldb -- ./build/bin/local/radiusd -sf -xx -l stdout -d ./raddb -D share/dictionary $@