This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC]: Document patch for F90 derived type support


> Date: Tue, 28 Feb 2006 21:51:24 -0500 (EST)
> From: Wu Zhou <woodzltc@cn.ibm.com>
> cc: gdb-patches@sources.redhat.com
> 
> I did some comparison between g77 and gfortran.  In the aspect of the 
> compiler-generated DW_TAG_base_type, g77 uses "byte", "word" and "integer" 
> for "integer*1", "integer*2" and "integer*4" respectively.  And gfortran 
> seems to adopt a new mechanism, it uses "int1", "int2" and "int4" 
> respectively.  So it might also make some sense.  At lease the debugger 
> user can guess the meaning from these words.  :-) 

So you now think that it is not a good idea to display "integer*4"
instead of "int4"?  I thought you previously agreed with me that the
former was better, from the user point of view.

GDB is a debugger.  If it were a program to display DWARF-2 debug
info, then it should have displayed exactly what is written in there.
But as a debugger, it should display something that is sensible to the
user of a debugger, i.e. it needs to speak the programming language of
the source, not DWARF.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]