From patchwork Thu Jun 17 10:21:14 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Charlet X-Patchwork-Id: 56006 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 423A0B7D29 for ; Thu, 17 Jun 2010 20:21:10 +1000 (EST) Received: (qmail 15329 invoked by alias); 17 Jun 2010 10:21:06 -0000 Received: (qmail 15318 invoked by uid 22791); 17 Jun 2010 10:21:05 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (212.99.106.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 17 Jun 2010 10:20:58 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 8FF3FCB026F; Thu, 17 Jun 2010 12:21:04 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 38RDrK6Uo8rj; Thu, 17 Jun 2010 12:21:04 +0200 (CEST) Received: from saumur.act-europe.fr (saumur.act-europe.fr [10.10.0.183]) by mel.act-europe.fr (Postfix) with ESMTP id 6901FCB0247; Thu, 17 Jun 2010 12:21:04 +0200 (CEST) Received: by saumur.act-europe.fr (Postfix, from userid 525) id 6DF06D9AB0; Thu, 17 Jun 2010 12:21:14 +0200 (CEST) Date: Thu, 17 Jun 2010 12:21:14 +0200 From: Arnaud Charlet To: gcc-patches@gcc.gnu.org Cc: Thomas Quinot Subject: [Ada] Dump freeze nodes in pg output Message-ID: <20100617102114.GA11034@adacore.com> Mime-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.9i X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org This change makes pg agree with its spec: consistent with -gnatdg, output freeze nodes. This affects only debugging the compiler within gdb, so no test. Tested on x86_64-pc-linux-gnu, committed on trunk 2010-06-17 Thomas Quinot * sprint.adb (pg): Set Dump_Freeze_Null, to be consistent with -gnatdg. Index: sprint.adb =================================================================== --- sprint.adb (revision 160834) +++ sprint.adb (working copy) @@ -403,7 +403,8 @@ package body Sprint is procedure pg (Arg : Union_Id) is begin Dump_Generated_Only := True; - Dump_Original_Only := False; + Dump_Original_Only := False; + Dump_Freeze_Null := True; Current_Source_File := No_Source_File; if Arg in List_Range then