public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/17905] New: allocated arrays not visible with gdb
@ 2004-10-09  8:41 bdavis at gcc dot gnu dot org
  2004-10-09 14:00 ` [Bug fortran/17905] " tobi at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: bdavis at gcc dot gnu dot org @ 2004-10-09  8:41 UTC (permalink / raw)
  To: gcc-bugs

see the example below along with gdb error.


$ cat g.f90
      program test
      integer,dimension(:),allocatable :: array
      allocate (array(10))
      array(10000000)=8
      end
$ gfc g.f90
$ gdb a.out
GNU gdb 6.2.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library
"/lib/tls/libthread_db.so.1".
 (gdb) break g.f90:3
Breakpoint 1 at 0x80481f8: file g.f90, line 3.
(gdb) run
Starting program: /home/bdavis/a.out
 
Breakpoint 1, MAIN__ () at g.f90:3
3             allocate (array(10))
Current language:  auto; currently fortran
(gdb) whatis array
type = Invalid type code (3) in symbol table.


more info :

http://gcc.gnu.org/ml/fortran/2004-10/msg00069.html

-- 
           Summary: allocated arrays not visible with gdb
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bdavis at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17905


^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <bug-17905-8277@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2007-12-09 22:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-09  8:41 [Bug fortran/17905] New: allocated arrays not visible with gdb bdavis at gcc dot gnu dot org
2004-10-09 14:00 ` [Bug fortran/17905] " tobi at gcc dot gnu dot org
2004-10-09 16:32 ` pinskia at gcc dot gnu dot org
2005-06-30  8:48 ` woodzltc at sources dot redhat dot com
     [not found] <bug-17905-8277@http.gcc.gnu.org/bugzilla/>
2005-10-27 23:27 ` pinskia at gcc dot gnu dot org
2005-10-28  4:42 ` woodzltc at sources dot redhat dot com
2005-10-28 12:04 ` pinskia at gcc dot gnu dot org
2007-11-27  9:55 ` burnus at gcc dot gnu dot org
2007-12-09 22:48 ` burnus at gcc dot gnu dot org

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).