gfortran+gdb not working for x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z.
An example: for simple two source files,
! program.f90 program testing call something() end program testing
!something.f90 subroutine something() write(*,*) "Hello from something" end subroutine something
My experience is:
E:\simple2sources>gfortran -c something.f90 E:\simple2sources>gfortran program.f90 something.o E:\simple2sources>a.exe Hello from something E:\simple2sources>gdb a.exe GNU gdb (GDB) 8.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-w64-mingw32". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from a.exe...done. (gdb) l 1 ../../../../../src/gcc-8.1.0/libgcc/config/i386/cygwin.S: No such file or directory. (gdb)
Hello,
Isn't this the same bug, as reported in:
https://bugreports.qt.io/browse/QTBUG-68502
https://bugreports.qt.io/browse/QTBUG-68744
Best,
Alexander