On 9/11/19 6:05 PM, Q. Gylstorff via Xenomai wrote: > From: Quirin Gylstorff <[email protected]> > > Configure debian build with debugging symbols to allow debugging. > > Signed-off-by: Quirin Gylstorff <[email protected]> > --- > debian/rules | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/debian/rules b/debian/rules > index 08562c7ab..ef209712f 100755 > --- a/debian/rules > +++ b/debian/rules > @@ -17,7 +17,8 @@ CONFIG_OPTS = --prefix=/usr \ > --includedir=/usr/include/xenomai \ > --mandir=/usr/share/man \ > --with-testdir=/usr/lib/xenomai/testsuite \ > - --enable-smp > + --enable-smp \ > + --enable-debug > > ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) > CONFIG_OPTS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) >
This also enables some internal consistency checks by default which come with a runtime cost especially for anything on top of libcopperplate, although not as noticeable as with --enable-debug=full. If you only want debug symbols to be generated, --enable-debug=symbols is recommended. -- Philippe.
