Hi mdb gurus,

While compiling the mdb modules with DEBUG mode, we found that -DDEBUG
is not passed to the compiler.

To fix this, we have to add a line manually to
usr/src/cmd/mdb/Makefile.module:

$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG

So I'm a bit confused, shouldn't we always pass DEBUG to the compiler
while doing a debug build?

- yxn

Reply via email to