This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Darwin: handle shared libraries in attached processes
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: "gdb-patches at sourceware dot org ml" <gdb-patches at sourceware dot org>
- Date: Tue, 27 Sep 2011 08:20:49 -0700
- Subject: Re: [RFA] Darwin: handle shared libraries in attached processes
- References: <B1C081FF-B91E-4EB2-A3FE-F530547F3904@adacore.com>
> 2011-09-27 Tristan Gingold <gingold@adacore.com>
>
> * target.h (enum target_object): Add TARGET_OBJECT_DARWIN_DYLD_INFO.
> * solib-darwin.c (DYLD_VERSION_MAX): Update number.
> (darwin_solib_get_all_image_info_addr_at_init): New function.
> (darwin_solib_read_all_image_info_addr): Likewise.
> (darwin_solib_create_inferior_hook): Use the above two functions.
> * darwin-nat.c (darwin_execvp): Renames retval to res.
> (darwin_read_write_inferior): Update comment.
> (darwin_read_dyld_info): New function.
> (darwin_xfer_partial): Handle DYLD_INFO.
This patch looks OK to me. Please go ahead and apply.
--
Joel