Re: [SPF:fail] Re: 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 "" for > > variables even though I've compiled the prog

Re: even with gcc -g -O0

2010-02-02 Thread Jan Kratochvil
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 "" for > variables even though I've compiled the program with gcc -g -O0. [...] > Compiler excerpts: > > gcc -g -O0 -fPIC -W

Re: 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 wrote: >>> Program received signal SIGSEGV, Segmentation fault. >>> playmonoi16 (dst=0x76ddc0, len=, >>>ch=) at mixasm.c:1746 >> Sorry for asking the obvio

Re: 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 "" for > variables even though I've compiled the program with gcc -g -O0. Are > there any gcc/gdb gurus who can help? > >

Re: even with gcc -g -O0

2010-02-01 Thread Chuck Anderson
On Mon, Feb 01, 2010 at 09:34:19AM +0100, Gianluca Sforna wrote: > On Mon, Feb 1, 2010 at 7:18 AM, Chuck Anderson wrote: > > > > Program received signal SIGSEGV, Segmentation fault. > > playmonoi16 (dst=0x76ddc0, len=, > >    ch=) at mixasm.c:1746 > > Sorry for asking the obvious, but this hit me

Re: even with gcc -g -O0

2010-02-01 Thread Gianluca Sforna
On Mon, Feb 1, 2010 at 7:18 AM, Chuck Anderson wrote: > > Program received signal SIGSEGV, Segmentation fault. > playmonoi16 (dst=0x76ddc0, len=, >    ch=) at mixasm.c:1746 Sorry for asking the obvious, but this hit me several times... is this mixasm.c file part of the sources you are compiling w

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 "" 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.././ -I.././gnulib kic