]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
scripts to use gdb && lldb from the source tree
authorAlan T. DeKok <aland@freeradius.org>
Tue, 7 Mar 2023 20:40:15 +0000 (15:40 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 8 Mar 2023 20:28:06 +0000 (15:28 -0500)
scripts/bin/gdb [new file with mode: 0755]
scripts/bin/lldb [new file with mode: 0755]

diff --git a/scripts/bin/gdb b/scripts/bin/gdb
new file mode 100755 (executable)
index 0000000..4695575
--- /dev/null
@@ -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 (executable)
index 0000000..6a4ed92
--- /dev/null
@@ -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 $@