From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from van-out20.mxprotection.net (van-out20.mxprotection.net [162.219.160.144]) by sourceware.org (Postfix) with ESMTPS id 9E8743858018 for ; Sun, 20 Dec 2020 11:52:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9E8743858018 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=spellingbeewinnars.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=patrick@spellingbeewinnars.org Received: from tor-sh10.fullhost.io ([162.219.163.10]) by vancouver.mxprotection.net with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1kqxGT-00028C-Md for gcc@gcc.gnu.org; Sun, 20 Dec 2020 06:52:44 -0500 Received: from [69.165.217.11] (port=33706 helo=[192.168.1.4]) by tor-sh10.fullhost.io with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1kqxGS-0005Yd-Sr for gcc@gcc.gnu.org; Sun, 20 Dec 2020 06:52:40 -0500 To: gcc@gcc.gnu.org From: Patrick Subject: Help with workflow Message-ID: Date: Sun, 20 Dec 2020 06:52:40 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Get-Message-Sender-Via: tor-sh10.fullhost.io: authenticated_id: patrick@spellingbeewinnars.org X-Authenticated-Sender: tor-sh10.fullhost.io: patrick@spellingbeewinnars.org X-Originating-IP: 162.219.163.10 X-MXPROTECTION-Domain: tor-sh10.fullhost.com X-MXPROTECTION-Username: 162.219.163.10 Authentication-Results: mxprotection.net; auth=pass smtp.auth=162.219.163.10@tor-sh10.fullhost.com X-MXPROTECTION-Outgoing-Class: unsure X-MXPROTECTION-Outgoing-Evidence: Combined (0.87) X-Recommended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3oRtj 2B1AY0qaQ0JfbuHt9tDR3p1uj+ox/F/wmKme+cHBp8DFQjEvuGslKTrRIXcXpFg5ivY= X-Report-Abuse-To: spam@vancouver.mxprotection.net X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Dec 2020 11:52:46 -0000 Hi Everyone This is my first post here. I need help mapping a enjoyable workflow from GnuCOBOL to GCC. I love COBOL and with GnuCOBOL, I can compile one of my programs to intermediate C and then take the GnuCOBOL source code for the runtime and the C outputted and hop around though it using ctags. It is great to write something in COBOL and then to see how it is actually implemented in the runtime in C. I want to do the same thing with Ada. This was my first attempt: gcc -c -gnatDGL but the output wasn't really that meaningful, it was basically just my program with no ctag links into the runtime. I tried to create a little shell script : gcc -c -fdump-tree-original-raw ada83_syntax.adb gcc -c -fdump-tree-gimple-raw ada83_syntax.adb gcc -c -fdump-tree-cfg-raw  ada83_syntax.adb ctags ../*.[ch] ../ada/* *.original *.gimple *.cfg gvim ../*.[ch] ../ada/* *.original *.gimple *.cfg tags I was hoping that I would catch the top level C code and that it would help. It didn't seem to. Could anyone help with what I am trying to do? Thanks for reading-Pat