Make DEBUG=1 default and make ardour.sh, ardev and ardbg dump cores by default
authorSampo Savolainen <v2@iki.fi>
Mon, 14 May 2007 20:42:46 +0000 (20:42 +0000)
committerSampo Savolainen <v2@iki.fi>
Mon, 14 May 2007 20:42:46 +0000 (20:42 +0000)
git-svn-id: svn://localhost/ardour2/trunk@1843 d708f5d6-7413-0410-9779-e7cbd77b26cf

SConstruct
gtk2_ardour/ardev_common.sh.in
gtk2_ardour/ardour.sh.in

index bc491edbbc933de555f254ad6c1fc9046c2d9e46..5e37b5bfb4526ede6cc3dea5778952473e246b93 100644 (file)
@@ -29,7 +29,7 @@ opts.AddOptions(
     ('ARCH', 'Set architecture-specific compilation flags by hand (all flags as 1 argument)',''),
     BoolOption('AUDIOUNITS', 'Compile with Apple\'s AudioUnit library. (experimental)', 0),
     BoolOption('COREAUDIO', 'Compile with Apple\'s CoreAudio library', 0),
-    BoolOption('DEBUG', 'Set to build with debugging information and no optimizations', 0),
+    BoolOption('DEBUG', 'Set to build with debugging information and no optimizations', 1),
     PathOption('DESTDIR', 'Set the intermediate install "prefix"', '/'),
     EnumOption('DIST_TARGET', 'Build target for cross compiling packagers', 'auto', allowed_values=('auto', 'i386', 'i686', 'x86_64', 'powerpc', 'tiger', 'panther', 'none' ), ignorecase=2),
     BoolOption('DMALLOC', 'Compile and link using the dmalloc library', 0),
index 6017dcdba4960735af215c28001ef12a4d7c6168..00d4998eb6be4e17933195195e4f160fc363be88 100644 (file)
@@ -14,3 +14,5 @@ export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH
 export GTK_PATH=$PWD/libs/clearlooks:~/.ardour2
 
 EXECUTABLE=gtk2_ardour/ardour-%VERSION%
+
+ulimit -c unlimited
index c661467d014a7acafbb5acc5edee12e9e63858e3..beed436cbe4108d30fc5038b333930be07a7f733 100644 (file)
@@ -13,6 +13,8 @@ if [ "$MLOCK_LIMIT" != "unlimited" ]; then
 
 fi
 
+ulimit -c unlimited
+
 exec %INSTALL_PREFIX%/%LIBDIR%/ardour2/ardour-%VERSION% $*