This is the mail archive of the gdb@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: The root cause for SEGV in evaluating fortran function call, any solution or suggestion?


On Wed, Nov 09, 2005 at 04:49:09PM -0800, Jim Blandy wrote:
> 
> Daniel Jacobowitz <drow@false.org> writes:
> > On Wed, Nov 02, 2005 at 11:42:36PM -0800, Jim Blandy wrote:
> >> The types in the debug information should not reflect the extra level
> >> of indirection; the fact that they're passed by reference is just part
> >> of the meaning of a Fortran function call.  But the location
> >> expression should encode the extra level of indirection.
> >
> > This seems perfectly sensible to me.  But the example Wu posted earlier
> > does not agree: today gfortran apparently puts out the indirections
> > explicitly.
> 
> You're talking about this, where 'm' is declared as 'integer', right?

Yes, that's what I meant.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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