[PATCH 3/3] move the entry point info into the per-bfd object

Tom Tromey tromey@redhat.com
Mon Jan 13 20:51:00 GMT 2014


>>>>> "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



More information about the Gdb-patches mailing list