Debugging support - Re: g77 features lacking in gfortran - PR19292

Wu Zhou
2005-10-25T16:43:26Z

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