diffstat for ltrace_0.5.3-2.1 ltrace_0.5.3-2.1ubuntu3 ChangeLog | 4 debian/control.in | 6 - debian/rules | 4 ltrace-0.5.3/debian/changelog | 139 ++++++++++++++++++++++++++++++- ltrace-0.5.3/debian/control | 7 - ltrace-0.5.3/sysdeps/linux-gnu/ppc/plt.c | 1 sysdeps/linux-gnu/arm/trace.c | 3 sysdeps/linux-gnu/trace.c | 5 + 8 files changed, 162 insertions(+), 7 deletions(-) diff -u ltrace-0.5.3/sysdeps/linux-gnu/ppc/plt.c ltrace-0.5.3/sysdeps/linux-gnu/ppc/plt.c --- ltrace-0.5.3/sysdeps/linux-gnu/ppc/plt.c +++ ltrace-0.5.3/sysdeps/linux-gnu/ppc/plt.c @@ -1,3 +1,4 @@ +#include #include #include #include "common.h" diff -u ltrace-0.5.3/debian/changelog ltrace-0.5.3/debian/changelog --- ltrace-0.5.3/debian/changelog +++ ltrace-0.5.3/debian/changelog @@ -1,3 +1,29 @@ +ltrace (0.5.3-2.1ubuntu3) quantal; urgency=low + + * Rebuild for new armel compiler default of ARMv5t. + + -- Colin Watson Tue, 02 Oct 2012 16:36:36 +0100 + +ltrace (0.5.3-2.1ubuntu2) precise; urgency=low + + * Build for armhf. + + -- Matthias Klose Mon, 05 Dec 2011 16:43:20 +0100 + +ltrace (0.5.3-2.1ubuntu1) natty; urgency=low + + * Merge with Debian; remaining changes: + - Fix ARM syscall_p to handle Thumb-2 mode (Zach Welch). LP: #639796. + - sysdeps/linux-gnu/trace.c: adjust sysctl hint to include new yama path. + - sysdeps/linux-gnu/trace.c: try to make PTRACE scope sysctl more + discoverable. + - Use libelf-dev instead of libelfg0-dev + - Define _LARGEFILE_SOURCE and _LARGEFILE64_SOURCE in debian/rules CFLAGS. + The configure script has a bug where it can't properly cope with the need + to define these before detecting the use of elfutils. + + -- Matthias Klose Wed, 24 Nov 2010 17:58:11 +0100 + ltrace (0.5.3-2.1) unstable; urgency=low * Non-maintainer upload. @@ -6,6 +32,49 @@ -- Jakub Wilk Sun, 02 May 2010 10:27:16 +0200 +ltrace (0.5.3-2ubuntu6) maverick; urgency=low + + * Fix ARM syscall_p to handle Thumb-2 mode (Zach Welch). LP: #639796. + + -- Matthias Klose Fri, 01 Oct 2010 16:06:14 +0200 + +ltrace (0.5.3-2ubuntu5) maverick; urgency=low + + * sysdeps/linux-gnu/trace.c: adjust sysctl hint to include new yama path. + + -- Kees Cook Tue, 06 Jul 2010 15:18:57 -0700 + +ltrace (0.5.3-2ubuntu4) maverick; urgency=low + + * sysdeps/linux-gnu/trace.c: try to make PTRACE scope sysctl more + discoverable. + + -- Kees Cook Wed, 09 Jun 2010 16:49:53 -0700 + +ltrace (0.5.3-2ubuntu3) lucid; urgency=low + + * rebuild rest of main for armel armv7/thumb2 optimization; + UbuntuSpec:mobile-lucid-arm-gcc-v7-thumb2 + + -- Alexander Sack Sun, 07 Mar 2010 00:56:41 +0100 + +ltrace (0.5.3-2ubuntu2) karmic; urgency=low + + * sysdeps/linux-gnu/ppc/plt.c: Include . + + -- Matthias Klose Sun, 27 Sep 2009 14:05:50 +0200 + +ltrace (0.5.3-2ubuntu1) karmic; urgency=low + + * Merge from debian unstable, remaining changes: LP: #404856 + - Add lpia to architecture list. + - Use libelf-dev instead of libelfg0-dev + - Define _LARGEFILE_SOURCE and _LARGEFILE64_SOURCE in debian/rules CFLAGS. + The configure script has a bug where it can't properly cope with the need + to define these before detecting the use of elfutils. + + -- Bhavani Shankar Tue, 28 Jul 2009 16:44:35 +0530 + ltrace (0.5.3-2) unstable; urgency=low * Fixed compilation problems in armel, ia64 and powerpc (closes: Bug#538441) @@ -19,6 +88,17 @@ -- Juan Cespedes Sat, 25 Jul 2009 16:24:38 +0200 +ltrace (0.5.2-2ubuntu1) karmic; urgency=low + + * Merge from debian unstable, remaining changes: + - Add lpia to architecture list. + - Use libelf-dev instead of libelfg0-dev + - Define _LARGEFILE_SOURCE and _LARGEFILE64_SOURCE in debian/rules CFLAGS. + The configure script has a bug where it can't properly cope with the need + to define these before detecting the use of elfutils. + + -- Michael Vogt Wed, 03 Jun 2009 11:03:35 +0200 + ltrace (0.5.2-2) unstable; urgency=low * Make clone() work when child starts after parent finishes @@ -35,6 +115,23 @@ -- Juan Cespedes Thu, 21 May 2009 19:16:22 +0200 +ltrace (0.5.1-2ubuntu1) jaunty; urgency=low + + [ Bhavani Shankar ] + * Merge from debian unstable, remaining changes: LP: #313530 + - Add lpia to architecture list. + - Use libelf-dev instead of libelfg0-dev + - Define _LARGEFILE_SOURCE and _LARGEFILE64_SOURCE in debian/rules CFLAGS. + The configure script has a bug where it can't properly cope with the need + to define these before detecting the use of elfutils. + + [ Colin Watson ] + * Remove stray dpatch build-dependency. + * Change libelfg0-dev to libelf-dev in debian/control.in as well as in + debian/control. + + -- Bhavani Shankar Tue, 06 Jan 2009 17:46:28 +0000 + ltrace (0.5.1-2) unstable; urgency=low * Red-added armel and armeb to debian/control (closes: Bug#463023) @@ -50,6 +147,23 @@ -- Juan Cespedes Wed, 10 Dec 2008 18:41:20 +0100 +ltrace (0.5-3.1ubuntu2) intrepid; urgency=low + + * Use libelf-dev instead of libelfg0-dev + * Define _LARGEFILE_SOURCE and _LARGEFILE64_SOURCE in debian/rules CFLAGS. + The configure script has a bug where it can't properly cope with the need + to define these before detecting the use of elfutils. + + -- Ben Collins Wed, 02 Jul 2008 11:10:41 -0400 + +ltrace (0.5-3.1ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + - Add lpia to architecture list. + - Fix check for host_os in configure. + + -- Michael Vogt Tue, 27 May 2008 10:51:22 +0200 + ltrace (0.5-3.1) unstable; urgency=low * Non-maintainer upload. @@ -65,6 +179,15 @@ -- Riku Voipio Tue, 29 Jan 2008 00:26:50 +0200 +ltrace (0.5-3ubuntu1) hardy; urgency=low + + * Merge from debian unstable, remaining changes: + - Add lpia to architecture list. + - Set Ubuntu maintainer address. + - Fix check for host_os in configure. + + -- Michael Vogt Thu, 15 Nov 2007 12:47:01 +0100 + ltrace (0.5-3) unstable; urgency=low * Really fix compilation problems in ppc (!) @@ -93,6 +216,19 @@ -- Juan Cespedes Tue, 07 Aug 2007 11:49:27 +0200 +ltrace (0.4-1ubuntu2) gutsy; urgency=low + + * Fix check for host_os in configure. + + -- Matthias Klose Tue, 31 Jul 2007 08:13:07 +0000 + +ltrace (0.4-1ubuntu1) gutsy; urgency=low + + * Add lpia to architecture list. + * Set Ubuntu maintainer address. + + -- Matthias Klose Mon, 30 Jul 2007 23:56:37 +0200 + ltrace (0.4-1) unstable; urgency=low * Rebase code from Redhat patches, now everything lives in SVN @@ -197,7 +333,7 @@ + Added alpha support -- Juan Cespedes Mon, 14 Jun 2004 18:01:12 +0200 - + ltrace (0.3.32) unstable; urgency=low * Fixed wrong version number @@ -666,0 +803 @@ + diff -u ltrace-0.5.3/debian/control ltrace-0.5.3/debian/control --- ltrace-0.5.3/debian/control +++ ltrace-0.5.3/debian/control @@ -1,12 +1,13 @@ Source: ltrace Section: utils Priority: optional -Maintainer: Juan Cespedes +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Juan Cespedes Standards-Version: 3.8.2 -Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), binutils-dev, libelfg0-dev +Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), binutils-dev, libelf-dev Package: ltrace -Architecture: i386 arm armeb armel m68k s390 powerpc sparc alpha amd64 ia64 ppc64 +Architecture: i386 arm armeb armel armhf m68k s390 powerpc sparc alpha amd64 ia64 ppc64 Depends: ${shlibs:Depends}, ${misc:Depends} Description: Tracks runtime library calls in dynamically linked programs ltrace is a debugging program which runs a specified command until it only in patch2: unchanged: --- ltrace-0.5.3.orig/ChangeLog +++ ltrace-0.5.3/ChangeLog @@ -1,3 +1,7 @@ +2010-09-30 Zach Welch + + * Improve ARM syscall_p to handle Thumb-2 syscalls. + 2009-07-25 Juan Cespedes * New release 0.5.3 only in patch2: unchanged: --- ltrace-0.5.3.orig/debian/control.in +++ ltrace-0.5.3/debian/control.in @@ -1,12 +1,14 @@ Source: ltrace Section: utils Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Juan Cespedes Maintainer: Juan Cespedes Standards-Version: 3.8.2 -Build-Depends: @cdbs@, binutils-dev, libelfg0-dev +Build-Depends: @cdbs@, binutils-dev, libelf-dev Package: ltrace -Architecture: i386 arm armeb armel m68k s390 powerpc sparc alpha amd64 ia64 ppc64 +Architecture: i386 arm armeb armel armhf m68k s390 powerpc sparc alpha amd64 ia64 ppc64 Depends: ${shlibs:Depends}, ${misc:Depends} Description: Tracks runtime library calls in dynamically linked programs ltrace is a debugging program which runs a specified command until it only in patch2: unchanged: --- ltrace-0.5.3.orig/debian/rules +++ ltrace-0.5.3/debian/rules @@ -1,5 +1,9 @@ #!/usr/bin/make -f +# The configure logic for this is backwards. We need this before checking +# for elfutils (ELF_C_READ_MMAP) +CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE + include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk only in patch2: unchanged: --- ltrace-0.5.3.orig/sysdeps/linux-gnu/trace.c +++ ltrace-0.5.3/sysdeps/linux-gnu/trace.c @@ -72,6 +72,11 @@ trace_pid(pid_t pid) { debug(DEBUG_PROCESS, "trace_pid: pid=%d\n", pid); if (ptrace(PTRACE_ATTACH, pid, 1, 0) < 0) { + if (errno == EPERM) + fprintf(stderr, + "Could not attach to process. If your uid matches the uid of the target\n" + "process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try\n" + "again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf\n"); return -1; } only in patch2: unchanged: --- ltrace-0.5.3.orig/sysdeps/linux-gnu/arm/trace.c +++ ltrace-0.5.3/sysdeps/linux-gnu/arm/trace.c @@ -49,7 +49,8 @@ int insn = ptrace(PTRACE_PEEKTEXT, proc->pid, pc - 4, 0); int ip = ptrace(PTRACE_PEEKUSER, proc->pid, off_ip, 0); - if (insn == 0xef000000 || insn == 0x0f000000) { + if (insn == 0xef000000 || insn == 0x0f000000 + || (insn & 0xffff0000) == 0xdf000000) { /* EABI syscall */ *sysnum = ptrace(PTRACE_PEEKUSER, proc->pid, off_r7, 0); } else if ((insn & 0xfff00000) == 0xef900000) {