diff options
author | Petr Machata <pmachata@redhat.com> | 2012-04-04 01:46:18 +0200 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-04-19 01:35:47 +0200 |
commit | b5f80ac8982c40f79915ce1e1cb9bf8650ac5fe7 (patch) | |
tree | 3dfd4a50ac074dbc2ac281b166b318f3b1b988ba /handle_event.c | |
parent | 35c8814db9e7d41811cc4620c1bda084f4ff4c7b (diff) | |
download | ltrace-b5f80ac8982c40f79915ce1e1cb9bf8650ac5fe7.tar.gz |
Don't create PLT symbols that don't match filtering criteria
- instead of creating them, keeping them around, and then just not enabling
breakpoints for them
Diffstat (limited to 'handle_event.c')
-rw-r--r-- | handle_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/handle_event.c b/handle_event.c index 28992d4..c96b9e6 100644 --- a/handle_event.c +++ b/handle_event.c @@ -426,7 +426,7 @@ temporary_syscall_symbol(const char *name) free(syscall); return NULL; } - library_init(syscalls); + library_init(syscalls, (enum library_type)-1); library_set_soname(syscalls, "SYS", 0); library_symbol_init(syscall, 0, name, 0, LS_TOPLT_NONE); library_add_symbol(syscalls, syscall); |