From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by dpdk.space (Postfix) with ESMTP id 1286DA05D3
	for <public@inbox.dpdk.org>; Mon, 20 May 2019 12:27:20 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id A3E835589;
	Mon, 20 May 2019 12:27:18 +0200 (CEST)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com
 (mail-eopbgr130088.outbound.protection.outlook.com [40.107.13.88])
 by dpdk.org (Postfix) with ESMTP id 307654F91
 for <dev@dpdk.org>; Mon, 20 May 2019 12:27:17 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com;
 s=selector2;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=Z+rD0FmwOoU34QFe1K79QzXUi/OPvraq/9ZEAszrlBc=;
 b=P0REcrt8/wf8meS8VmpnBA1N8mjwAV4rQnnEwIBvwsMq97HInfz8C2aYTwO1gIomaU95LioPzgN0pG8qbCQhL1J9R/EY2q9SyKjCqGn4FYYx7pPgg5lMXgLWv62asMNn3bwb8K/4ADVa7UfdlnAWiWPYbx9IFjuDF2FIe/nBrN0=
Received: from VI1PR05MB5821.eurprd05.prod.outlook.com (20.178.122.223) by
 VI1PR05MB6078.eurprd05.prod.outlook.com (20.178.204.92) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.1900.16; Mon, 20 May 2019 10:27:15 +0000
Received: from VI1PR05MB5821.eurprd05.prod.outlook.com
 ([fe80::855c:ffdf:b70a:220e]) by VI1PR05MB5821.eurprd05.prod.outlook.com
 ([fe80::855c:ffdf:b70a:220e%7]) with mapi id 15.20.1900.020; Mon, 20 May 2019
 10:27:15 +0000
From: Adham Masarwah <adham@mellanox.com>
To: "dev@dpdk.org" <dev@dpdk.org>
CC: "ranjit.menon@intel.com" <ranjit.menon@intel.com>,
 "pallavi.kadam@intel.com" <pallavi.kadam@intel.com>, Yohad Tor
 <yohadt@mellanox.com>, Rani Sharoni <ranish@mellanox.com>, Tal Shnaiderman
 <talshn@mellanox.com>, Bruce Richardson <bruce.richardson@intel.com>
Thread-Topic: Generating Debug information in Windows using Clang (PDB files)
Thread-Index: AdUO9loa7puxxUrZQC2ToWeDAEdTqg==
Date: Mon, 20 May 2019 10:27:15 +0000
Message-ID: <VI1PR05MB5821B2BC448F6CE9A190AE58C4060@VI1PR05MB5821.eurprd05.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=none (sender IP is )
 smtp.mailfrom=adham@mellanox.com; 
x-originating-ip: [193.47.165.251]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: c92ca829-54ad-4311-cbb2-08d6dd0dba8f
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0;
 RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);
 SRVR:VI1PR05MB6078; 
x-ms-traffictypediagnostic: VI1PR05MB6078:
x-microsoft-antispam-prvs: <VI1PR05MB60786E363FE297B23CBE6001C4060@VI1PR05MB6078.eurprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7691;
x-forefront-prvs: 004395A01C
x-forefront-antispam-report: SFV:NSPM;
 SFS:(10009020)(366004)(396003)(39860400002)(376002)(136003)(346002)(189003)(199004)(73956011)(66556008)(66476007)(86362001)(2351001)(76116006)(66446008)(64756008)(66946007)(256004)(53936002)(102836004)(8936002)(9326002)(14454004)(81156014)(81166006)(66066001)(478600001)(71200400001)(71190400001)(1730700003)(8676002)(54906003)(790700001)(3846002)(2501003)(4744005)(2906002)(99286004)(5640700003)(54896002)(9686003)(26005)(186003)(7736002)(6306002)(55016002)(6116002)(486006)(6916009)(476003)(7696005)(52536014)(68736007)(6436002)(316002)(4326008)(5660300002)(25786009)(33656002)(6506007)(74316002);
 DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB6078;
 H:VI1PR05MB5821.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en;
 PTR:InfoNoRecords; MX:1; A:1; 
received-spf: None (protection.outlook.com: mellanox.com does not designate
 permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: 8XjhwhB3o4gGKUtgeClwfZPb4i82stK7SByvxxB0yQZ3tlcVT8WlDYetFN121RYXryzcKEdfHlgC2tmHQeq1GMKjWPouYWyjzS8zcv2DMSmFJl2ZyBqC3KRtp795MfL6z8PSpaGCfmT1+wnBP14Vfq4D8vKX4Yurx/99vi703THtadRJUYY30w3VSMlOyEq723L0VztGx1G9/Kl2iRSy8MppVm6osYeB/xb/pJi8gmTOPgG5IseEwQSMm0pwOZ/MEmgvypaZ6DiG1KZQdt/JNhoi7FDFDl4lkqrxA37nUK0+XOZBWn90CUrriwVQlKfodWdh49iCc3tB5T5T6HOyxSjfq+CdLrPLNnrF4U6ujECPXcXoiiUfhxKPk4oWnhgS8wrpX7YkrUTvTp4ywoLyu9ZNfxY6QRjQ0D/f9ItOOyM=
MIME-Version: 1.0
X-OriginatorOrg: Mellanox.com
X-MS-Exchange-CrossTenant-Network-Message-Id: c92ca829-54ad-4311-cbb2-08d6dd0dba8f
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 May 2019 10:27:15.3303 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB6078
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.15
Subject: [dpdk-dev] Generating Debug information in Windows using Clang (PDB
	files)
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

Hi,

In development we use WinDbg for debugging, so we need to create PDB files =
when compiling the DPDK, so we used ``-g`` in the CFLGAS and the PDB files =
are being created.
But when running the helloworld with WinDbg, we can see only function names=
, we can't see code neither variables, we get the following error: "Private=
 symbols (symbols.pri) are required for locals."
We tried to append some flags like -Z7 and -gcodeview, but the compiler ign=
ores them.

Do you have any idea what we miss here ? What is the debug mechanism is bei=
ng used in Windows ?

Thanks