From: "Lennart Sorensen" Date: Fri, 5 Sep 2014 16:54:04 -0400 Message-ID: <20140905205404.GP17690@csclub.uwaterloo.ca> References: <20140905184346.GN17690@csclub.uwaterloo.ca> <540A0A92.2000405@xenomai.org> <20140905191447.GO17690@csclub.uwaterloo.ca> <540A19DC.10507@xenomai.org> <540A1B2C.2050309@xenomai.org> <540A1DA7.8090906@xenomai.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <540A1DA7.8090906@xenomai.org> Subject: Re: [Xenomai] How to get debug symbols in xenomai libraries List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gilles Chanteperdrix Cc: xenomai@xenomai.org On Fri, Sep 05, 2014 at 10:31:35PM +0200, Gilles Chanteperdrix wrote: > Just tried a fresh build with minimal flags, simply: > > configure --enable-debug CFLAGS="-fomit-frame-pointer" > --host=arm-linux-gnueabihf > make > arm-linux-gnueabihf-gdb src/skins/common/.libs/libxenomai.so.0.0.0 > > and gdb says it can find symbols. (-fomit-frame-pointer is needed with > the toolchain I use, otherwise gcc complains that it can not use the r7 > register). I tried adding that option, and still gdb says no symbols. Toolchain is debian wheezy's gcc 4.6, and everything is natively compiled. -- Len Sorensen