Re: [SPF:fail] Re: value optimized out even with gcc -g -O0

2010-02-02 Thread Chuck Anderson
On Tue, Feb 02, 2010 at 09:18:07PM +0100, Jan Kratochvil wrote: On Mon, 01 Feb 2010 07:18:26 +0100, Chuck Anderson wrote: I'm trying to debug an issue for the upstream author of ocp and am running into an issue where gdb is showing value optimized out for variables even though I've

Re: value optimized out even with gcc -g -O0

2010-02-01 Thread David Malcolm
On Mon, 2010-02-01 at 01:18 -0500, Chuck Anderson wrote: I'm trying to debug an issue for the upstream author of ocp and am running into an issue where gdb is showing value optimized out for variables even though I've compiled the program with gcc -g -O0. Are there any gcc/gdb gurus who

Re: value optimized out even with gcc -g -O0

2010-02-01 Thread Roberto Ragusa
Chuck Anderson wrote: On Mon, Feb 01, 2010 at 09:34:19AM +0100, Gianluca Sforna wrote: On Mon, Feb 1, 2010 at 7:18 AM, Chuck Anderson c...@wpi.edu wrote: Program received signal SIGSEGV, Segmentation fault. playmonoi16 (dst=0x76ddc0, len=value optimized out, ch=value optimized out) at

value optimized out even with gcc -g -O0

2010-01-31 Thread Chuck Anderson
I'm trying to debug an issue for the upstream author of ocp and am running into an issue where gdb is showing value optimized out for variables even though I've compiled the program with gcc -g -O0. Are there any gcc/gdb gurus who can help? Compiler excerpts: gcc -g -O0 -fPIC -Wall -I.././