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: Problems while debugging fortran


[moving to gdb-patches]

> Actually, I was re-reading this thread and I think we can use Wu
> Zhou's patch mentioned before. I've just refreshed it so it applies
> cleanly on CVS head and it's working fine with my Fortran binaries.
> What do you think? Any modifications suggested?


> 2007-10-24  Wu Zhou  <woodzltc@cn.ibm.com>
> 	    Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
> 
> 	* dwarf2read.c (read_partial_die): check the value
> 	of DW_AT_calling_convention in Fortran programs.

This is close to what I had in mind, but I would personally prefer
to limit this to Fortran compilation units.  The semantics of this
attribute value are still a bit unclear, and I'd like us to be cautious
in its usage.

-- 
Joel


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