> '-g -O2' should be the default configure CFLAGS. > If i need to override for debugging i just do > > ./configure ... CFLAGS='-g -O0'
Yes, important not to use -O0 with a number higher than 0, else strang things might happen when you want to singlestep and/or looking at local variables. Stian ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel