From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19183 invoked by alias); 10 Jan 2015 00:55:49 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 19171 invoked by uid 89); 10 Jan 2015 00:55:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,MSGID_MULTIPLE_AT autolearn=no version=3.3.2 X-HELO: mailhost.u-strasbg.fr Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.222.212) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 10 Jan 2015 00:55:47 +0000 Received: from mailhost.u-strasbg.fr (localhost [127.0.0.1]) by antispam (Postfix) with ESMTP id 5A271141701; Sat, 10 Jan 2015 01:55:44 +0100 (CET) Received: from mailhost.u-strasbg.fr (localhost [127.0.0.1]) by antivirus (Postfix) with ESMTP id 4717A14177B; Sat, 10 Jan 2015 01:55:44 +0100 (CET) Received: from lmr.u-strasbg.fr (lmr1.u-strasbg.fr [172.30.21.1]) by mr2.u-strasbg.fr (Postfix) with ESMTP id 15B9D141701; Sat, 10 Jan 2015 01:55:41 +0100 (CET) Received: from lmr.u-strasbg.fr (localhost [127.0.0.1]) by antivirus (Postfix) with ESMTP id D6763E5; Sat, 10 Jan 2015 01:55:40 +0100 (CET) Received: from E6510Muller (lec67-4-82-230-53-140.fbx.proxad.net [82.230.53.140]) (Authenticated sender: mullerp) by lmr1.u-strasbg.fr (Postfix) with ESMTPSA id 0424CE4; Sat, 10 Jan 2015 01:55:36 +0100 (CET) From: "Pierre Muller" To: "'Doug Evans'" Cc: "'Pedro Alves'" , "'gdb-patches'" References: <54ae4586.01e3440a.7b06.fffff844SMTPIN_ADDED_BROKEN@mx.google.com> <54AE605A.8050308@redhat.com> <54ae7f9f.c323460a.36ed.ffffff30SMTPIN_ADDED_BROKEN@mx.google.com> <54AE8914.4010507@redhat.com> <54ae911b.85e3440a.1d96.5ffdSMTPIN_ADDED_BROKEN@mx.google.com> <54AFB2E5.5080307@redhat.com> <54afff61.6790420a.0fa7.4f63SMTPIN_ADDED_BROKEN@mx.google.com> In-Reply-To: Subject: RE: [RFA PATCH 2/3] Add debug-stabs debug-dwarf and class option for pascal compiler Date: Sat, 10 Jan 2015 00:55:00 -0000 Message-ID: <004a01d02c70$27cf9820$776ec860$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2015-01/txt/msg00244.txt.bz2 > Hi. > This patch makes me uncomfortable. > It's to a pascal specific file, so at least the discomfort is contained > :-), > but I wouldn't want this spreading. >=20 > How to select debug information should be > orthogonal to compilation language, > and there are a myriad of ways to select what kind of dwarf debug info > to get (with/without type units, with/without .gdb_index, with/without > dwz, and so on). I have board files to help me drive the various > combinations I'm interested in. This won't work if gdb.pascal/* > starts hardcoding debug info into the test. >=20 > Maybe there's a good reason to do it this way for pascal, > but I need more data. Hi Doug, the reasons of this patch are: 1) the particular problem that the series fixes is strictly limited to stabs debugging information. Thus to really test that this bug has been fixed, I need to compile the test code using stabs debugging format (which I now realize I did not do in the third part of the patch series). 2) the pascal language support tries to support both GNU pascal compiler (aka GPC) and Free Pascal Compiler (aka FPC). These two compilers have very different options, so the submitted patch purpose is to unify the selection of stabs versus dw= arf debug format independently from the used pascal compiler. For other pascal tests, only debug is used, which results in the default format according to the target architecture and operating system. I hope that the explanations above are sufficient to ease your discomfort. Pierre Muller=20