aboutsummaryrefslogtreecommitdiff
path: root/debug/gdb_pdp_load
diff options
context:
space:
mode:
Diffstat (limited to 'debug/gdb_pdp_load')
-rw-r--r--debug/gdb_pdp_load29
1 files changed, 29 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
+
+