RE: Why does GDB currently still supports only the features of Fortran 77 language?

"Kempke, Nils-Christian via Gdb" <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CY4PR1101MB2071AEFB30BD6DBE5B5EBBABB8EA9@CY4PR1101MB2071.namprd11.prod.outlook.com>
Hi,

the documentation for the Fortran part of GDB is a bit outdated. It is not actually
true that GDB only supports Fortran 77 features - there is newer features that are
supported, too. Though there probably is not a standard (90/95..) for which one
could say that all Fortran features are fully supported (except maybe 77 though here
I am not sure).

GDB as of yet does not support every language feature of the latest standards.
As for the reason - GDB is a collaborative project that relies on contributions and
probably no one has come around doing the necessary work yet.

If you find that there is a specific feature missing, I would suggest opening a
'Feature request' bug for GDB at https://sourceware.org/bugzilla/ . Or, you could
become contributor yourself, too.

There is this patch I just sent that tries to improve the Fortran documentation a bit
https://sourceware.org/pipermail/gdb-patches/2022-April/187710.html
It describes all currently supported Fortran intrinsics.

Best regards,

Nils

> -----Original Message-----
> From: Gdb <gdb-bounces+nils-
> [email protected]> On Behalf Of Hongyi Zhao via
> Gdb
> Sent: Saturday, April 9, 2022 3:23 AM
> To: [email protected]
> Subject: Why does GDB currently still supports only the features of Fortran
> 77 language?
> 
> Nowadays, it is well known that Fortran 77 is a rather archaic and
> outdated Language, and it has been replicated by more modern Fortran
> versions, such as
> Fortran 90/95/2003/2008, and so on.
> 
> But in the documentation corresponding to the latest version of GDB
> [1], I noticed the following description, which surprised me quite a
> lot:
> 
> ```
> 15.4.6 Fortran
> 
> GDB can be used to debug programs written in Fortran, but it currently
> supports only the features of Fortran 77 language.
> ```
> 
> Today in the 21st century, why does GDB currently still supports only
> the features of Fortran 77 language?
> 
> [1]
> https://sourceware.org/gdb/current/onlinedocs/gdb/Fortran.html#Fortran
> 
> Best regards
> --
> Assoc. Prof. Hongsheng Zhao <[email protected]>
> Theory and Simulation of Materials
> Hebei Vocational University of Technology and Engineering
> No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province
Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de>
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva  
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.