This is the mail archive of the gdb-patches@sources.redhat.com 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: [PATCH] DW_AT_calling_convention support


Petr Sorfa <petrs@caldera.com> writes:
> Ok, during testing I realized that I have to detect DW_AT_calling before
> symbol creation while reading in dies and types (I had this in the
> original patch, but removed it thinking it was redundant.) The main
> reason is to call set_main_name() so that the correct program language
> is determined on program load before execution. set_main_symbol() is now
> called within new_symbol().

Okay, I'll look forward to the patch.

Is checking the calling convention really the approved technique for
recognizing a Fortran entry point in Dwarf 2?  Is it really the case
that Fortran programs always only have one function with this calling
convention?  Would your patch do something sensible if it found more
than one?


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