9e33f5ac1037adeb32e9d693e6555967e9be68a6 |
05-Nov-2013 |
Petr Machata <pmachata@redhat.com> |
Fix compilation on ARM - This was broken several commits back by removing pltrel from struct ltelf.
rch.h
lt.c
|
1383e5bd876baa123b39210c2210d256bcfa5bec |
05-Nov-2013 |
Petr Machata <pmachata@redhat.com> |
In ARM backend, move hooks for ltrace_elf and library to plt.c - That's the customary location for backend hooks.
etch.c
lt.c
|
7287166e8fd5949ffcf8eb1f3d378b5ea538915e |
11-Oct-2013 |
Petr Machata <pmachata@redhat.com> |
arch_library_init and arch_library_clone should be able to signal failure - This then trickles to library_init, which needs to return int - Callers of library_init were updated to unroll their transactions upon failure - PPC and ARM backends were updated to match the updated interface
etch.c
|
f25af517a06521f69fbc53eaf3c245a7a2298c75 |
06-Feb-2013 |
Petr Machata <pmachata@redhat.com> |
ARM cleanups
egs.c
egs.h
race.c
|
8a7a9f59e75c8605ca8206294b7729d0fd70f11f |
06-Feb-2013 |
Petr Machata <pmachata@redhat.com> |
ARM: Stack slot is always aligned to at least 4 bytes
etch.c
|
88a0fe50a3fad351cf28ef3902dbd0dd3540735c |
06-Feb-2013 |
Petr Machata <pmachata@redhat.com> |
VFP shouldn't be used for parameter passing in vararg functions on ARM
rch.h
etch.c
|
2a102987aa3583449e6bf56060bf5c8129ee8cd2 |
06-Feb-2013 |
Petr Machata <pmachata@redhat.com> |
Simplify the code for ARM parameter passing
etch.c
|
1c8596d41dde12f9af6a21035fac0c64f428ab76 |
06-Feb-2013 |
Petr Machata <pmachata@redhat.com> |
Implement VFP parameter passing for ARM backend
etch.c
|
62fc7747d37cacfb21381961674c07ebab5f2fb9 |
05-Feb-2013 |
Petr Machata <pmachata@redhat.com> |
Implement Base Procedure Call Standard for ARM arch_fetch_arg_next still doesn't support "hardfp" extensions, but much of the test suite is now clean, with only 16 failures left.
etch.c
|
97a25160b0fe646d9c567e12c5abefe8e59873c2 |
05-Feb-2013 |
Petr Machata <pmachata@redhat.com> |
Add ARM fetch backend This only properly decodes float and double return values. More to come.
etch.c
race.c
|
df7d23111899c1e1aa16bad83e0db0a8334b11d9 |
05-Feb-2013 |
Petr Machata <pmachata@redhat.com> |
Implement decoding ARM attribute section This to determine whether hardfp is used in the process.
akefile.am
rch.h
etch.c
|
427a43ee9972763993a1241815d56921f30623ef |
05-Feb-2013 |
Petr Machata <pmachata@redhat.com> |
Add arch_type_sizeof, arch_type_alignof to ARM backend
rch.h
race.c
|
f9d93c50bd246ea7fd42e0c8ad24aa01467e76ac |
30-Jan-2013 |
Petr Machata <pmachata@redhat.com> |
Fix tracing Thumb mode on ARM - Drop what amounts to global variable thumb_mode from struct process - Thumb mode is encoded to address. That means that the code in callstack_push_symfunc and insert_breakpoint has to assume that what comes from get_return_address is mangled, and needs to go through creating the breakpoint and then looking at its address. That's awkward, and we should come up with a better API.
reakpoint.c
egs.c
|
44ae188c8dcd2727e383dcac0d46c3f784d0da5f |
30-Jan-2013 |
Petr Machata <pmachata@redhat.com> |
Drop set_return_addr - This is currently not used anywhere, so it is safe to assume that it is broken anyway.
egs.c
|
037f37c72e252b05c59e53826d5007d24d54ac74 |
23-Jan-2013 |
Petr Machata <pmachata@redhat.com> |
More ARM Thumb support Still not all of the GDB code ported. Some threading test cases still fail.
egs.h
race.c
|
d4a5447503b7bddfb6d7667747ee1eedd20ae491 |
21-Jan-2013 |
Petr Machata <pmachata@redhat.com> |
Early support for Thumb This ignores 32-bit Thumb-2 instructions, and is very limited in what it supports in Thumb, but it's a start.
egs.h
race.c
|
7aa7b404588184ef9a45eeafbfc5ef4afc7fbf82 |
21-Jan-2013 |
Petr Machata <pmachata@redhat.com> |
More ARM software singlestepping support This should be about done, sans bugfixes. Thumb to come next.
race.c
|
6b9664af2e87596055eaab59492e79bfd1527dab |
21-Jan-2013 |
Petr Machata <pmachata@redhat.com> |
ptrace takes void* arguments This might be relevant on Android.
egs.c
|
9fa2b1850e664aa70a9559e41befca1a5975f08c |
18-Jan-2013 |
Petr Machata <pmachata@redhat.com> |
Port more of the GDB code for ARM singlestepping - Not even whole ARM is supported yet, and what is there isn't tested. Thumb is not supported at all as of now.
akefile.am
egs.c
egs.h
race.c
|
19e74b5815987bb4260351bc1e5ef4a1ea08b1b4 |
17-Jan-2013 |
Petr Machata <pmachata@redhat.com> |
Initial support for software singlestepping on ARM - This only knows about branch instructions, it doesn't handle long branches. - This also doesn't handle thumb mode at all.
rch.h
race.c
|
929bd57ca202fd2f2e8485ebf65d683e664f67b5 |
17-Dec-2012 |
Petr Machata <pmachata@redhat.com> |
struct Process becomes struct process This is for consistency with other structures, and ultimately with Linux coding style. The typedef ("Process") was dropped as well for this reason. This opportunity was used to fix coding style around the impacted lines.
reakpoint.c
lt.c
egs.c
race.c
|
e99af270a60891e68d465c4cd97dbe29cd1a05e4 |
26-Oct-2012 |
Petr Machata <pmachata@redhat.com> |
Update copyright information and license headers
akefile.am
rch_syscallent.h
lt.c
trace.h
egs.c
ignalent.h
yscallent.h
race.c
|
bac2da505ee174b7fb984b975c5938f88f0dbab2 |
29-May-2012 |
Petr Machata <pmachata@redhat.com> |
Move target_address_t to arch.h, rename to arch_addr_t Note that the placement under arch.h is currently conceptual only. Since no backend defines ARCH_HAVE_ADDRESS_TYPES, it's actually in sysdep.h in all cases.
reakpoint.c
|
d5285b23e7e515ccb6afdb82fae32a608bb28a2f |
09-Jan-2012 |
Petr Machata <pmachata@redhat.com> |
Declare endianess in arch.h of each architecture
rch.h
|
97f13e3fca546aa292ba5d8aa6011338e64f2f7a |
06-Jan-2012 |
Petr Machata <pmachata@redhat.com> |
Drop unused interfaces save_register_args, struct stack_element.arch_ptr
race.c
|
000e31195ad4ad30a0c80c93ab57a424e7d8d918 |
03-Jan-2012 |
Petr Machata <pmachata@redhat.com> |
Add type.c/.h, value.c/.h, value_dict.c/.h - none of this is plugged in yet - expr.c/.h is not in yet, so we still express array length with len_spec integer. Some function are mocked out so the thing compiles
race.c
|
c897cb796dc4a7d256cbfbf0137ef7cdff9e8ece |
05-May-2012 |
Petr Machata <pmachata@redhat.com> |
Fix build on android, which requires that ptrace data and addr are void * Also, for several requests that ignore addr, we pass 1. Change these back to 0. This patch is largely based on work by Florian Echtler <floe@butterbrot.org>.
reakpoint.c
egs.c
race.c
|
c0ab28673d03bdf8f264556bde0d3806ea062322 |
05-May-2012 |
Petr Machata <pmachata@redhat.com> |
Fix compilation of ARM back end
reakpoint.c
lt.c
|
d3cc9889fdfe2e523e99ca5f664f8ae4b3936612 |
13-Apr-2012 |
Petr Machata <pmachata@redhat.com> |
Fix breakpoint cloning
reakpoint.c
|
8cce1193ebd35cb5a8b288bc7325cdda1b8ffe50 |
25-Mar-2012 |
Petr Machata <pmachata@redhat.com> |
Add arch_breakpoint_destroy as a counterpart to arch_breakpoint_init - even though we don't destroy breakpoints at all right now
reakpoint.c
|
2b46cfc1127d390eddd9593fe5ce5399c1f68130 |
18-Feb-2012 |
Petr Machata <pmachata@redhat.com> |
The first crude version of tracing across libraries - the patch will be sliced later
rch.h
reakpoint.c
egs.c
|
366c2f46d844f040458df9b7e35fc3b8527ed2d3 |
09-Feb-2012 |
Petr Machata <pmachata@redhat.com> |
Move process-related functions and structures to proc.h
lt.c
egs.c
race.c
|
bc37326ace5c70e57928c000162cffbcca9afb77 |
07-Feb-2012 |
Petr Machata <pmachata@redhat.com> |
Remove Breakpoint typedef
reakpoint.c
|
c46448f4e5a4c124fbc75ca9b14697212e676893 |
07-Mar-2011 |
Michael K. Edwards <m.k.edwards@gmail.com> |
fix type punning in ARM arch_(dis|en)able_breakpoint
reakpoint.c
|
ba6aca21bd9e0e66dac17b1828cf6b6e7377b983 |
09-Dec-2010 |
Zachary T Welch <zwelch@codesourcery.com> |
Fix building with --enable-debug Numerous warnings had snuck into the build, preventing ltrace from building with --enable-debug (which uses -Wall, -Werror, and more). This patch fixes the problems, mostly caused by -Wsign-compare. Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
race.c
|
5117edacf42e945992def8adb9f7110d14b1fc1f |
03-Feb-2010 |
Marc Kleine-Budde <mkl@pengutronix.de> |
autotoolization: remove to-be generated file This patch remove all files that will be autogenerated by the autoools from the tree. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
akefile
|
584929c4409d55c3483caca7bdf6ba85f5b20f14 |
03-Feb-2010 |
Marc Kleine-Budde <mkl@pengutronix.de> |
autotoolization: add basic autotools infrastructure This patch add a basic autotools infrastructure to ltrace. Native compilation on i386, x86_64 and ppc. Cross compilation has been tested against arm. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
akefile.am
|
d568f51920d5b2e0813cb5bb7e3cca10fc404623 |
08-Oct-2010 |
Zach Welch <zwelch@codesourcery.com> |
Fix ARM PLT lookups. An ARM PLT may not contain fixed-length records, because Thumb stubs may be added to provide interworking. These changes ensure the breakpoint gets set on the ARM portion of PLT entries while skipping any Thumb stubs that may be present. This patch makes the testsuite work when built for ARMv7a and Thumb-2. Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
lt.c
|
ee87a9a06960ba44b2ff980a366b222ae0e3b6b3 |
08-Oct-2010 |
Zachary T Welch <zwelch@codesourcery.com> |
Ensure ARM PC sets Thumb mode. The low bit of the PC must contain the Thumb mode state. Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
egs.c
|
e280a5e51b72825ab3234c532f832cd64695bc1e |
01-Oct-2010 |
Zach Welch <zwelch@codesourcery.com> |
Identify ARM syscalls in Thumb-2 mode. Tested on IGEP v2 board. Fixes LP:639796. Signed-off-by: Zach Welch <zwelch@codesourcery.com>
race.c
|
32e8e76f492a48ee3e6284e237f958b71d4d3e71 |
08-Jan-2010 |
Arnaud Patard <apatard@mandriva.com> |
arm/trace.c: syscall_p fix return value if unexpected instruction In the case of unexpected instruction, syscall_p was returning -1 which means errors. Unfornatunately, one may get there for valid reasons (bug triggered by attach_process test case). Better return 0 (not a syscall) Signed-off-by: Arnaud Patard <apatard@mandriva.com>
race.c
|
a7af00db2231e99a4506e4f5587f9dd00b9d1175 |
26-Jul-2009 |
Juan Cespedes <cespedes@thehackers.org> |
Fixed compilation problems in armel, ia64 and powerpc
reakpoint.c
|
f670eea50e959eeb9da53d70cad8d43c19494ef0 |
25-Jul-2009 |
Juan Cespedes <cespedes@coco.thehackers.org> |
Finally got rid of GNU's Autoconf stuff
egs.c
race.c
|
2a61d19bd244dadcde5009f1632cf14b95623e3d |
04-Jul-2009 |
Juan Cespedes <cespedes@coco.thehackers.org> |
Added set_return_addr() to sysdeps/linux-gnu/*/regs.c
lt.c
egs.c
|
f728123bd75a65a6a1536e198c3c30719e494e71 |
25-Jun-2009 |
Juan Cespedes <cespedes@debian.org> |
Re-organize file names
lt.c
egs.c
race.c
|
3df476b28e4a9cdb43cf29fff8e89481310eb30d |
28-May-2009 |
Juan Cespedes <cespedes@debian.org> |
Created library "libltrace.a" and a simple program that calls it
lt.c
egs.c
race.c
|
1dec217e47f998c03c642561d98753c32683985c |
07-May-2009 |
Juan Cespedes <cespedes@debian.org> |
struct breakpoint -> Breakpoint
reakpoint.c
|
a8909f71e1421949c960f287217be6c42c286c0f |
28-Apr-2009 |
Juan Cespedes <cespedes@coco.thehackers.org> |
struct process -> Process
lt.c
egs.c
race.c
|
f13505251e6402460f6cc7ec84e0d8ca91607b4f |
16-Dec-2008 |
Juan Cespedes <cespedes@debian.org> |
Re-indent entry points to functions
reakpoint.c
lt.c
egs.c
race.c
|
63184be8c577f5799e44db2a4e312a8240ad7751 |
10-Dec-2008 |
Juan Cespedes <cespedes@debian.org> |
Patches from Anderson Lizardo and Riku Voipio to reach Debian version 0.5-3.1 * Add generic support for arm targets * Save funtion arguments on arm * Add thumb instruction support * Add basic arm/eabi support * fix exec() testcase cleanup * fix memory corruption in clone() test * fix tracing child with "-p" option
akefile
rch.h
rch_syscallent.h
reakpoint.c
trace.h
egs.c
race.c
|
a413e5b8880de643a83ad124d078091c0956fe1d |
04-Sep-2007 |
Juan Cespedes <cespedes@debian.org> |
Take arg_num out of arg_type_info
race.c
|
65b53df7fa2577c4138aef86c115873eab684a0a |
25-Sep-2006 |
Steve Fink <sphink@gmail.com> |
Large IA64 fix... * display_args.c: store arg_num in arg_type_info * display_args.c: support 'double' parameters * display_args.c: fix implementation of float,double params for ia64 * output.c, process_event.c: store arg_num in arg_type_info * read_config_file.c: support 'double' parameters * read_config_file.c: store arg_num in arg_type_info, and as a result, stop using singleton objects for any of the arg_type_info's. * read_config_file.c: improve support for struct field alignments * read_config_file.c: count floating-point parameters to support ia64 float parameter passing * sysdeps/README, sysdeps/linux-gnu/*/trace.c: pass in the full arg_type_info to gimme_arg rather than just the arg_num (necessary for float params on some architectures) * sysdeps/linux-gnu/ia64/trace.c: accommodate register renaming when fetching the parameters of a function after it has returned * sysdeps/linux-gnu/ia64/trace.c: support floating point parameters
race.c
|
c53309ef99c205a2e9ae7ccbdf6557adcd52d24e |
19-Jun-2006 |
Ian Wienand <ianw@ieee.org> |
Version 0.5 update syscalls to 2.6.17
ignalent.h
yscallent.h
|
76c61f15d7989bf7adffed2e46a44c34a80bd927 |
14-Jun-2006 |
Paul Gilliam <pgilliam@us.ibm.com> |
Added Paul Gilliam's secure PLT patch
lt.c
|
be3207721cb07e7d01a81fb3beecd0327201478c |
24-Apr-2006 |
Paul Gilliam <pgilliam@us.ibm.com> |
Use e_entry if "_start" can't be found on architectures where it is needed
rch.h
|
2d45b1a8e26a36a9f85dc49e721c4390ca93dc40 |
20-Feb-2006 |
Ian Wienand <ianw@ieee.org> |
run Lindent over source to get everything looking about the same
lt.c
egs.c
ignalent.h
yscallent.h
race.c
|
9a2ad351a1c3215dc596ff3e2e3fd4bc24445a6b |
20-Feb-2006 |
Ian Wienand <ianw@ieee.org> |
Switched to SVN (initial import)
rch.h
lt.c
egs.c
race.c
|
3219f320604810532a4938dda8f9dfadb0e840f3 |
16-Feb-2006 |
Ian Wienand <ianw@ieee.org> |
Some fixes... * read_config_file.c: initialise pt stack argument to stop warning * summary.c: make show_summary() obey -C for demangaling function names
lt.c
egs.c
race.c
|
d914a206a11cc1011a45f00674b1e16988fae77f |
10-Nov-2004 |
Juan Cespedes <cespedes@debian.org> |
Version: 0.3.36 * Fixed "--indent" option * Got rid of Debian and RedHat specific parts in tarball
akefile
rch.h
lt.c
|
948a5d077939939dc086c0d0d199ff2f22706eea |
07-Jul-2004 |
Juan Cespedes <cespedes@debian.org> |
Version 0.3.34 * Fixed prototype declaration problem in arm, m68k, powerpc, s390 * Added "amd64" to list of architectures (closes: Bug#252756) * Sparc port is hopefully working (closes: Bug#35524)
egs.c
|
5c3fe0697b202cc7d95e90459de0fb312b297b27 |
14-Jun-2004 |
Juan Cespedes <cespedes@debian.org> |
Version 0.3.33 * Fixed two bugs, thanks to Mauro Meneghin <G1ld0@lycos.it>: + Cope correctly with breakpoint values greater than sizeof(long) bytes + Fixed small bug in option -r (closes: Bug#212792) * Show help if no (or few) arguments are given, just like strace and fenris (thanks, Tomasz Wegrzanowski <taw@users.sf.net>) * Some fixes from Jakub Bogusz <qboosh@pld-linux.org>: + Small 64-bit cleanup of code + support for more than 6 function arguments on amd64 + Adapted SPARC port from Jakub Jelinek <jakub@redhat.com> + Added alpha support
trace.h
egs.c
race.c
|
efe85f0668a077b1e851df4b3f87a380cf2269fd |
04-Apr-2004 |
Juan Cespedes <cespedes@debian.org> |
Version 0.3.32 * Fixed wrong version number * Removed unused file "opt_c.c" * Remove error when tracing no calls and doing fork() * Clean-up of sysdeps/linux-gnu/s390/trace.c * Clean-up of sysdeps/linux-gnu/ppc/trace.c * Make `--library' option really work (closes: Bug#232321) * Merged several patches from SuSE: + Added some functions to ltrace.conf + Handle 64-big ELF files nicely + AMD64 support + Updated list of syscalls for S/390 + Improved some debugging statements Many thanks to Bernhard Kaindl <bk@suse.de> for his great work
rch.h
|
a0ccf39a68c0fcdf2165bde0f9b70ed12fc61cd8 |
01-Feb-2003 |
Juan Cespedes <cespedes@debian.org> |
Version 0.3.29 * Align return values depending on screen width * Updated list of syscalls and signals to Linux 2.4.20 * Fixed bug introduced in 0.3.27 which caused -L option to segfault
yscallent.h
|
8f8282f72eaeadc5419cd5470100e8dcaba5b7fd |
03-Mar-2002 |
Juan Cespedes <cespedes@debian.org> |
Version 0.3.23 * Fixed missing include <unistd.h> in trace.c * One arch-dependent function less (continue_after_breakpoint) * Fixed S/390 port (it didn't compile yet...)
egs.c
race.c
|
a4850831bf4b4548af517335081b58cf006fd168 |
03-Mar-2002 |
Juan Cespedes <cespedes@debian.org> |
Version 0.3.21 * Get rid of arch/breakpoint.c; we can do it arch-independent
akefile
rch.h
reakpoint.c
|
b1dd77d66f93eeaa6cbf8b101d3e9cf70981e000 |
03-Mar-2002 |
Juan Cespedes <cespedes@debian.org> |
Version 0.3.20 * Added s390 port (Timothy R. Fesig <slate@us.ibm.com>) * Modified configure process to use ltrace.spec.in to generate ltrace.spec (Timothy R. Fesig <slate@us.ibm.com>) * Fixed some problems using ltrace.spec on Intel platform. (Timothy R. Fesig <slate@us.ibm.com>)
race.c
|
8cc1b9d456c8f41e3a8cc0d3ec0d77eb779cb7bb |
01-Mar-2002 |
Juan Cespedes <cespedes@debian.org> |
Version: 0.3.18 * Simplified arch-dependent stuff * Updated list of syscalls and signals to Linux 2.4.18 * Unified coding-style of all function declarations * Do not indent lines indicating signals, exit codes, etc * Updated description * fix off-by-one problem in checking syscall number (Tim Waugh <twaugh@redhat.com> fixed this problem in RedHat two years ago; thank you for NOT noticing me...)
reakpoint.c
egs.c
yscallent.h
race.c
|
1cd999a32728f41208dc30f38a125d7bb7063625 |
03-Jul-2001 |
Juan Cespedes <cespedes@debian.org> |
Version: 0.3.12 * Re-wrote of "elf.c" (Silvio Cesare <silvio@big.net.au>) * Added "--library" option (Silvio) * Updated list of syscalls and signals to Linux 2.4.5 * Compile cleanly with gcc-3.0 (thanks to Frederic L. W. Meunier)
ignalent.h
yscallent.h
|
5b3ffdf2e696273d38434ff7b3c26349fff5a0ea |
02-Jul-2001 |
Juan Cespedes <cespedes@debian.org> |
Version: 0.3.11 * Clean up lintian bugs * Fixed small bug reading start of arguments in config file * Keep a stack of nested calls (Morten Eriksen, 1999-07-04) * Add "--indent" option (Morten Eriksen, 1999-07-04) * cleans up connection between a breakpoint address and a call instance (Morten Eriksen, 1999-07-04) * New Standards-Version (3.5.5)
reakpoint.c
race.c
|
1b9cfd6ad305ad909e8ff17139111a7c78f01464 |
30-Aug-1999 |
Juan Cespedes <cespedes@debian.org> |
Version: 0.3.8 * glibc-2.1 does no longer need `_GNU_SOURCE' defined to use <getopt.h> * Changed description of package; adopted Red Hat's one (thanks to whoever wrote it) * Close all the file descriptors used before executing program (close-on-exec) * Updated copyright file for new location /usr/share/common-licenses/GPL. * Used GNU autoconf instead of "uname" to guess host system type * Install man page in /usr/share/man instead of /usr/man * Added a few functions to /etc/ltrace.conf * Updated list of syscalls and signals to linux-2.2.12 * Fixed bugs in C++ demangle (Morten Eriksen <mortene@sim.no>) * New Standards-Version: 3.0.1 (but keeping docs in /usr/doc)
akefile
rch.h
reakpoint.c
egs.c
ignalent.h
yscallent.h
race.c
|