help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debug Fortran 90 code in Emacs with arguments.


From: Eli Zaretskii
Subject: Re: Debug Fortran 90 code in Emacs with arguments.
Date: Tue, 05 Apr 2022 16:19:09 +0300

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]