[Swan-dev] DBG_* cleanout

Andrew Cagney andrew.cagney at gmail.com
Thu Jun 18 13:42:45 UTC 2020


On Wed, 17 Jun 2020 at 14:08, Paul Wouters <paul at nohats.ca> wrote:
>
> On Wed, 17 Jun 2020, Andrew Cagney wrote:
>
> > I'm planning on flushing out all these redundant macros:
> >
> > -#define DBG_RAW        DBG_BASE
> > -#define DBG_PARSING    DBG_BASE
> > -#define DBG_EMITTING    DBG_BASE
> > -#define DBG_CONTROL    DBG_BASE
> > -#define DBG_LIFECYCLE    DBG_BASE
> > -#define DBG_KERNEL    DBG_BASE
> > -#define DBG_DNS        DBG_BASE
> > -#define DBG_OPPO    DBG_BASE
> > -#define DBG_CONTROLMORE    DBG_BASE
> > -#define DBG_NATT    DBG_BASE
> > -#define DBG_X509    DBG_BASE
> > -#define DBG_DPD        DBG_BASE
> > -#define DBG_XAUTH    DBG_BASE
> > -#define DBG_RETRANSMITS    DBG_BASE
> > -#define DBG_OPPOINFO    DBG_BASE
> > -#define DBG_PROPOSAL_PARSER    DBG_TMI
> >
> > and where possible, reducing:
> >      DBG(DBG_<above>, DBG_log(...))
> > to just
> >      dbg(...)
>
> Sounds good!

Pushed.

> As long as the old keywords still work and lead to something sane,
> so configs with plutodebug=control won't fail to load.

All the above keywords map onto basic debugging (it's been that way
for some time).
> Paul


More information about the Swan-dev mailing list