Re: oskit-mach: -O2 and gdb

2001-10-08 Thread Kevin Kreamer
On Tue, Oct 09, 2001 at 01:22:20AM +0200, Daniel Wagner said: > Hello > > When compiling oskit-mach without any optimation, the linker will > complain about cli not defined in oskit-mach/i386/i386/pic.c. Compiling > with -O2 helps, but then gdb is confused. Gdb doesn't know where the > current pc

Re: oskit-mach: -O2 and gdb

2001-10-08 Thread Roland McGrath
> When compiling oskit-mach without any optimation, the linker will > complain about cli not defined in oskit-mach/i386/i386/pic.c. Compiling > with -O2 helps, but then gdb is confused. Gdb doesn't know where the > current pc refers to the right source file. Something seems to be > broken, but wha

oskit-mach: -O2 and gdb

2001-10-08 Thread Daniel Wagner
Hello When compiling oskit-mach without any optimation, the linker will complain about cli not defined in oskit-mach/i386/i386/pic.c. Compiling with -O2 helps, but then gdb is confused. Gdb doesn't know where the current pc refers to the right source file. Something seems to be broken, but what?