From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Debug Fortran 90 code in Emacs with arguments.
Date: Wed, 6 Apr 2022 11:02:02 +0800 [thread overview]
Message-ID: <CAGP6POJdwxVZ8g2Z-ATqtQTpMwT=V0HAHsVB2nR5KYZK5QLZjA@mail.gmail.com> (raw)
In-Reply-To: <83tub7c56c.fsf@gnu.org>
On Wed, Apr 6, 2022 at 10:32 AM Eli Zaretskii <eliz@gnu.org> wrote:
>
> > From: Hongyi Zhao <hongyi.zhao@gmail.com>
> > Date: Wed, 6 Apr 2022 09:46:27 +0800
> > Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
> >
> > > gdb -i=mi --args ./bin/Debug/bilbao_read 1 2
> >
> > This works, but I noticed the following information:
> >
> > Target doesn’t 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
next prev parent reply other threads:[~2022-04-06 3:02 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-05 2:27 Debug Fortran 90 code in Emacs with arguments Hongyi Zhao
2022-04-05 11:18 ` Eli Zaretskii
2022-04-05 12:57 ` Hongyi Zhao
2022-04-05 13:00 ` Hongyi Zhao
2022-04-05 13:19 ` Eli Zaretskii
2022-04-05 13:23 ` Eli Zaretskii
2022-04-05 13:52 ` Hongyi Zhao
2022-04-05 14:02 ` Eli Zaretskii
2022-04-05 14:14 ` Hongyi Zhao
2022-04-05 14:19 ` Hongyi Zhao
2022-04-05 15:52 ` Eli Zaretskii
2022-04-06 1:46 ` Hongyi Zhao
2022-04-06 2:32 ` Eli Zaretskii
2022-04-06 3:02 ` Hongyi Zhao [this message]
2022-04-06 2:26 ` Hongyi Zhao
2022-04-06 10:50 ` Eli Zaretskii
2022-04-06 13:05 ` Hongyi Zhao
2022-04-06 14:12 ` Eli Zaretskii
2022-04-06 14:42 ` Hongyi Zhao
2022-04-06 15:42 ` Eli Zaretskii
2022-04-07 2:02 ` Hongyi Zhao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAGP6POJdwxVZ8g2Z-ATqtQTpMwT=V0HAHsVB2nR5KYZK5QLZjA@mail.gmail.com' \
--to=hongyi.zhao@gmail.com \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).