aboutsummaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
Diffstat (limited to 'debug')
-rw-r--r--debug/gdb_pdp_load29
-rw-r--r--debug/gdb_pdp_load_rt10
2 files changed, 39 insertions, 0 deletions
diff --git a/debug/gdb_pdp_load b/debug/gdb_pdp_load
new file mode 100644
index 0000000..c27a048
--- /dev/null
+++ b/debug/gdb_pdp_load
@@ -0,0 +1,29 @@
+cd ~/pd/packet
+file ~/pd/distro/pd/bin/pd.debug
+# file ~/pd/distro/pd/bin/pd
+#set args -noadc -nodac -lib pdp -lib opengl/pdp_opengl:scaf/pdp_scaf -nodac -noadc -path abstractions:opengl/abstractions opengl/doc/examples/example06.pd
+set args -nodac -noadc -nomidi -lib pdp -path abstractions ../deadlocktest.pd
+#set args -nodac -noadc -nomidi -lib pdp -path abstractions -nogui
+#set args -nodac -noadc -nomidi -lib pdp -path abstractions ../xvdualtest.pd
+#opengl/test/pdp_ogl_draw_limb.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 include
+dir modules
+dir system
+dir system/mmx
+dir scaf/include
+dir scaf/pdp
+
+# 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