aboutsummaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-04-15 04:31:34 +0200
committerPetr Machata <pmachata@redhat.com>2012-04-19 01:38:05 +0200
commit24c6e9daa8d89e13c19fc3f9a475ba7913d7d9c8 (patch)
tree547d349cc9fa753037c4e32c561c73833ccbfca1 /common.h
parente8d9076a97f6617868466a99bd18e11e3f6389ac (diff)
downloadltrace-24c6e9daa8d89e13c19fc3f9a475ba7913d7d9c8.tar.gz
Add arch_library_symbol arch hooks, call properly
Diffstat (limited to 'common.h')
-rw-r--r--common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common.h b/common.h
index 5c7ba09..328fd83 100644
--- a/common.h
+++ b/common.h
@@ -237,6 +237,11 @@ int arch_breakpoint_init(struct Process *proc, struct breakpoint *sbp);
void arch_breakpoint_destroy(struct breakpoint *sbp);
int arch_breakpoint_clone(struct breakpoint *retp, struct breakpoint *sbp);
+int arch_library_symbol_init(struct library_symbol *libsym);
+void arch_library_symbol_destroy(struct library_symbol *libsym);
+int arch_library_symbol_clone(struct library_symbol *retp,
+ struct library_symbol *libsym);
+
typedef void *target_address_t;
/* This should extract entry point address and interpreter (dynamic
* linker) bias if possible. Returns 0 if there were no errors, -1