aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog9
-rw-r--r--debian/control2
-rw-r--r--etc/ltrace.conf4
-rw-r--r--ltrace.spec2
-rw-r--r--process_event.c5
5 files changed, 20 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index d7a3d91..a41faca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+ltrace (0.3.16) unstable; urgency=low
+
+ * ltrace works again after an execve is received (closes: Bug#108835)
+ * Added prototypes for fnmatch() and bsearch() (closes: Bug#106862)
+ * Re-wrote short description so it does not exceed 60 chars
+ (closes: Bug#114682)
+
+ -- Juan Cespedes <cespedes@debian.org> Mon, 10 Dec 2001 04:11:26 +0100
+
ltrace (0.3.15) unstable; urgency=low
* Fixed `-n' option so that it displays correct output even when
diff --git a/debian/control b/debian/control
index 341eeaa..deb5c06 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends: binutils-dev
Package: ltrace
Architecture: i386 arm m68k
Depends: ${shlibs:Depends}
-Description: Shows runtime library call information for dynamically linked executables
+Description: Shows runtime library calls in dynamically linked programs
ltrace is a program that simply runs the specified command until it exits.
It intercepts and records the dynamic library calls which are called by
the executed process and the signals which are received by that process.
diff --git a/etc/ltrace.conf b/etc/ltrace.conf
index ba74ba1..5026a43 100644
--- a/etc/ltrace.conf
+++ b/etc/ltrace.conf
@@ -53,6 +53,9 @@ addr __errno_location(void);
; fcntl.h
int open(string,int,octal); ; WARNING: 3rd argument may not be there
+; fnmatch.h
+int fnmatch(string, string, int);
+
; getopt.h
int getopt_long(int,addr,string,addr,addr);
int getopt_long_only(int,addr,string,addr,addr);
@@ -134,6 +137,7 @@ int vsnprintf(+string2,int,string,addr);
; stdlib.h
int __strtol_internal(string,addr,int);
int atexit(addr);
+addr bsearch(string, addr, uint, uint, addr);
addr calloc(uint, uint);
void exit(int);
void free(addr);
diff --git a/ltrace.spec b/ltrace.spec
index 3242a25..eb43541 100644
--- a/ltrace.spec
+++ b/ltrace.spec
@@ -1,6 +1,6 @@
Summary: Shows runtime library call information for dynamically linked executables
Name: ltrace
-%define version 0.3.15
+%define version 0.3.16
Version: %{version}
Release: 1
Source: ftp://ftp.debian.org/debian/dists/unstable/main/source/utils/ltrace_%{version}.tar.gz
diff --git a/process_event.c b/process_event.c
index 5dfad00..a4ee35b 100644
--- a/process_event.c
+++ b/process_event.c
@@ -178,12 +178,17 @@ process_sysret(struct event * event) {
event->proc->filename = pid2name(event->proc->pid);
event->proc->list_of_symbols = read_elf(event->proc->filename);
+ /* This should fix Bug#108835 : */
+#if 0
sym = event->proc->list_of_symbols;
while (sym) {
insert_breakpoint(event->proc, sym->enter_addr);
sym = sym->next;
}
event->proc->breakpoints_enabled = 1;
+#else
+ event->proc->breakpoints_enabled = -1;
+#endif
}
}
if (fork_p(event->e_un.sysnum)) {