aboutsummaryrefslogtreecommitdiff
path: root/library.h
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-02-18 16:38:05 +0100
committerPetr Machata <pmachata@redhat.com>2012-04-19 01:01:24 +0200
commit29add4fdf852b10ddd22cac0d1390f6d01577bc2 (patch)
tree60684a61964b31ee123a6b02aa71218bf3e42a00 /library.h
parent2b46cfc1127d390eddd9593fe5ce5399c1f68130 (diff)
downloadltrace-29add4fdf852b10ddd22cac0d1390f6d01577bc2.tar.gz
Support bias, display library name on breakpoint
- syscall support very hacky right now
Diffstat (limited to 'library.h')
-rw-r--r--library.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/library.h b/library.h
index 88da6c5..837c727 100644
--- a/library.h
+++ b/library.h
@@ -43,6 +43,7 @@ typedef void *target_address_t;
struct library_symbol {
struct library_symbol *next;
+ struct library *lib;
const char *name;
target_address_t enter_addr;
enum toplt plt_type;
@@ -56,7 +57,7 @@ struct library_symbol {
/* XXX note that we shouldn't use GElf_Addr for ADDR either. The fact
* that Elf is used is a back-end detail. At least ltrace pretends
* that it would like to be cross-platform like that one day. */
-void library_symbol_init(struct library_symbol *libsym,
+void library_symbol_init(struct library_symbol *libsym, struct library *lib,
GElf_Addr addr, const char *name, int own_name,
enum toplt type_of_plt, int is_weak);