From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 40820 invoked by alias); 21 Mar 2017 20:46:31 -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 40806 invoked by uid 89); 21 Mar 2017 20:46:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.0 required=5.0 tests=AWL,BAYES_00,FOREIGN_BODY1,RP_MATCHES_RCVD,SPF_PASS autolearn=no version=3.3.2 spammy=Para, enviado, Stone, assunto X-Spam-Status: No, score=4.0 required=5.0 tests=AWL,BAYES_00,FOREIGN_BODY1,RP_MATCHES_RCVD,SPF_PASS autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: *** X-HELO: smtpauth3.wiscmail.wisc.edu MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 X-Spam-Report: AuthenticatedSender=yes, SenderIP=207.46.163.56 X-Spam-PmxInfo: Server=avs-3, Version=6.3.3.2656215, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2017.3.21.203915, AntiVirus-Engine: 5.35.0, AntiVirus-Data: 2017.3.15.5350001, SenderIP=207.46.163.56 From: SASHA NICOLAS DA ROCHA PINHEIRO To: Josh Stone , "elfutils-devel@sourceware.org" Subject: Re: Group section Thread-topic: Group section Thread-index: AQHSonp7F35FTgA4G0K++6+54Bx+iaGftJYAgAANuV0= Date: Tue, 21 Mar 2017 20:46:00 -0000 Message-id: References: In-reply-to: Accept-Language: pt-BR, en-US Content-language: pt-BR X-MS-Has-Attach: X-MS-TNEF-Correlator: Authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=wisc.edu; X-Originating-IP: [128.105.14.107] x-microsoft-exchange-diagnostics: 1;BN3PR0601MB1346;7:0QzCQ2uZSxDHdwOlBENGKuKtZO9HUOsHwzm7HxiEPii0HtLfOkp82tjvB6ekusU5Zt3SpvHMscGV7mIxnq3JAK5jcB+7o9737wfBLEgksfuJzi+kLtGYNYedjbDLbgsXKFzkvjirApeC5Iye2Z9MTahq91hlR8Pkzl1cUN0dn54U+rQ+CBmsvD5qUaFDFhjoNuMnDw5ZQ78KWeWxo6dyFrhpn6vQtvhfhIgbMQMGIyICXCik8mu/hRsSmTDm+vHf5ToYBMQdPD3K1lG0mcq9szQkiyeEuDFScWoZMDQP14qtUL4SwixnMjmrAlR5YOkWLDET0quO+9Ue9gv4frDDNw== x-ms-office365-filtering-correlation-id: 6eb4c6f8-7566-4b04-9538-08d4709b5790 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(48565401081);SRVR:BN3PR0601MB1346; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123555025)(20161123558025)(20161123560025)(20161123564025)(6072148);SRVR:BN3PR0601MB1346;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0601MB1346; x-forefront-prvs: 02530BD3AA x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(39450400003)(39410400002)(39840400002)(39850400002)(39860400002)(24454002)(377454003)(8936002)(8676002)(189998001)(81166006)(102836003)(3846002)(6116002)(3660700001)(3280700002)(88552002)(33656002)(2906002)(3480700004)(2501003)(66066001)(221733001)(2900100001)(122556002)(75432002)(53346004)(38730400002)(6506006)(53936002)(74316002)(305945005)(2950100002)(5660300001)(99286003)(7696004)(7116003)(7736002)(9686003)(86362001)(6436002)(229853002)(77096006)(54356999)(50986999)(55016002)(76176999)(53546009)(25786009);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR0601MB1346;H:BN3PR0601MB1345.namprd06.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-transfer-encoding: quoted-printable X-OriginatorOrg: wisc.edu X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2017 20:46:25.4695 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 2ca68321-0eda-4908-88b2-424a8cb4b0f9 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0601MB1346 X-SW-Source: 2017-q1/txt/msg00103.txt.bz2 That's the problem. It says "no error" once, in=A0another call it says "no = reference value", and in another call "no DWARF information". =20 =20 De: Josh Stone Enviado: ter=E7a-feira, 21 de mar=E7o de 2017 14:53:12 Para: SASHA NICOLAS DA ROCHA PINHEIRO; elfutils-devel@sourceware.org Assunto: Re: Group section =A0=20=20=20 On 03/21/2017 12:38 PM, SASHA NICOLAS DA ROCHA PINHEIRO wrote: >=20 > Hi Josh > I am getting error on the following code, and it looks like to be related= to group sections. What is the error? > As you can see I changed the dwarf_elf_init to dwarf_begin_elf, but passe= d NULL on the third parameter. > Do you know how should I actually deal with it?=20 >=20 >=A0=A0 91 bool DwarfHandle::init_dbg()=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=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=A0=A0 >=A0 92 {=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=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=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=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=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=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0 > 103=A0=A0=A0=A0 //status =3D dwarf_elf_init(file->e_elfp(), DW_DLC_READ,= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 > 104=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=A0 err_func, &file_data, &file_data, &err);=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 > 105=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=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=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=A0=A0=A0=A0=A0=A0 > 106=A0=A0=A0=A0 file_data =3D dwarf_begin_elf(file->e_elfp(), DWARF_C_REA= D, NULL);=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 > 107=A0=A0=A0=A0 cerr << "Error message:" << dwarf_errmsg(-1) << endl;=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 > 108=A0=A0=A0=A0 if (!file_data) {=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=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=A0=A0=A0=A0=A0=A0=A0=A0=A0 > 109=A0=A0=A0=A0=A0=A0=A0=A0 init_dwarf_status =3D dwarf_status_error;=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=A0= =A0=A0=A0=A0=A0=A0=A0 > 110=A0=A0=A0=A0=A0=A0=A0=A0 return false;=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=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=A0=A0=A0=A0=A0=A0=A0=A0=A0 > 111=A0=A0=A0=A0 }=20 >=20 =20=20=20=20