[Bug fortran/8415] GDB has problem with internal subroutines (variable visibility)
tromey at sourceware dot org via Gdb-prs <[email protected]>
| Newsgroups | gmane.comp.gdb.bugs.discuss |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://sourceware.org/bugzilla/show_bug.cgi?id=8415
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
CC| |tromey at sourceware dot org
--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
Apparently this works now:
Breakpoint 1, external_subr::internal_subr (par2=1366484480) at test.f90:17
17 arg2 = internal_func(arg2)
(gdb) p res1
$1 = 10
At some point the static link was implemented in gdb, and looking
at the DWARF, gfortran emits it.
I did this with gdb 17 but probably it works on older ones too.
--
You are receiving this mail because:
You are on the CC list for the bug.