2011-09-27 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Tue, 27 Sep 2011 15:30:18 +0000 (15:30 +0000)
committerTristan Gingold <gingold@adacore.com>
Tue, 27 Sep 2011 15:30:18 +0000 (15:30 +0000)
commitf00c55f83236fbdbae20f1556dc046bb90975755
tree4627f8b0c096890c78461a77d345853f16643b96
parent6710bf39b7c037de481a4b351fb69cec6b48b138
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.
gdb/ChangeLog
gdb/darwin-nat.c
gdb/solib-darwin.c
gdb/target.h