[PATCH 01/10] Standardize darwin's lm_info
Pedro Alves
palves@redhat.com
Fri Apr 28 15:57:00 GMT 2017
On 04/26/2017 11:46 PM, Simon Marchi wrote:
> From: Simon Marchi <simon.marchi@polymtl.ca>
>
> Darwin's lm_info structure is used a little bit differently than the
> other solib implementations. The other implementations first allocate
> an so_list object, then instanciate their specific lm_info structure,
> and assign it to so_list::lm_info.
>
> The Darwin implementation allocates both at the same time
> (darwin_so_list). This patch changes it to be like the others, so that
> we'll be able to do some generalizations later.
Funny, so this port was already "inheriting" from so_list.
LGTM.
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list