From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 5FF415A7A for ; Tue, 4 Aug 2015 19:08:57 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 04 Aug 2015 10:08:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,610,1432623600"; d="scan'208";a="535921563" Received: from pgsmsx103.gar.corp.intel.com ([10.221.44.82]) by FMSMGA003.fm.intel.com with ESMTP; 04 Aug 2015 10:08:39 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.110.14) by PGSMSX103.gar.corp.intel.com (10.221.44.82) with Microsoft SMTP Server (TLS) id 14.3.224.2; Wed, 5 Aug 2015 01:08:38 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.18]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.38]) with mapi id 14.03.0224.002; Wed, 5 Aug 2015 01:08:37 +0800 From: "Qiu, Michael" To: "Montorsi, Francesco" Thread-Topic: [dpdk-dev] how to build dpdk in debug mode? Thread-Index: AdDOB7WjlnaelQ3SQLC9//qrwqbSDQ== Date: Tue, 4 Aug 2015 17:08:37 +0000 Message-ID: <533710CFB86FA344BFBF2D6802E60286046FF08D@SHSMSX101.ccr.corp.intel.com> References: <9ab57be75fde4f72bb74c13867473794@bilemail1.empirix.com> <1893449.iu5p2fMzo3@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] how to build dpdk in debug mode? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2015 17:08:57 -0000 Please refer dec/build-sdk-quick.txt=0A= =0A= EXTRA_CFLAGS=3D-g=0A= =0A= should work.=0A= =0A= Thanks,=0A= Michael=0A= =0A= On 2015/8/3 9:29, Thomas Monjalon wrote:=0A= > 2015-08-03 16:16, Montorsi, Francesco:=0A= >> Hi all,=0A= >> I have searched the archives for this, without much success.=0A= >>=0A= >> Is it possible to build dpdk user-space libraries with -O0 and -g instea= d of -O3 ?=0A= >> This would make debugging via GDB much more friendly...=0A= > The answer is EXTRA_CFLAGS :)=0A= >=0A= =0A=