[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: oskit-mach: -O2 and gdb

From: Roland McGrath
Subject: Re: oskit-mach: -O2 and gdb
Date: Mon, 8 Oct 2001 19:37:46 -0400 (EDT)

> 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?

The former can be blamed on the oskit.  It uses `extern inline' and doesn't
define any real function equivalents anywhere.  But I guess I wouldn't
really suggest compiling without optimization anyway.

The latter sounds like the normal way of things inasmuch as you've said.
You get used to it.  It's not always as confusing as it sometimes seems to be.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]