> Hello,
>
> Unfortunately I cannot debug Fortran 90 programs
> compiled with gfortran using dbx from Sun Studio 11.
> I used various compiling options : -g, -gstabs,
> gdwarf2.
> I am using a machine with Ubuntu linux installed.
We don't actually officially support gfortran. But is there
any reason you don't want to give Sun Studio Fortran a try ?
Thanks,
Roman.
The problem is that I cant see array variables in gdb.
At the Sun web site in says:
Sun Studio 11 software provides a comprehensive,
productive environment for developing applications
using the GNU Compiler Collection (GCC) for the Linux
operating system.
gfortran is part of gcc, so actually it should
work.
I have a Linux system installed, so The Sun Studio 11
Compilers dont work as I understood.
Only Studio express, but I wouldnt change my stable
gfortran.
Thank you
Victor
We are in the middle of porting all our compilers and debuggers
to work using the newer dwarf format for debugging information.
Once we finish moving Sun Fortran to dwarf it will be much easier
for us to support GNU fortran. At the moment, the Sun debugger
can't deal with GNU fortran. I apologize if the web site is misleading,
we support gcc and g++ in the Sun Studio 11 release.
--chris