Suggest closing some old pending PRs

Wu Zhou woodzltc@cn.ibm.com
Fri Nov 4 23:26:00 GMT 2005


On Fri, 4 Nov 2005, David Lecomber wrote:

> Hi Wu,
> > - PR 648: Indexing is incorrect for printing elements of multi-dimensional 
> > FORTRAN (g77) array
> > 
> > This is already fixed by David Lecomber patch (at least for DWARF reader).  
> > And I had coded a testcase for that.  Could it get into mainline and gdb-6.4 branch?
> 
> I presume you mean the testcase ?  The actual code has been mainline for
> 18 months at least!

Yes. I mean the testcase.
 
> > - PR 822: Finding 'main' in languages other than C/C++
> > 
> > This PR is opened by Elena.  And I coded an intial patch to let gdb 
> > set fortran main function to "MAIN__", which is used by both g77 and 
> > gfortran.  Although it could not resolve the error completely.  It can let 
> > gdb recoginize that the language is fortran after just loading the binary.
> > Could I get this into the source tree and go on to implement the case 
> > insensitive symbol lookup for Fortran?
> 
> There are other compilers - IBM XLF, Intel IFC, Portland pgf77, and
> Pathscale EKO at the very least -- and I've never been able to find a
> consistent behaviour that worked across the board - regexp or otherwise
> matching!!  

Yes.  It is hard to find a consistent way to handle this. What is the 
situation in C, c++ or other language fields?  Maybe we need a similar 
thing like c++ ABI or something else. If we can't get any input from these 
proprietary compiler, we can only make it work for g77 and gfortran.

Regards
- Wu Zhou



More information about the Gdb-patches mailing list