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



Yep, that's about what I had in mind.  How about:

  set_main_name ()
  set_main_symbol ()
  is_main_symbol ()
    - if a main symbol is set, check if it is the same symbol
    - otherwise, check if it has the same name as passed to
      set_main_name

(with appropriate care for when we change object files.... to one
without a DWARF-2 main symbol, even...)
Just BTW, be open minded (be willing to completly re-think) with set_main_name() et.al. They were added to dress up a hack that came in via java.

Andrew



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