On Tue, May 6, 2008 at 3:28 AM, Bruce Evans <[EMAIL PROTECTED]> wrote:
> On Mon, 5 May 2008, Alexander Sack wrote:
> > For my own edification, unless you specifically mark a function
> > inline, will gcc really optimize them out? That seems a little
> > overboard unless there is some compiler opti
I thought that the "inline" switch was specific to C++ and C and not
gcc, hence the standard for the language says to add the inline
parameter to explicitly produce optimized code. Unless gcc is not
standard, I don't see why the compiler would automatically optimize the
coded function to "inline."
On Mon, 5 May 2008, Alexander Sack wrote:
For my own edification, unless you specifically mark a function
inline, will gcc really optimize them out? That seems a little
overboard unless there is some compiler option that says its okay to
do that. I guess that would be very easy to test if you
For my own edification, unless you specifically mark a function
inline, will gcc really optimize them out? That seems a little
overboard unless there is some compiler option that says its okay to
do that. I guess that would be very easy to test if you do as you
say, just sock away the function ad
On Mon, May 05, 2008 at 09:27:10AM -0700, David Christensen wrote:
> > > Yes, I'm building a debug kernel. I have the line listed above as
> > well
> > > as the following:
> > >
> > > options KDB
> > > options DDB
> > > options GDB
> > > options INVARIANTS
> > > options INVARIANT_SUPPORT
>
> > Yes, I'm building a debug kernel. I have the line listed above as
> well
> > as the following:
> >
> > options KDB
> > options DDB
> > options GDB
> > options INVARIANTS
> > options INVARIANT_SUPPORT
> > options WITNESS
> > options WITNESS_SKIPSPIN
>
> Dave:
>
> What symbols can you n
On Fri, May 2, 2008 at 8:06 PM, David Christensen <[EMAIL PROTECTED]> wrote:
> > > I'm trying to build the "bce" driver as a kernel module under
> > RELENG_7 but I'm
> > > finding that not all of the functions in the driver are exported as
> > symbols. This
> > > makes it difficult to "call"
> > I'm trying to build the "bce" driver as a kernel module under
> RELENG_7 but I'm
> > finding that not all of the functions in the driver are exported as
> symbols. This
> > makes it difficult to "call" a function from ddb because I get the
> error "Symbol
> > not found". I'm building and l
On Thu, May 1, 2008 at 10:04 PM, David Christensen <[EMAIL PROTECTED]> wrote:
> I'm trying to build the "bce" driver as a kernel module under RELENG_7 but I'm
> finding that not all of the functions in the driver are exported as symbols.
> This
> makes it difficult to "call" a function from ddb
I'm trying to build the "bce" driver as a kernel module under RELENG_7 but I'm
finding that not all of the functions in the driver are exported as symbols.
This
makes it difficult to "call" a function from ddb because I get the error "Symbol
not found". I'm building and loading the driver from /
10 matches
Mail list logo