Re: [PATCH 4/8] kgdb: COPTIMIZE flag

From: Christoph Hellwig
Date: Sat Feb 09 2008 - 12:16:24 EST


On Sat, Feb 09, 2008 at 07:35:10AM -0600, jason.wessel@xxxxxxxxxxxxx wrote:
> From: Jason Wessel <jason.wessel@xxxxxxxxxxxxx>
>
> This patch adds in the ability to unoptimize a single kernel module to
> make source stepping more linear and not optimize out variables that
> the developer might like to inspect. It used with adding
> COPTIMIZE=-O0 to the build line when doing something like a single
> kernel module only build. Or you could use it to override the default
> optimization level entirely.

This seems a bit unrelated to kgdb, but fine to me in general. Please
run it past Sam, the kbuild maintainer.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/