I am modifying someone else's code on Linux, and I get some runtime errors. The programs are built with the -O3 option. I wish to debug with gdb and take advantage of as many features as possible, so -debug comes to mind, possibly -traceback
What would be the best combination of options to enable use of gdb? Would you recommend no -O options at all?
Thanks,
Jay