This is the mail archive of the
archer-commits@sourceware.org
mailing list for the Archer project.
[SCM] archer-jankratochvil-fortran-module: Initial overall FSF ChangeLog commit message.
- From: jkratoch at sourceware dot org
- To: archer-commits at sourceware dot org
- Date: 5 May 2009 22:56:33 -0000
- Subject: [SCM] archer-jankratochvil-fortran-module: Initial overall FSF ChangeLog commit message.
The branch, archer-jankratochvil-fortran-module has been updated
via 14b15e692130d0ee0dbcf7f84fdef465a5f41931 (commit)
from bade8b3e206bbe4c7af8220bb0186d3c85da6bc2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 14b15e692130d0ee0dbcf7f84fdef465a5f41931
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed May 6 00:33:07 2009 +0200
Initial overall FSF ChangeLog commit message.
gdb/
Implement Fortran modules namespaces.
* block.c (allocate_block): Initialize BLOCK_FORTRAN_USE.
* block.h (struct block <fortran_specific>, BLOCK_FORTRAN_USE): New.
* dwarf2read.c: Include block.h and f-lang.h.
(struct dwarf2_cu <language_specific>)
(add_partial_symbol <DW_TAG_module>): New.
(add_partial_module): Call add_partial_symbol, remove children scanning.
(process_die <DW_TAG_imported_module>,
(process_die <DW_TAG_imported_declaration): Call for Fortran CUs
read_fortran_imported_module and read_fortran_imported_declaration
respectively.
(read_func_scope): Intialize CU FORTRAN.USE and BLOCK_FORTRAN_USE.
(read_module): Implement modules reading.
(read_module_type, read_fortran_imported_module)
(read_fortran_imported_declaration): New.
(load_partial_dies): Read also DW_TAG_module.
(new_symbol): Set SYMBOL_LINKAGE_NAME for Fortran symbols from modules.
(new_symbol <DW_TAG_variable> <DW_AT_location> <DW_AT_external>):
Workaround gfortran debug bug.
(new_symbol <DW_TAG_module>, read_type_die <DW_TAG_module>)
(fortran_module_linkage_name): New.
* f-lang.c: Include block.h and gdb_assert.h.
(f_lookup_symbol_nonlocal): New.
(f_language_defn <lookup_symbol_nonlocal>): Use the new function.
* f-lang.h (struct fortran_using): New.
* gdbtypes.h (enum type_code <TYPE_CODE_MODULE>)
(struct main_type <type_specific.module_block, TYPE_MODULE_BLOCK): New.
* symtab.c (symbol_init_language_specific, symbol_natural_name)
(symbol_demangled_name): Use CPLUS_SPECIFIC.DEMANGLED_NAME for Fortran.
* symtab.h (domain_enum <MODULE_DOMAIN>): New.
gdb/testsuite/
* gdb.fortran/library-module.exp, gdb.fortran/library-module-lib.f90,
gdb.fortran/library-module-main.f90: New.
* gdb.fortran/module.f90: Extend the testing for multiple modules.
* gdb.fortran/module.exp: Likewise. Use prepare_for_testing.
-----------------------------------------------------------------------
Summary of changes:
First 500 lines of diff:
hooks/post-receive
--
Repository for Project Archer.