aboutsummaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
Diffstat (limited to 'debug')
-rw-r--r--debug/gdb_pdp_load25
-rw-r--r--debug/gdb_pdp_load_rt10
2 files changed, 35 insertions, 0 deletions
diff --git a/debug/gdb_pdp_load b/debug/gdb_pdp_load
new file mode 100644
index 0000000..552372b
--- /dev/null
+++ b/debug/gdb_pdp_load
@@ -0,0 +1,25 @@
+cd ~/pd/packet
+file ~/pd/distro/pd/bin/pd.debug
+# file ~/pd/distro/pd/bin/pd
+set args -r 44100 -alsa -frags 64 -lib pdp -nodac -noadc -path abstractions test/test_pdp_scale.pd
+# set args -lib pdp -nodac -noadc -path abstractions test/test_pdp_thread.pd
+# set args -lib pdp -nodac -noadc test/test_pdp_ca.pd
+# set args -r 44100 -alsa -frags 64 -lib pdp -nodac -noadc test/test_pdp_qt_read.pd
+# dir ~/pd/distro/pd/src
+dir modules
+dir system
+dir mmx
+dir scaf
+dir scaf/modules
+dir scaf/system
+
+# until i figure out how to stop pd without hanging it
+# or set a breakpoint before a library is loaded
+# i'll use the bng_new routine (alt-b) to stop
+
+break bng_new
+
+# uncomment this to break in the library loader
+# break sys_load_lib
+
+
diff --git a/debug/gdb_pdp_load_rt b/debug/gdb_pdp_load_rt
new file mode 100644
index 0000000..7ab3681
--- /dev/null
+++ b/debug/gdb_pdp_load_rt
@@ -0,0 +1,10 @@
+cd /home/tom/pd/packet
+file /home/tom/pd/distro/pd/bin/pd.debug
+# file ~/pd/distro/pd/bin/pd
+set args -rt -r 44100 -alsa -frags 64 -lib pdp -nodac -noadc -nogui test/test_pdp_qt_read.pd
+dir modules
+dir system
+dir mmx
+dir scaf
+dir scaf/modules
+dir scaf/system