solib-darwin: simplify code.
authorTristan Gingold <tristan.gingold@adacore.com>
Fri, 18 Apr 2014 09:03:46 +0000 (11:03 +0200)
committerTristan Gingold <tristan.gingold@adacore.com>
Fri, 18 Apr 2014 09:03:46 +0000 (11:03 +0200)
commit1bdad2e0421a56e16c0f4623e6320e1225cbe5ee
tree95fabe7f4e9c683076656a1e6619aa90e202f02b
parent4384b28422294779be111ac24fb34fb6bfe57b32
solib-darwin: simplify code.

Use bfd_mach_o_get_base_address to extract load address.

gdb/
* solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
code by using bfd_mach_o_get_base_address.
gdb/ChangeLog
gdb/solib-darwin.c