From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 120430 invoked by alias); 11 Sep 2019 21:52:29 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 120420 invoked by uid 89); 11 Sep 2019 21:52:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.3 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=HContent-type:text, HContent-type:plain, HContent-type:iso-8859-1, 1.2 X-Spam-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on sourceware.org X-Spam-Level: X-HELO: wmauth2.doit.wisc.edu Received: from wmauth2.doit.wisc.edu (HELO wmauth2.doit.wisc.edu) (144.92.197.222) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 11 Sep 2019 21:52:26 +0000 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03lp2056.outbound.protection.outlook.com [104.47.40.56]) by smtpauth2.wiscmail.wisc.edu (Oracle Communications Messaging Server 8.0.1.2.20170621 64bit (built Jun 21 2017)) with ESMTPS id <0PXO00GORSRCGZ60@smtpauth2.wiscmail.wisc.edu> for elfutils-devel@sourceware.org; Wed, 11 Sep 2019 16:52:25 -0500 (CDT) X-Spam-Report: AuthenticatedSender=yes, SenderIP=[104.47.40.56] X-Wisc-Env-From-B64: ZGFyb2NoYXBpbmhlQHdpc2MuZWR1 X-Spam-PmxInfo: Server=avs-2, Version=6.4.7.2805085, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2019.9.11.214519, AntiVirus-Engine: 5.65.0, AntiVirus-Data: 2019.8.20.5650002, SenderIP=[104.47.40.56] ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bKD2B4JogQHrLFValekdVS5EKdWD+7Ehtb20JMZRJQvD8ft4mCl0OpA8wJkZZSyw7UUDvf3k+m1RrmJs7YEl8xuvDt4jNlt5l0eOCSZKHyhMpG42+In+8MkWSEPkhf9jpCIvt6aEWDhUPzyVXYD9jmJAYRe6C3oKBGeyZlXPQZId+xuJlLwA6tJzV3tDCkhO8Ldx0rzwnh0lAFO63HwpZwm1DEYB6LWRjmaJuJgEjucPSDOJdx+HDQ9AtuS7/CkZHDYr+Gm266DcNyQu3uEKQX8RyWmzPUZZ4SS1tVfUIsFA9kl0n1gd5wlicN8wkKSladabHWEJnLBJuLy6HPiCfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dnmJ2GaHMyJCdmKK483qBTe/Lqc/AlecIfxmvPs9nCg=; b=fAgWuoOuCX0Qbod4sLGR0YPmhmiyy+rG02HjvZ/eRE1bDXkUn94tnxrJ18ndy4WlUSlvE+Q5nVkXMkSD3v4OhuTaOFKpdSmR7mM51s+8H7VY51hqXmVpN6bspG9wdVlg6mAO+81wD4V6TUScCuiplb3O9diQ68I2hhsBF5GD6H3K0yPgczEhIgvHZqIKnjSLpdTtsEvJzgKM/ULZ0g6bd5ScTubhTH3p6+83FYLJGaWtwqP6gDHxDvIrcbJYLmI7ofDwk9VSVCAmg+8D+45Oxpljd+6YpTxmp2XF6q5/PlMNx6zyBuVpa3i4ubM+enLP1kSpA+FxNco52HWQj/vzAQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wisc.edu; dmarc=pass action=none header.from=wisc.edu; dkim=pass header.d=wisc.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wisc.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dnmJ2GaHMyJCdmKK483qBTe/Lqc/AlecIfxmvPs9nCg=; b=nUIMArO2A1En9Ev9XVZcjynxgVxyRepzdpHYE9Mnb8CN0tVb00JxZBSQuqjGZTa+oGMu6wgQJy2S4zxGJhVJ/vAaX0Nq33qJlMpZCUhXFxYbCjj/QoJ+M7b44dHrspTDDcIx0qT/B2CvnYakhqTDyZN+L5XQ/VQjEp8E8/YjE9U= Received: from DM5PR06MB3369.namprd06.prod.outlook.com (10.174.243.142) by DM5PR06MB3482.namprd06.prod.outlook.com (10.175.105.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2263.15; Wed, 11 Sep 2019 21:52:23 +0000 Received: from DM5PR06MB3369.namprd06.prod.outlook.com ([fe80::516a:c669:5507:d4ab]) by DM5PR06MB3369.namprd06.prod.outlook.com ([fe80::516a:c669:5507:d4ab%6]) with mapi id 15.20.2241.022; Wed, 11 Sep 2019 21:52:23 +0000 From: Sasha Da Rocha Pinheiro To: Mark Wielaard , "elfutils-devel@sourceware.org" Subject: line info Thread-topic: line info Thread-index: AQHVaOqrn/yYQHJvAEqTCQQ2YGLGYQ== Date: Wed, 11 Sep 2019 21:52:00 -0000 Message-id: Accept-Language: en-US, pt-BR Content-language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: X-Originating-IP: [128.105.14.107] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 31880428-e82b-40b9-ad24-08d737025406 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:DM5PR06MB3482; x-ms-traffictypediagnostic: DM5PR06MB3482: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0157DEB61B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(39860400002)(346002)(366004)(396003)(136003)(53754006)(199004)(189003)(14454004)(786003)(316002)(4744005)(478600001)(186003)(25786009)(9686003)(6436002)(110136005)(75432002)(66946007)(55016002)(7116003)(26005)(256004)(66476007)(33656002)(2501003)(7736002)(64756008)(66556008)(66446008)(76116006)(305945005)(2906002)(71190400001)(3846002)(6116002)(86362001)(8676002)(74316002)(88552002)(66066001)(99286004)(81166006)(476003)(81156014)(71200400001)(5660300002)(53936002)(3480700005)(6506007)(221733001)(8936002)(486006)(102836004)(6346003)(52536014)(7696005);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR06MB3482;H:DM5PR06MB3369.namprd06.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: wisc.edu does not designate permitted sender hosts) Authentication-results: spf=none (sender IP is ) smtp.mailfrom=darochapinhe@wisc.edu; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Jn0PNORY1Fxp1SdrhUtBiTZQ5JZ9lM98sMep+iXO72fVYW6HO0Uh+Myb2TwjONF/g3axIua6qeKNCEAL83HyHL3SAYYXHGNZTdSKW10DzkoH9GoDNXmsp7x8MCuB6pF9Y9V3W+wbWd9Qr34u41U16C35rydZlh0KDC/n/UtH35Acoao6KW+NmSlyA3fo9cu9PC3+Y/aIjG59TeOkVwrjEXqop3Cr/eEeOj6uEfZPrRvjlSPcfrMqG4MHPNsQ6bX3fpHWky7NrqepBTE7bvxUfUeRBCdt8Zfxm7JOmRlIbpCaIp1jwB5kvuP4T94LJ8yhTz35mfHKLtQnKSC4ZWZ17TYtJoG8j4MpBZIbNviPKv0gkvzRj2NUj1LbTuMMHiVh5PhvmAfEHXviw+um0FoMgJEFCF/+uADZqXrrkx9+mKc= x-ms-exchange-transport-forked: True Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: quoted-printable MIME-version: 1.0 X-OriginatorOrg: wisc.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 31880428-e82b-40b9-ad24-08d737025406 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Sep 2019 21:52:23.5180 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 2ca68321-0eda-4908-88b2-424a8cb4b0f9 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: cbeNLiDZV0i/wLtKAeSn5fJqT05HhpG8J14EAXAE4zgUbh9jy03Gi496Ui3UsDciEgjuY6S9HbttQiYi2xh0rA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR06MB3482 X-SW-Source: 2019-q3/txt/msg00183.txt.bz2 Hi all, how do we get the line info range end address for a given line and file? For instance, gdb adds 2 breapoint to: (gdb) b /g/g90/devkota1/LULESH/lulesh.cc:233 Breakpoint 1 at 0x4060a0: /g/g90/devkota1/LULESH/lulesh.cc:233. (2 location= s) (gdb) i b Num =A0 =A0 Type =A0 =A0 =A0 =A0 =A0 Disp Enb Address =A0 =A0 =A0 =A0 =A0 = =A0What 1 =A0 =A0 =A0 breakpoint =A0 =A0 keep y =A0 =A0 =A0 =A0 =A0=20 1.1 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 y =A0 =A0 0x00000000004= 060a0 in CollectDomainNodesToElemNodes(Domain&, Index_t const*, Real_t*, Re= al_t*, Real_t*) at lulesh.cc:233 1.2 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 y =A0 =A0 0x00000000004= 09c0c in CalcKinematicsForElems(Domain&, double, int)=20 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0at lulesh.cc:233 And we find all these locations: Compilation Unit name: lulesh.cc [403eb0, ffffffffffffffff) /g/g90/devkota1/LULESH/lulesh.cc:233 [405477, ffffffffffffffff) /g/g90/devkota1/LULESH/lulesh.h:233=20 [4060a0, ffffffffffffffff) /g/g90/devkota1/LULESH/lulesh.cc:233=20 [409c0c, ffffffffffffffff) /g/g90/devkota1/LULESH/lulesh.cc:233=20 But we need to get the whole range, lower and upper addresses. Regars, Sasha