public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-jankratochvil-fortran-module2: comments fixes
@ 2010-04-30 17:47 jkratoch
  0 siblings, 0 replies; only message in thread
From: jkratoch @ 2010-04-30 17:47 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-fortran-module2 has been updated
       via  a853d0f7df3003bc3d90e4359a5f1442c3f24fd8 (commit)
      from  788078e7dbeeebfd9f609ab01a2cfa14685c94cd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit a853d0f7df3003bc3d90e4359a5f1442c3f24fd8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 30 19:41:51 2010 +0200

    comments fixes

-----------------------------------------------------------------------

Summary of changes:
 gdb/dwarf2read.c                                  |    8 +++-----
 gdb/testsuite/gdb.fortran/library-module-lib.f90  |    2 +-
 gdb/testsuite/gdb.fortran/library-module-main.f90 |    2 +-
 gdb/testsuite/gdb.fortran/library-module.exp      |    2 +-
 4 files changed, 6 insertions(+), 8 deletions(-)

First 500 lines of diff:
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index a740cb5..b34495f 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -5699,11 +5699,9 @@ read_namespace (struct die_info *die, struct dwarf2_cu *cu)
     }
 }
 
-/* Read a Fortran module as type.
-
-   Modules present only as declarations - being used only for DW_AT_import of
-   DW_TAG_imported_module - are ignored here.  They are read in only in form of
-   the module name by read_fortran_imported_module.  */
+/* Read a Fortran module as type.  This DIE can be only a declaration used for
+   imported module.  Still we need that type as local Fortran "use ... only"
+   declaration imports depend on the created type in determine_prefix.  */
 
 static struct type *
 read_module_type (struct die_info *die, struct dwarf2_cu *cu)
diff --git a/gdb/testsuite/gdb.fortran/library-module-lib.f90 b/gdb/testsuite/gdb.fortran/library-module-lib.f90
index 74ce1d2..68e6c5b 100644
--- a/gdb/testsuite/gdb.fortran/library-module-lib.f90
+++ b/gdb/testsuite/gdb.fortran/library-module-lib.f90
@@ -1,4 +1,4 @@
-! Copyright 2009 Free Software Foundation, Inc.
+! Copyright 2010 Free Software Foundation, Inc.
 ! 
 ! This program is free software; you can redistribute it and/or modify
 ! it under the terms of the GNU General Public License as published by
diff --git a/gdb/testsuite/gdb.fortran/library-module-main.f90 b/gdb/testsuite/gdb.fortran/library-module-main.f90
index efdc15b..b808f4f 100644
--- a/gdb/testsuite/gdb.fortran/library-module-main.f90
+++ b/gdb/testsuite/gdb.fortran/library-module-main.f90
@@ -1,4 +1,4 @@
-! Copyright 2009 Free Software Foundation, Inc.
+! Copyright 2010 Free Software Foundation, Inc.
 ! 
 ! This program is free software; you can redistribute it and/or modify
 ! it under the terms of the GNU General Public License as published by
diff --git a/gdb/testsuite/gdb.fortran/library-module.exp b/gdb/testsuite/gdb.fortran/library-module.exp
index 1e5e60e..2f94302 100644
--- a/gdb/testsuite/gdb.fortran/library-module.exp
+++ b/gdb/testsuite/gdb.fortran/library-module.exp
@@ -1,4 +1,4 @@
-# Copyright 2009 Free Software Foundation, Inc.
+# Copyright 2010 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-30 17:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-30 17:47 [SCM] archer-jankratochvil-fortran-module2: comments fixes jkratoch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).