[RFA Darwin]: Use bfd_mach_o_lookup_command to get interpreter
Joel Brobecker
brobecker@adacore.com
Thu Jul 16 19:49:00 GMT 2009
Hi Tristan,
> 2009-07-06 Tristan Gingold <gingold@adacore.com>
>
> * solib-darwin.c (find_program_interpreter): Simplify the code by
> looking up for the load_dylinker command instead of reading the
> corresponding (but deprecated) section.
> (darwin_solib_create_inferior_hook): Adjust: do not free the
> interpreter path.
That looks great. Go ahead and commit.
Thanks,
--
Joel
More information about the Gdb-patches
mailing list