From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: Debug Fortran 90 code in Emacs with arguments. Date: Wed, 6 Apr 2022 11:02:02 +0800 Message-ID: References: <83lewjeq2t.fsf@gnu.org> <838rsjekhe.fsf@gnu.org> <831qybedeg.fsf@gnu.org> <83tub7c56c.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27956"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 06 05:02:45 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 1nbvwS-00072f-Lq for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 06 Apr 2022 05:02:44 +0200 Original-Received: from localhost ([::1]:49576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbvwR-0003Xc-6f for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 05 Apr 2022 23:02:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbvw3-0003XI-O7 for help-gnu-emacs@gnu.org; Tue, 05 Apr 2022 23:02:19 -0400 Original-Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]:33578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbvw1-0002C5-Qc; Tue, 05 Apr 2022 23:02:19 -0400 Original-Received: by mail-ej1-x635.google.com with SMTP id a6so1608779ejk.0; Tue, 05 Apr 2022 20:02:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=LNpEfeGasN7M8I1uhLQTaSWz5I2zNAJB7iwiNfWGY0U=; b=a9c3TkQdFP2U2mCgrgoJLzj/SfyLgM9SsyTuO/MK2w1h96j987U/vSaVmgVv39ET3b JX32kcrfIYOt2ajr7XLZF0VHkTOi4+ZBdt4Cyl+zdum4O5kKBTMWTEygjh/eSNhdAzGU oNVxczNLohccedm/cDZNYx+0Zlx/m3MUJsFPIBcrL0Yezhs2GuBbfDzLRcv1bbdKNP8S jG6T0DgfabrDDExCADSxEXmu/ESGT04TroFuF7FtFLVv6to7Cy14XjFTpDuzwZh7ARwQ g9+QF9aI8Hr56HyHLCf4uXJQIRKKd4KTslDJxTrCLAs3vH43KfXodPSUYNkksVQmFxKt TCzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=LNpEfeGasN7M8I1uhLQTaSWz5I2zNAJB7iwiNfWGY0U=; b=EEgpeYf2KL1JERZ8RMoK4KtbgzRvHuBmGGzGhpu4RbvfORVhrf+bCj6Sf9rjeL9vzs HLSRHQNmMoQhnoxaqP9/6kMw0IXGtvWPrZCs05S77JGLtNwLKeI+EOWTjvO98a55Z7qV XL0gaUpJapu9cy5UrfD8tqeA9G5vEr7wiP4yDHwnCzBZ7O2U6kneldR/979fTja4KMqp 6Y5KwMG5U6ymMi10Q13acH3hWJRYXiijixO8TZZPqHXM2GbDxeXJxmAXeBqrrS7WxtlZ FJAWdDc6QfPiRc76sbF143PHakZqSJ/s8fSX2Oz+duqP98fgZ33jd1TG4vzLJ8qx1Zcw FZUg== X-Gm-Message-State: AOAM533a+T/pRhDmBnJUTqRPOwAzZWfROBdPLnJrhlSrxuKA43QE75wv OhFmTaiAvcuXaqF+lIajiStt6Al+eYXj/3t7xHw2Xak3bhEccA== X-Google-Smtp-Source: ABdhPJwFJWTUSy3eYFyXuGHg4K07lYCiAtRMog9+3RZ2UCSNKoNMR6GbGz+u0IDsw9S4NacndHUuPvV9gPS3d/VLhwc= X-Received: by 2002:a17:907:1c1c:b0:6e4:e488:4e76 with SMTP id nc28-20020a1709071c1c00b006e4e4884e76mr6213147ejc.93.1649214134803; Tue, 05 Apr 2022 20:02:14 -0700 (PDT) In-Reply-To: <83tub7c56c.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=hongyi.zhao@gmail.com; helo=mail-ej1-x635.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:136874 Archived-At: On Wed, Apr 6, 2022 at 10:32 AM Eli Zaretskii wrote: > > > From: Hongyi Zhao > > Date: Wed, 6 Apr 2022 09:46:27 +0800 > > Cc: help-gnu-emacs > > > > > gdb -i=3Dmi --args ./bin/Debug/bilbao_read 1 2 > > > > This works, but I noticed the following information: > > > > Target doesn=E2=80=99t support non-stop mode. Turning it off. > > This depends on your system, and is generally not a problem. Here is a concise tutorial [1]. > > But I can't find any explanation that the `-interpreter' can be > > abbreviated as `-i'. > > From the manual: > > Many options have both long and short forms; both are shown in the > following list. GDB also recognizes the long forms if you truncate > them, so long as enough of the option is present to be unambiguous. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Thank you for pointing this out, and I have confirmed it as follows: $ gdb --version GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2 $ info gdb|grep -m1 -A2 -B2 'as enough of ' Many options have both long and short forms; both are shown in the following list. GDB also recognizes the long forms if you truncate them, so long as enough of the option is present to be unambiguous. (If you prefer, you can flag option arguments with '--' rather than '-', though we illustrate the more usual convention.) [1] http://c.biancheng.net/view/8270.html Regards, Hongyi