aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-12-18 06:19:54 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-12-18 06:19:54 +0000
commit4141a416ddb921e600cf6d28b805f854ef3b60e9 (patch)
tree5cb6c7680fd1a540782a97a22b23c5e8c1deea8f /gdb/objfiles.h
parentc0fc7f8be2d688e3d533e0470c58cc52fa21ef7e (diff)
downloadgdb-4141a416ddb921e600cf6d28b805f854ef3b60e9.zip
gdb-4141a416ddb921e600cf6d28b805f854ef3b60e9.tar.gz
gdb-4141a416ddb921e600cf6d28b805f854ef3b60e9.tar.bz2
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index c794598..27cfd45 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);