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: [PATCH 3/3] move the entry point info into the per-bfd object


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> I think this has reached sufficient levels of indirection
Pedro> that if I were writing this, I'd do:
Pedro>   static void
Pedro>   init_entry_point_info (struct objfile *objfile)
Pedro>   {
Pedro> +     struct entry_info *ei = &objfile->per_bfd->ei;
Pedro> and then use ei-> throughout the function instead, like:

Thanks, I made this change.

Tom


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