2012-05-29 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Tue, 29 May 2012 12:59:53 +0000 (12:59 +0000)
committerTristan Gingold <gingold@adacore.com>
Tue, 29 May 2012 12:59:53 +0000 (12:59 +0000)
commitec95993ca4e10b9b3d09f29a8bf48c8da7c7116f
tree292f11e6a72716122a7eeab3496adb8d23b0f4be
parent8bb3cf8baceb49ca3cfc9a788a5187d1361a9a65
2012-05-29  Tristan Gingold  <gingold@adacore.com>

* solib-darwin.c (dyld_all_image_addr, dyld_all_image): Move into...
(struct darwin_info): ... New struct.
(solib_darwin_pspace_data): New variable.
(darwin_pspace_data_cleanup): New function.
(get_darwin_info): Likewise.
(darwin_dyld_version_ok, darwin_load_image_infos)
(darwin_solib_get_all_image_info_addr_at_init)
(darwin_solib_read_all_image_info_addr): Add info argument.
Adjust code.
(darwin_current_sos): Use per pspace structure.
(darwin_solib_create_inferior_hook): Likewise.
(darwin_clear_solib): Likewise.
(_initialize_darwin_solib): Initialize solib_darwin_pspace_data.
gdb/ChangeLog
gdb/solib-darwin.c