Re: [PATCH v3] kbuild: add debug level and macro defs options

From: Dmitrii Bundin
Date: Sat Oct 08 2022 - 03:25:12 EST


Hi Masahiro,

> On top of that, it is easier to add CONFIG_DEBUG_INFO_FULL or whatever.
As per the prior discussion, Nick has convinced me that configuring an
additional choice for a full debug info might cause more problems that
it solves in general.

>And, -g1 for CONFIG_DEBUG_INFO_REDUCED if you think it is worthwhile.
This indeed would shrink the image size, but with this option enabled
there would be no information about local variables which might
surprise users of the option. So I don't really think it is
worthwhile.

Regards,
Dmitrii.