Site Overlay

GDB: New calling convention for Fortran

GNU Logo

One patch added to GDB:

Use DW_CC_program to determine the “main program” in Fortran
This patch makes GDB check for DW_AT_calling_convention value in order to determine the “main program” in Fortran programs. Since the current DWARF specification doesn’t have a specific field for determining the source-level entry point, GDB checks now if the calling convention is DW_CC_program when debugging Fortran programs. Patch 
here.

Related stories: fortran, gdb, Linux

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.