This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Debugging support - Re: g77 features lacking in gfortran - PR19292
- From: Wu Zhou <woodzltc at cn dot ibm dot com>
- To: Thomas Koenig <Thomas dot Koenig at online dot de>
- Cc: Paul Thomas <paulthomas2 at wanadoo dot fr>, "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>, gdb at sources dot redhat dot com
- Date: Tue, 25 Oct 2005 14:18:33 +0800 (CST)
- Subject: Debugging support - Re: g77 features lacking in gfortran - PR19292
- References: <4359D8DA.10003@wanadoo.fr> <20051022233015.GA6615@meiner.onlinehome.de>
Hi Thomas,
On Sun, 23 Oct 2005, Thomas Koenig wrote:
> On Sat, Oct 22, 2005 at 08:14:50AM +0200, Paul Thomas wrote:
>
> > >22244 dimension information is lost for multi-dimension array -
> > >primarily gdb and optimization problem.
>
> I think that one's fairly important. I wouldn't call debugging
> support OK if you can't look at arrays properly. Unfortunately,
> I don't even have the first idea to where I should start looking to
> fix this...
GDB also has some other problems while working with gfortran, such as the
printing of one-dimensional array, function evaluation, handling of common
block variable and so on...
Some of these problems stems from the DWARF output of gfortran, some lies
in the code of gdb, some might involve both. I has been working on some
of these problem at gdb's side. I am now thinking of whether there are
any specific requirement from gfortran community for GDB. Did any of you
have a big picture about how well gdb work with gfortran? Did you
have a list of things that want GDB to support first? Part of my effort
is to extend gdb's testsuite with reference to gfortran compiler. So I am
very happy to receive any feedback on these. Thanks a lot in advance.
Best Regards
- Wu Zhou