From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Debug Fortran 90 code in Emacs with arguments. Date: Tue, 05 Apr 2022 14:18:18 +0300 Message-ID: <83lewjeq2t.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39457"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 05 13:19:00 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nbhDA-000A8A-Hw for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 05 Apr 2022 13:19:00 +0200 Original-Received: from localhost ([::1]:52500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbhD9-0001hF-Il for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 05 Apr 2022 07:18:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbhCR-0001fO-JK for help-gnu-emacs@gnu.org; Tue, 05 Apr 2022 07:18:15 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57220) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbhCR-0002gS-A4 for help-gnu-emacs@gnu.org; Tue, 05 Apr 2022 07:18:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=d5+5IXGesVK07OavjEQypbQdKJZhiTrieQGWN00ZMkQ=; b=q+O4UMjXf81y 6SmhnjOEzihSGGQ3qYtj8KJAO9PZNLF6muIvIcstsISlhXtAeW7lotpXbupWPp9/c/TJR4kQYDql6 hnVg1XEUKnYSOGfcYuAiYhpmt0EZij4DCI4n+g93zdaFYG+B00VN9kUEF3rkLOIGvrcw3M3fpaFJE xESzSvyXZU8bfKsFPErXI0wae6x015fgc55YDDDh7OkKMRLm5aQRs4OAiWg4sXPMkyoh+o7ff4XvH iiyHTpiy1GZ2Dmqi+PLWEDNNwrwxqMLqjI10ZaexhjXW/SXm/KCkuL3BKOoFegxItKDYP5b2Rbs8u h0XBjmvgCQA1+cFhRavZAQ==; Original-Received: from [87.69.77.57] (port=3046 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbhCQ-0005kP-Ez for help-gnu-emacs@gnu.org; Tue, 05 Apr 2022 07:18:14 -0400 In-Reply-To: (message from Hongyi Zhao on Tue, 5 Apr 2022 10:27:41 +0800) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136850 Archived-At: > From: Hongyi Zhao > Date: Tue, 5 Apr 2022 10:27:41 +0800 > > The above code snippet must be run and debug with some arguments, say, > as follows: > > -o 42 -a hello b > > So, I want to know how to debug Fortran 90 code in Emacs with arguments. Use GDB via the "M-x gdb" Emacs front-end.