diff options
author | Tristan Gingold <gingold@adacore.com> | 2015-11-23 11:45:05 +0100 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2015-11-23 14:52:12 +0100 |
commit | ad2073b0b48e23028ca9b4d348970690d4501933 (patch) | |
tree | a0e1d02709dd1144ef9fb83d3f2cce13c6218abe /gdb/ChangeLog | |
parent | 3eb831e0ca5aa3035845fc039c58c6340fd51c31 (diff) | |
download | gdb-ad2073b0b48e23028ca9b4d348970690d4501933.zip gdb-ad2073b0b48e23028ca9b4d348970690d4501933.tar.gz gdb-ad2073b0b48e23028ca9b4d348970690d4501933.tar.bz2 |
solib-darwin: support PIE for spawned processes.
solib-darwin is now able to read the load address of the executable
before any inferior execution.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 269fdce..6a8592e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,17 @@ 2015-11-23 Tristan Gingold <gingold@adacore.com> + * darwin-nat.c (darwin_read_dyld_info): Write address in + big-endian order. + * solib-darwin.c (darwin_validate_exec_header): New function, + extracted from... + (darwin_read_exec_load_addr_from_dyld): ...here. + (darwin_read_exec_load_addr_at_init): New function. + (darwin_solib_read_all_image_info_addr): Adjust after + darwin_read_dyld_info change. + (darwin_solib_create_inferior_hook): Support PIE. + +2015-11-23 Tristan Gingold <gingold@adacore.com> + * darwin-nat.c (darwin_ptrace): Add a cast to fix warning. (darwin_resume, cancel_breakpoint, _initialize_darwin_inferior): Likewise. |