------- Comment #5 from jakub at gcc dot gnu dot org 2009-02-02 09:51 -------
The generated unwind info looks good to me, so it is likely a gdb issue.
[ 58] module
name "m"
decl_file 1
decl_line 1
sibling [ 89]
[ 61] subprogram
external
name "a"
decl_file 1
decl_line 3
low_pc 0x000000000040065c <__m_MOD_a>
high_pc 0x0000000000400698 <MAIN__>
frame_base location list [ 24]
[ 7b] variable
name "i"
decl_file 1
decl_line 4
type [ 89]
location 2 byte block
[ 0] fbreg -20
[ 89] base_type
byte_size 4
encoding signed (5)
name "integer(kind=4)"
is in the CU (together with MAIN__, but that is not relevant to i in the module
function).
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jan dot kratochvil at redhat
| |dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39073