diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h index a1fd6b2..fa808b9 100644 --- a/include/slibtool/slibtool.h +++ b/include/slibtool/slibtool.h @@ -36,6 +36,7 @@ extern "C" { #define SLBT_DRIVER_VERSION 0x0010 #define SLBT_DRIVER_DRY_RUN 0x0020 #define SLBT_DRIVER_CONFIG 0x0040 +#define SLBT_DRIVER_DEBUG 0x0080 /* execution modes */ enum slbt_mode { diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index f75e2b4..16f9687 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -167,6 +167,9 @@ int slbt_get_driver_ctx( cctx.drvflags |= SLBT_DRIVER_CONFIG; break; + case TAG_DEBUG: + cctx.drvflags |= SLBT_DRIVER_DEBUG; + break; } } else nunits++;