all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Debug Fortran 90 code in Emacs with arguments.
Date: Tue, 05 Apr 2022 16:19:09 +0300	[thread overview]
Message-ID: <838rsjekhe.fsf@gnu.org> (raw)
In-Reply-To: <CAGP6POKVaxOg-o5fTrcm_xiRHMzcJKJ07NF5pJDLOskCJWDwLA@mail.gmail.com> (message from Hongyi Zhao on Tue, 5 Apr 2022 21:00:31 +0800)

> From: Hongyi Zhao <hongyi.zhao@gmail.com>
> Date: Tue, 5 Apr 2022 21:00:31 +0800
> Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
> 
> > > Use GDB via the "M-x gdb" Emacs front-end.
> >
> > I tried with the following steps, but still failed to figure it out:
> >
> > 1. $ emacs the_fortran_example.f90
> > 2. In Emacs, issue the command `M-x gdb RET`.
> 
> Then I see the following setting in minibuffer, and I just hit RET to use it:
> 
> gdb -i=mi gfotran

Is 'gfortran' the name of your program's executable file?  If not,
edit the command to replace "gfortran" with the name of your program's
executable file.

If you never used a "M-x gdb" in Emacs, I suggest to read the section
"GDB Graphical Interface" (and its sub-sections) in the Emacs manual.



  reply	other threads:[~2022-04-05 13:19 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 [this message]
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
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=838rsjekhe.fsf@gnu.org \
    --to=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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.