[Bug fortran/9260] Segmentation fault with passed-length character arguments

jan dot kratochvil at redhat dot com sourceware-bugzilla@sourceware.org
Tue Dec 23 19:47:00 GMT 2008


------- Additional Comments From jan dot kratochvil at redhat dot com  2008-12-23 19:47 -------
FYI the support currently exists in a 3rd party patch:
http://sourceware.org/gdb/wiki/ProjectArcher
http://sourceware.org/gdb/wiki/ArcherBranchManagement
branch archer-jankratochvil-vla

GNU Fortran (GCC) version 4.4.0 20081219 (experimental) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.4.0 20081219 (experimental), GMP version 4.2.2,
MPFR version 2.3.2.
GNU gdb Fedora (6.8-29.fc10)
(gdb) ptype name
type = character*3
(gdb) p name
$1 = 'foo'

The patch is going to be submitted in parts for FSF GDB.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jan dot kratochvil at redhat
                   |                            |dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=9260

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Gdb-prs mailing list