Subject: gfortran: gdb sees debugging symbols depending on source filename
Package: gfortran
Version: 4:4.1.1-15
Severity: minor

*** Please type your report below this line ***
Depending on how the Fortran source files are named, gdb may or may not find 
the debugging symbols when doing a "list".
Example:

[EMAIL PROTECTED]:~$ cat teste.f
        program teste
        stop
        end program
[EMAIL PROTECTED]:~$ gfortran -g teste.f -o teste
[EMAIL PROTECTED]:~$ gdb teste
GNU gdb 6.4.90-debian
Copyright (C) 2006 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 "x86_64-linux-gnu"...Using host libthread_db library 
"/lib/libthread_db.so.1".

(gdb) list
1       ../sysdeps/x86_64/elf/start.S: Arquivo ou diretório não encontrado.
        in ../sysdeps/x86_64/elf/start.S
(gdb) quit
[EMAIL PROTECTED]:~$ mv teste.f teste.f90
[EMAIL PROTECTED]:~$ gfortran -g teste.f90 -o teste
[EMAIL PROTECTED]:~$ gdb teste
GNU gdb 6.4.90-debian
Copyright (C) 2006 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 "x86_64-linux-gnu"...Using host libthread_db library 
"/lib/libthread_db.so.1".

(gdb) list
1               program teste
2               stop
3               end program
(gdb) quit
[EMAIL PROTECTED]:~$


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (800, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22-3-amd64
Locale: LANG=pt_PT.UTF-8, LC_CTYPE=pt_PT.UTF-8 (charmap=UTF-8)

Versions of packages gfortran depends on:
ii  cpp                           4:4.1.1-15     The GNU C preprocessor (cpp)
ii  gcc                           4:4.1.1-15     The GNU C compiler
ii  gfortran-4.1                  4.1.1-21       The GNU Fortran 95 compiler
ii  gdb                           6.4.90.dfsg-1  The GNU Debugger

gfortran recommends no packages.

-- no debconf information

_________________________________________________________________
Receba GRÁTIS as mensagens do Messenger no seu celular quando você estiver 
offline. Conheça  o MSN Mobile!
http://mobile.live.com/signup/signup2.aspx?lc=pt-br


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to