This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] DW_AT_calling_convention support
Hi Jim,
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().
Petr
> > Sorry, so what's the final proposal at this point?
> Implement set_main_symbol(), get_main_symbol(), is_main_symbol() and
> adjust the DWARF code accordingly. I've basically already done this and
> I'm doing testing currently.