diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-12-18 06:19:54 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-12-18 06:19:54 +0000 |
commit | 4141a416ddb921e600cf6d28b805f854ef3b60e9 (patch) | |
tree | 5cb6c7680fd1a540782a97a22b23c5e8c1deea8f /gdb/objfiles.h | |
parent | c0fc7f8be2d688e3d533e0470c58cc52fa21ef7e (diff) | |
download | binutils-gdb-4141a416ddb921e600cf6d28b805f854ef3b60e9.tar.gz |
solib-darwin.c: handle PIE when attaching processes.
gdb/ChangeLog:
* solib-darwin.c (darwin_current_sos): Fix indentation.
(darwin_read_exec_load_addr): New function.
(darwin_solib_create_inferior_hook): Rebase executable.
* objfiles.c (objfile_rebase1, objfile_rebase): New functions.
* objfiles.h (objfile_rebase1, objfile_rebase): Add prototypes.
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r-- | gdb/objfiles.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h index c79459805f6..27cfd452dfa 100644 --- a/gdb/objfiles.h +++ b/gdb/objfiles.h @@ -471,6 +471,7 @@ extern struct cleanup *make_cleanup_free_objfile (struct objfile *); extern void free_all_objfiles (void); extern void objfile_relocate (struct objfile *, struct section_offsets *); +extern void objfile_rebase (struct objfile *, CORE_ADDR); extern int objfile_has_partial_symbols (struct objfile *objfile); |