History log of /external/ltrace/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
82ae18484c7b6a8af05354caf6de3a7f1ac5fcf9 10-Apr-2014 Elliott Hughes <enh@google.com> Build ltrace for x86 and x86-64.

(Needs a bionic <sys/user.h> change.)

Bug: 13889008
Change-Id: Id2d067af58eae01fb4b9ddaeef749ed79b8a9a37
ndroid.mk
161efa6f4e7ea6657918a2f1736a692eea2f56c0 08-Apr-2014 Christopher Ferris <cferris@google.com> Merge "Re-add stpcpy call."
5dcd313a5c96d0bc991e0f70d6c1955094057916 08-Apr-2014 Mohamad Ayyash <mkayyash@google.com> ltrace: Temporarily disable ltrace on x86.

We need to fix the dependency on user_fpregs_struct.

Change-Id: Iaa1212bed9fa018fb3f151a2edc987f92de6e49b
ndroid.mk
55720814c8712f699f88ea483aa538db2fba9e79 08-Apr-2014 Mohamad Ayyash <mkayyash@google.com> ltrace: Build ltrace on arm, arm64 and x86 only.

Change-Id: Ic9345c28f5b02da43600c6ec2086c8c734f54ebd
ndroid.mk
utput.c
855b8a20be0cff41dbfbb245b91fe417acf194cf 08-Apr-2014 Mohamad Ayyash <mkayyash@google.com> Merge "ltrace: Fix the mips build."
27e80c93b4eadfc54c2bd2196028ed7ac1cc13f6 08-Apr-2014 Mohamad Ayyash <mkayyash@google.com> ltrace: Fix the mips build.

1) Fix missing error.h in plt.c.
2) Add a TODO to fix missing relplt_count in mips plt.c.
3) Enforce operator precedence between * and != which is apparently incorrect for the mips compiler.

Change-Id: I2d5d925566daf81a0380724bc103570c80e381e7
utput.c
ysdeps/linux-gnu/mips/plt.c
6bc89fea4e132d3937dd5aafbabca0d12e3af22f 08-Apr-2014 Christopher Ferris <cferris@google.com> Re-add stpcpy call.

Change-Id: I1e80c3ee1693452f8f1669027fcd0a225e986eb2
ysdeps/linux-gnu/hooks.c
1031614c095f00454326deb460a83381e98d5166 04-Apr-2014 Mohamad Ayyash <mkayyash@google.com> ltrace: Get it to build on Android (Android.mk and missing functions)

- Add Android.mk.
- Work around missing stpcpy() and rindex().

Change-Id: Iffdd707b22a84b1a1c6a802574ded05b289cee0a
ndroid.mk
onfig.h
ysdeps/linux-gnu/hooks.c
6bacfc7b34be8414d01c201f1c6086e3edaa8b62 12-Mar-2014 dann frazier <dannf@debian.org> Add missing #include stdio.h

Include stdio.h in files that use fprintf()

Signed-off-by: dann frazier <dannf@debian.org>
ysdeps/linux-gnu/aarch64/regs.c
ysdeps/linux-gnu/aarch64/trace.c
2e8ee3bb400006df046e432bc9dde1c0ce12b831 12-Mar-2014 dann frazier <dannf@debian.org> add missing <stdint.h> include

aarch64's fetch.c uses the uintptr_t typedef defined by stdint.h without
including it. This doesn't currently cause a build failure because stdint.h
is indirectly included via proc.h.

Signed-off-by: dann frazier <dannf@debian.org>
ysdeps/linux-gnu/aarch64/fetch.c
295b98e1da0da61d5318e00b179886ed1a209a94 17-Mar-2014 Conley Owens <cco3@android.com> Add MODULE_LICENSE_GPL and NOTICE files

Change-Id: Idc777be3224fb1533183d645f3974c77fec28c0c
ODULE_LICENSE_GPL
OTICE
5da68e9b29fce759fbd8c42130f1a231e2a0aadd 28-Feb-2014 Petr Machata <pmachata@redhat.com> Add --config to man, drop -X from options.c
trace.1
ptions.c
8137e804992f15590105a3db29673674971dff7b 13-Feb-2014 Petr Machata <pmachata@redhat.com> Initialize struct process.e_machine and .e_class for secondary threads
roc.c
0bb3f397f7e2cb9bafec4e37623d3b11bcb6a411 05-Feb-2014 Petr Machata <pmachata@apm-mustang-ev2-02.ml3.eng.bos.redhat.com> Add some stuff to libc.so.conf
tc/libc.so.conf
d98848395e879d7ccb9940d4d50be2439c9d378d 05-Feb-2014 Petr Machata <pmachata@redhat.com> Update NEWS, README
EWS
EADME
912a0f75b3521803fa724a55f0e883c134c7b4e9 24-Jan-2014 Petr Machata <pmachata@redhat.com> Implement aarch64 support

- IFUNC support is not implemented, the rest works well. The only
other failure is in wide char functions, and that occurs on x86_64
as well.
onfigure.ac
ysdeps/linux-gnu/Makefile.am
ysdeps/linux-gnu/aarch64/Makefile.am
ysdeps/linux-gnu/aarch64/arch.h
ysdeps/linux-gnu/aarch64/fetch.c
ysdeps/linux-gnu/aarch64/plt.c
ysdeps/linux-gnu/aarch64/ptrace.h
ysdeps/linux-gnu/aarch64/regs.c
ysdeps/linux-gnu/aarch64/signalent.h
ysdeps/linux-gnu/aarch64/syscallent.h
ysdeps/linux-gnu/aarch64/trace.c
0b5457a9e59978bcd2eb5240f54838910365a93c 05-Feb-2014 Petr Machata <pmachata@apm-mustang-ev2-02.ml3.eng.bos.redhat.com> Set child stack alignment in trace-clone.c

- This is important on aarch64, which requires 16-byte aligned
stack pointer. This might be relevant on other arches as well,
I suspect we just happened to get the 16-byte boundary in some
cases.
estsuite/ltrace.minor/trace-clone.c
63753e08aaec64973649fcf17368740bebeea21e 31-Jan-2014 Petr Machata <pmachata@apm-mustang-ev2-02.ml3.eng.bos.redhat.com> Force use of SYS_open on aarch64 as well

- That system call is not implemented on aarch64, but we don't
care, we are only calling it to see if the parameters get decoded
properly. So call using the "syscall" wrapper, and hard-code
SYS_open value on aarch64, where glibc doesn't define it.
estsuite/ltrace.main/system_call_params.exp
81efcb04cd4e84ffd2c6ab851a2a10360956bd15 31-Jan-2014 Petr Machata <pmachata@apm-mustang-ev2-02.ml3.eng.bos.redhat.com> Rewrite system_calls.exp

- Port this to new style test case

- Be more clever about what syscalls were invoked from main,
as opposed to the multitude of calls that the dynamic linker
typically makes

- Allow some basic calls to come in XXXat variants (e.g. openat
instead of open), such is the case on aarch64.
estsuite/ltrace.main/system_calls.c
estsuite/ltrace.main/system_calls.exp
f39611f79e5be4f755a8354c4f15371e7bc21a11 31-Jan-2014 Petr Machata <pmachata@apm-mustang-ev2-02.ml3.eng.bos.redhat.com> Add some missing system calls to syscalls.conf
tc/syscalls.conf
a94829bd7791d39326aba1c028cda4c869e093a7 05-Feb-2014 Petr Machata <pmachata@redhat.com> Improve HFA-related test cases

- Moved a bunch of preexisting HFA tests to a separate test case (and
converted them to new style in the process). Added another bunch of
HFA tests.
estsuite/ltrace.main/parameters-hfa.exp
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
94773bf0b1adbe60e8fe05c85cfcec7aa4941a13 14-Jan-2014 Petr Machata <pmachata@redhat.com> Manpage and --help clarifications
trace.1
ptions.c
a0093ca43cf40d7e5f6cebeb64156062d2de46d9 10-Jan-2014 Petr Machata <pmachata@redhat.com> Don't crash untraced calls via PLT in prelinked PPC64 binaries

In prelinked binaries, ltrace has to unprelinks PLT slots in order to
catch calls done through PLT. This makes the calls done through these
slots invalid, because the special first PLT slot is not initialized,
and dynamic linker SIGSEGVs because of this. Ltrace relies on
arranging breakpoints such that the dynamic linker is not actually
entered, and moves PC around itself to simulate the effects of a call
through PLT.

Originally, arch_elf_add_plt_entry was called only for symbols that
were actually traced. Later this was changed and it's now called for
all PLT entries, and the resulting candidate list is filtered
afterwards. This gives backends a chance to rename the symbol, as is
useful with IRELATIVE PLT calls, where symbol name may not be
available at all. But the PPC backend was never updated to reflect
this, and unresolved all symbols for which arch_elf_add_plt_entry was
called, thus rendering _all_ PLT slots invalid, even those that
weren't later procted by breakpoints. Thus calls done through any
untraced slots failed.

This patch fixes this problem by deferring the unprelinking of PLT
slots into the on_install hook of breakpoints.
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/plt.c
56134ff5442bee4e128b189bb86cfc97dcb6f60a 10-Jan-2014 Petr Machata <pmachata@redhat.com> Add a new per-breakpoint callback on_install
reakpoint.h
reakpoints.c
f0d662e5d87c8a1fb745bdcf11ee7caa49ad70d7 10-Jan-2014 Petr Machata <pmachata@redhat.com> Drop unused function enable_all_breakpoints
reakpoint.h
reakpoints.c
79e64bcb176442b0eef89764d5ea7f07972dd240 10-Jan-2014 Petr Machata <pmachata@redhat.com> Type umovebytes properly
ackend.h
ysdeps/linux-gnu/trace.c
b882ba7bd0840db234eb84c27665da4b3f4b42b8 09-Jan-2014 Mark Wielaard <mjw@redhat.com> Initialize libsym early in trace.c to help the compiler.

GCC 4.4.7 isn't smart enough to realize own_libsym will always be zero
when it sees the goto done which might jump over the initialization of
libsym. And so will produce a warning like:

cc1: warnings being treated as errors
trace.c: In function ‘ifunc_ret_hit’:
trace.c:1433: error: ‘libsym’ may be used uninitialized in this function
ysdeps/linux-gnu/trace.c
dfefa9f057857735a073ea655f5cb34351032c8e 07-Jan-2014 Mark Wielaard <mjw@redhat.com> Add support for using elfutils as unwinder.

This adds support for using elfutils as unwinder with -w. Since elfutils
0.158 elfutils contains a simple unwinder interface that matches nicely
on the ltrace backtrace support.

The code reuses the libunwind infrastructure already in ltrace where
possible (by defining HAVE_UNWINDER which is 1 if either libunwind or
elfutils is used). It also reuses the ltrace proc_add_library callback
to keep track of the ELF files mapped for the unwinder.

The current implementation matches the output as if libunwind was used.
But elfutils can also provide some more information since it can lookup
the DWARF debuginfo. So if the source info of an address can be found
through elfutils the backtrace will also include this as an additional
output line per frame.
akefile.am
onfigure.ac
trace.1
ptions.c
ptions.h
utput.c
roc.c
roc.h
estsuite/Makefile.am
estsuite/lib/ltrace.exp
6bcc092da6b7e20c6c2a9a5846536fbd3d77dbb8 09-Jan-2014 Petr Machata <pmachata@redhat.com> Type proc_each_breakpoint properly
roc.c
roc.h
35742523e3daa0e59de0c1c3fdd8e5ff52891967 09-Jan-2014 Petr Machata <pmachata@redhat.com> Fix a problem in tracing across fork on PPC64

In order to avoid single-stepping through large portions of the
dynamic linker, ltrace remembers at which address the instruction that
resolved a PLT slot is. It then puts a breakpoint to this address so
that it can fast-forward to that address next time it needs to catch a
PLT slot being resolved.

When a process is cloned, the pointer to this breakpoint is simply
copied over to the new process, instead of being looked up in the new
process structures. This patches fixes this.
ysdeps/linux-gnu/ppc/plt.c
6aafe5507b40eced6c12448b8b6f1079f0802d63 09-Jan-2014 Juan Cespedes <cespedes@debian.org> minor fixes in manpages
trace.1
trace.conf.5
0f6f30c4d0fbedda3aa4bc707a75085bcc2c8f7f 07-Jan-2014 Petr Machata <pmachata@redhat.com> Nits

- Fix some coding style issues in output.c
- Add a couple items to TODO
ODO
utput.c
5d3be3319b6997961283e5da61318bf46ac650a3 07-Jan-2014 Luca Clementi <luca.clementi@gmail.com> Fix infinite loop in stack unwind

This bug was introduced in af452c6

Reported-by: Petr Machata <pmachata@redhat.com>
utput.c
f19471597b3044764919319b364cdd04187fd696 05-Jan-2014 Juan Cespedes <cespedes@debian.org> Minor fixes in manpages
trace.1
trace.conf.5
af452c67bceba1326bb629d7c1a8241d54c09038 04-Jan-2014 Luca Clementi <luca.clementi@gmail.com> check return value of unw_get_reg and unw_get_proc_name

Before printng the current procedure name and IP verify their validity
utput.c
roc.c
roc.h
5b83bc76044a409100a37dad85813c1de57ba1e4 30-Dec-2013 Juan Cespedes <cespedes@debian.org> Drop debian/ directory

Every distribution should create its own specific files
ebian/changelog
ebian/compat
ebian/control
ebian/copyright
ebian/rules
f7864d60f0c8180806ed9b7d8dac26b250bd7120 27-Nov-2013 Petr Machata <pmachata@redhat.com> Support IRELATIVE relocations on s390
ysdeps/linux-gnu/s390/arch.h
ysdeps/linux-gnu/s390/plt.c
42cccc91299718b95eecffa6941e29c33d5616b3 27-Nov-2013 Petr Machata <pmachata@redhat.com> On s390{,x}, r2 is scrambled after syscall entry

This was caught by system_call_params.exp test case:

exe->mount("source", "target", "filesystemtype", 0, nil <unfinished ...>
mount@SYS("", "target", "filesystemtype", 0, nil) = -2
<... mount resumed> = -1

Note how the first parameter disappears--r2 now holds syscall number
(21 in this case), and the original value is stored in orig_gpr2 in
save area.
ysdeps/linux-gnu/s390/fetch.c
7b0088dbf6861987f13ad1e0740d633069fdb9d7 22-Nov-2013 Petr Machata <pmachata@redhat.com> On x86{,_64}, PLT entries may not be ordered by their relocation

- In general they are. But IRELATIVE relocations are sorted to come
last, and PLT entries are not sorted accordingly.
ysdeps/linux-gnu/x86/arch.h
ysdeps/linux-gnu/x86/plt.c
8a730f3e5844b86386032e93f91aa3df814ad9c3 21-Nov-2013 Petr Machata <pmachata@redhat.com> Consider exec and exit events an end of outstanding calls

- This cleans up a lot of stuff. The actual substance is addition of
account_current_callstack in handle_event.c (which however uses
those cleaned-up interfaces).

- trace-exec.exp was extended to check that the exec syscall can be
seen in -c output. That's one of the symptoms of what this fixes.

- This hides dict_opt_c in summary.c. It also gets rid of the global
variable current_time_spent--instead, the information is passed via
a function argument in a struct timedelta (so that we never confuse
absolute time with relative). callstack_element.time_spent was renamed
to .enter_time, as that is what it has always been.
akefile.am
ommon.h
orward.h
andle_event.c
ibltrace.c
ptions.h
utput.c
utput.h
roc.h
ummary.c
ummary.h
estsuite/ltrace.minor/trace-exec.exp
641503462e084d1ede9ded935c72edc8d03498ab 14-Nov-2013 Petr Machata <pmachata@redhat.com> Update NEWS
EWS
416efe44ceaf4d6cc2a5475d34f1b084d166b8cc 13-Nov-2013 Petr Machata <pmachata@redhat.com> Add a test case for wide character functions
estsuite/ltrace.minor/Makefile.am
estsuite/ltrace.minor/wchar.exp
dbd6175679e4c55853a2b3521b48bb17ec1fe38d 12-Nov-2013 Petr Machata <pmachata@redhat.com> Update NEWS
EWS
9521f9321bacb1eb27d4c152ecf69957dbbc0263 11-Nov-2013 Petr Machata <pmachata@redhat.com> In read_config_file.c, clone type info when unsharing it
ead_config_file.c
6e570e5bf8e0a9049cb1bad3ca4f82fae116c741 11-Nov-2013 Petr Machata <pmachata@redhat.com> Cleanups
ODO
aram.c
aram.h
a09fb66ce739338ba1a1b4a64409d4b2ae789b86 11-Nov-2013 Petr Machata <pmachata@redhat.com> Add many wide cheracter functions to libc.so.conf
tc/libc.so.conf
caccda07541df0790887311d898405b2e4d78a5f 11-Nov-2013 Petr Machata <pmachata@redhat.com> Use wcwidth to exactly determine how much space a character took

- So far we assumed it's one character worth of screen real-estaty per
character written, but combining and wide characters can change
this.
ens_default.c
aa85b1c9aa3a595c7db6f2e173760f0f42fb6497 11-Nov-2013 Petr Machata <pmachata@redhat.com> Add fdopen prototype to libc.so.conf
tc/libc.so.conf
69737c06cfdf9aec826bcecf032f76fbfef2feab 11-Nov-2013 Petr Machata <pmachata@redhat.com> When a typedef X_t is requested, don't match lens named X instead
ead_config_file.c
2bfea358ea6730980fb6fbbd896bbbf4e58238ee 11-Nov-2013 Petr Machata <pmachata@redhat.com> Add error message if ltelf_init fails to open ELF
trace-elf.c
0ba3c5eee259b77e3883e40c4d0cd2fab5b03ff3 11-Nov-2013 Petr Machata <pmachata@redhat.com> In ltrace_init, don't call ltelf_destroy if ltelf_init fails
ibltrace.c
c00837c2928da53a3515b107399b742ea157e78a 11-Nov-2013 Petr Machata <pmachata@redhat.com> Support wide character strings

- "string" lens and "format" pack were extended such that using an
integer as underlying array type denotes a wide character string.

- several prototypes from wchar.h were added to libc.so.conf.

- ltrace.conf.5 was updated
ODO
tc/libc.so.conf
ens_default.c
ibltrace.c
trace.conf.5
rintf.c
0ffc085b0e5ee3474ac2251f16be4f206970ebfe 06-Nov-2013 Petr Machata <pmachata@redhat.com> Add a TODO item
ODO
0c0afe35c59c5d1b28f3aeb8515f10b8da948036 06-Nov-2013 Petr Machata <pmachata@redhat.com> Support pre-8.5 TCL's by providing our own lreverse in ltrace.exp
estsuite/lib/ltrace.exp
b5c837f545342b6017fe6ec7aa60c1fc866fde06 06-Nov-2013 Petr Machata <pmachata@redhat.com> Replace a chain of stpcpy's with a sprintf

- That's clearer and doesn't require _POSIX_SOURCE defines (that are
missing anyway)
rototype.c
89396203c9de0d60374e1b298529afcf0bfbf5ed 06-Nov-2013 Petr Machata <pmachata@redhat.com> Plug a leak
ysdeps/linux-gnu/hooks.c
4ec22bd78841e4c1f76b0d2077bd03d62ee3af38 06-Nov-2013 Petr Machata <pmachata@redhat.com> Plug a leak
ead_config_file.c
d2154eae286064c4114ec924186535961dfaad79 06-Nov-2013 Petr Machata <pmachata@redhat.com> Fix use-after-free
rototype.c
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.
ysdeps/linux-gnu/arm/arch.h
ysdeps/linux-gnu/arm/plt.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.
ysdeps/linux-gnu/arm/fetch.c
ysdeps/linux-gnu/arm/plt.c
4f2f66e6abc7fedf3a5d04fab7cc00e5f82b37cf 05-Nov-2013 Petr Machata <pmachata@redhat.com> Move load_dynamic_entry from PPC backend to ltrace-elf.c/.h
trace-elf.c
trace-elf.h
ysdeps/linux-gnu/ppc/plt.c
1118c60ad86f8c6a911ca11c1dd0f292453cc4bf 05-Nov-2013 Petr Machata <pmachata@redhat.com> Add trace-irelative.exp to Makefile.am
estsuite/ltrace.minor/Makefile.am
cecec2e61f9131ae14672ce205185383a5f2c768 05-Nov-2013 Petr Machata <pmachata@redhat.com> Update TODO
ODO
cb9d1746a65331edde7f63e49cae7f4cf177428e 05-Nov-2013 Petr Machata <pmachata@redhat.com> Bump release to 0.7.91
onfigure.ac
fa844db00b61b9f61c9ae8c6f4165aa5fff3a5d7 05-Nov-2013 Petr Machata <pmachata@redhat.com> Full support of IFUNC tracing on PPC32
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/trace.h
estsuite/ltrace.minor/trace-irelative.exp
97d13666cd84589135ba593fa43a800d098026d0 05-Nov-2013 Petr Machata <pmachata@redhat.com> Add elf_add_plt_entry as a separate entry point

- That calls into OS and ARCH callbacks as required and has the same
interface. This also adds os_elf_add_plt_entry.

- arch_elf_add_func_entry was added as well for symmetry.
ackend.h
trace-elf.c
trace-elf.h
fec0b3b1b8323220255f9ebdcac7db2b689783ef 04-Nov-2013 Petr Machata <pmachata@redhat.com> Move code for tracing IFUNC symbols

- ... from sysdeps/linux-gnu/hooks.c to sysdeps/linux-gnu/trace.c
where it fits better.
ysdeps/linux-gnu/hooks.c
ysdeps/linux-gnu/trace.c
54bb64cf2eae7a0daa4d17e980b743b8ae69413b 04-Nov-2013 Petr Machata <pmachata@redhat.com> Partial support of IFUNC tracing on PPC32

- Just like on PPC64, we need to move IRELATIVE relocations from
.rela.dyn to the vector of PLT relocations

- Just like on PPC64, we may need to rename the symbol--except the
symbol to looked is the one with the address of PLT slot address,
not of rela addend.
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/trace.h
ba36f0ac51d194c599fd56457796e33e62c3220b 04-Nov-2013 Petr Machata <pmachata@redhat.com> Cleanups
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/ppc/plt.c
ce011e2111524f8cc5e246f2bcfa9eb20984d4bf 04-Nov-2013 Petr Machata <pmachata@redhat.com> The irelative test case should check for IFUNC in shared library as well
estsuite/ltrace.minor/trace-irelative.exp
0ed5399f5cbb2b505a95bcac634c0ad5d7bbd6b8 04-Nov-2013 Petr Machata <pmachata@redhat.com> Properly publish read_relplt interface, rename it to elf_read_relocs
trace-elf.c
trace-elf.h
ysdeps/linux-gnu/ppc/plt.c
d8286ed3496bcd69cd4796f57a5b5c04859d2378 04-Nov-2013 Petr Machata <pmachata@redhat.com> Show "nil" also for void* values
ens_default.c
estsuite/ltrace.main/parameters2.exp
73b85aadbf377541ac336914e5ff8ec521226a97 30-Oct-2013 Petr Machata <pmachata@redhat.com> Support tracing P_PPC64_JMP_IREL slots
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/plt.c
e7746d3a8916449630893e7b08374b6de0e4f5b6 30-Oct-2013 Petr Machata <pmachata@redhat.com> If breakpoint_get_return_bp yields NULL breakpoint, don't try to add it
andle_event.c
b904bdbee7892b1d0b36ff43c3cdecc19db08373 26-Oct-2013 Luca Clementi <luca.clementi@gmail.com> Remove unused include
xecute_program.c
b061bae322edd4894f14ea2aea6baec36d32eda8 25-Oct-2013 Petr Machata <pmachata@redhat.com> Split linux_elf_find_irelative_name out of linux_elf_add_plt_entry_irelative
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/trace.h
673ff510953b65b844a58478aa434120f457c014 25-Oct-2013 Petr Machata <pmachata@redhat.com> Keep PLT relocations in a vector

- That means we have to copy them out of ELF ahead of time instead of
referencing them from inside ELF on demand. But this way we can keep
one grand vector of all PLT-like relocations. On PPC, this makes
a difference: some PLT-like relocations (R_PPC64_JMP_IREL in
particular) are stored in .rela.dyn, not .rela.plt.
ackend.h
ibltrace.c
trace-elf.c
trace-elf.h
ysdeps/linux-gnu/mips/plt.c
481a1eb415945720c0e1c545bd7679fd4cdb48ff 25-Oct-2013 Petr Machata <pmachata@redhat.com> OPD-transate the address that comes back from IFUNC resolver
ysdeps/linux-gnu/hooks.c
693cd2882c9592f9bfca2fc3c14d62eae00f7475 25-Oct-2013 Petr Machata <pmachata@redhat.com> Rewrite the IFUNC test case to avoid GCC attribute

- GCC doesn't support __attribute__ ((ifunc)) on all platforms
where IFUNC is supported.
estsuite/ltrace.minor/trace-irelative.exp
51788253b9a2f00c7047c7e7f272e91389e12e78 24-Oct-2013 Petr Machata <pmachata@redhat.com> Update NEWS
EWS
5069ef8f498e5189de0789d79485f39b76c621d4 24-Oct-2013 Petr Machata <pmachata@redhat.com> Fix fetching of system call arguments on i386
ysdeps/linux-gnu/x86/fetch.c
estsuite/ltrace.main/system_call_params.exp
estsuite/ltrace.main/system_calls.exp
ac52f2660ec717b6b25c313f20e47a622d3357d8 24-Oct-2013 Petr Machata <pmachata@redhat.com> When looking for longest matching soname substring, we don't copy enough
utput.c
88070a85ddaf5d2f4c6e89b5fbb5db5124049b4b 24-Oct-2013 Petr Machata <pmachata@redhat.com> sysdeps/linux-gnu/trace.c misses #include <stdint.h>
ysdeps/linux-gnu/trace.c
8eacf65a0b840630814e151ebf9c111f768b8571 24-Oct-2013 Petr Machata <pmachata@redhat.com> Update TODO
ODO
98a7dce70986f2394d22ee5dd8ed355ceb2104b4 23-Oct-2013 Petr Machata <pmachata@redhat.com> Look up protolibs whose name partially matches the loaded DSO

- The intention here is to allow matches of libc.so.conf for
libc.so.6. Typically different sonames imply different binary
interfaces, but for libc, we know that most interfaces won't change.
andle_event.c
trace.1
utput.c
rototype.c
rototype.h
e7b6bed33dc21725226c67708b647e642f4a0031 22-Oct-2013 Luca Clementi <luca.clementi@gmail.com> remove useless unw_get_reg of stack pointer
utput.c
10d95bdbabc0a2ef921d6c26536cbb8ade461172 23-Oct-2013 Petr Machata <pmachata@redhat.com> Add NEWS blurb
EWS
0c9e76c37619ad1aaa2c05696fdd309afe8deb13 16-Oct-2013 Petr Machata <pmachata@redhat.com> Add a test case for IRELATIVE and IFUNC support
estsuite/ltrace.minor/trace-irelative.exp
b3d6180e6d1cfc188a44b60dda6a7ac4faf0fdce 16-Oct-2013 Petr Machata <pmachata@redhat.com> Linux backend now supports tracing of IFUNC symbols
ysdeps/linux-gnu/hooks.c
ysdeps/linux-gnu/os.h
b8f0d8b5859a7d69f6aed4904a87ac6a423285f6 16-Oct-2013 Petr Machata <pmachata@redhat.com> Allow the prototype to be specified directly at the symbol
ibrary.c
ibrary.h
utput.c
c65c24a7e4645559a0fb050ff5a96ec248827562 16-Oct-2013 Petr Machata <pmachata@redhat.com> Extract the logic for creating void* type to type_get_voidptr
rototype.c
ype.c
ype.h
a186b0e5c469156b9af66e88dca12d208418195c 15-Oct-2013 Petr Machata <pmachata@redhat.com> Add backend call os_elf_add_func_entry

- This is callback for handling per-OS symbol types. It is modeled
after arch_elf_add_plt_entry and is called each time we need to add
a symbol. The backend will do its stuff for the special symbols and
return PLT_DEFAULT for those where the core will do good enough
work.

- With this change, we pass through all symbol types, and the
callback, if present, should then filter out those that we don't
care for.
ackend.h
trace-elf.c
1e4b8c8d93606721c8728c6cacb8c9921353049b 15-Oct-2013 Petr Machata <pmachata@redhat.com> Enable IRELATIVE tracing on x86 and x86_64
ysdeps/linux-gnu/x86/arch.h
ysdeps/linux-gnu/x86/plt.c
b420a226cd2fc5d6028adcaf236c512a1f1fb437 15-Oct-2013 Petr Machata <pmachata@redhat.com> Add support for tracing of IRELATIVE PLT entries

- Because the IRELATIVE entries have no associated symbol name, we
need to allow arch_elf_add_plt_entry to override the name. This is
done by that callback returning PLT_OK and returning the new symbol
via libsym-chain return argument. Filtering is postponed until we
have that symbol, and the filter is applied to the whole returned
chain.

- Add linux_elf_add_plt_entry_irelative to support proper naming of
IRELATIVE PLT entries. This needs to be called from arch backend,
as the numbers of IRELATIVE relocations differ per-architecture.
trace-elf.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/trace.h
7a29f9e7a2bd5849886519eb82e9c043d24c6a40 14-Oct-2013 Petr Machata <pmachata@redhat.com> Add elf_each_symbol
trace-elf.c
trace-elf.h
4e293f95c0bbe329d4d7247a96d654cc84a7f86e 14-Oct-2013 Petr Machata <pmachata@redhat.com> Document a possible richer iteration interface
allback.h
ba4734098037555614b1ce6458b3f18415764f4a 14-Oct-2013 Petr Machata <pmachata@redhat.com> Call breakpoint_on_hit for return breakpoints as well

- This was always supposed to happen, but did not by omission.
andle_event.c
b94407705ecddffd7820ee61bcad3f0d72ee87c1 14-Oct-2013 Petr Machata <pmachata@redhat.com> Split part of delete_breakpoint into delete_breakpoint_at
reakpoint.h
reakpoints.c
andle_event.c
ysdeps/linux-gnu/trace.c
cf98923cf77f12bef15b3f1af0c0bbd673a8e4f9 11-Oct-2013 Petr Machata <pmachata@redhat.com> Introduce breakpoint_get_return_bp

- This should be used for per-breakpoint customization of how return
breakpoints are constructed. Hopefully it will be possible to use
this to implement the address mangling that the ARM backed currently
has to do.
reakpoint.h
reakpoints.c
andle_event.c
23124cc5c33c6b7a547eb1008505f60590f67593 11-Oct-2013 Petr Machata <pmachata@redhat.com> Move several os_ declarations before corresponding arch_ declarations
ackend.h
roc.c
9f819d5747dc2b8e0f7ac54b38dc321115de6dda 16-Oct-2013 Petr Machata <pmachata@redhat.com> Allow per-OS configuration hooks for struct breakpoint
ackend.h
reakpoint.h
reakpoints.c
ysdeps/sysdep.h
8fdd09b028426f92df614d6ebe5c56d99877febf 11-Oct-2013 Petr Machata <pmachata@redhat.com> Allow per-OS configuration hooks for structs library and library_symbol
ackend.h
ibrary.c
ibrary.h
ysdeps/sysdep.h
01b10e191e99d8cb147e5a2b7da8196e0ec6fb94 23-Oct-2013 Petr Machata <pmachata@redhat.com> Add 0.7.3 news and a sketch of 0.8-to-be news
EWS
aa3db6b1234da0e542ba7782849cf200d0d91c1c 23-Oct-2013 Petr Machata <pmachata@redhat.com> Replace os_get_ltrace_conf_filename with os_get_ltrace_conf_filenames

- I.e. allow returning a list of filenames, as opposed to a single
home directory name. This is to implement exactly the legacy config
file behavior on Linux.
ackend.h
onfigure.ac
trace.1
rototype.c
ysdeps/linux-gnu/hooks.c
ect.c
ect.h
ff5606a61647623b1f490a91a985e55c1ee6253d 23-Oct-2013 Petr Machata <pmachata@redhat.com> Split ltrace.conf into libc.so.conf and libacl.so.conf; add libm.so.conf

- This won't work as is--if libc.so.6.conf isn't found, ltrace needs
to keep looking for libc.so.conf.
akefile.am
tc/libacl.so.conf
tc/libc.so.conf
tc/libm.so.conf
tc/ltrace.conf
3992a0b1a50c7b105d116e5c4fc36aeb6bc29f01 23-Oct-2013 Petr Machata <pmachata@redhat.com> Update copyright years in options.c
ptions.c
82f748d1bc2b95d594327ad15f3a6908070dd5c3 23-Oct-2013 Petr Machata <pmachata@redhat.com> System calls are now part of dedicated symbol library

- This symbol library is still special in that symbols are created on
demand and never actually added. It just serves as a link to
protolibrary with system call prototypes, and has a name (SYS).

- Prototypes for system calls were moved to a dedicated prototype
library called syscalls.conf.

- Because it's undesirable to look up syscall prototypes in anything
but the dedicated syscall protolib, prototype.c/.h now understand
that some lookups shouldn't be done recursively (and so we never
pick the definition from -F file that just happens to have the same
name as a system call). The good thing is that now libraries can
actually use symbols named SYS_something without clashing with
system call prototypes.

- One test case needed to be updated, because we now display system
calls as something@SYS instead of SYS_something.
akefile.am
tc/ltrace.conf
tc/syscalls.conf
andle_event.c
ibrary.h
utput.c
rototype.c
rototype.h
ead_config_file.c
estsuite/ltrace.main/Makefile.am
estsuite/ltrace.main/system_call_params.exp
estsuite/ltrace.main/system_calls.exp
71025328700158770edf84cbce64d977298b6e88 23-Oct-2013 Petr Machata <pmachata@redhat.com> Add struct vect and struct dict to forward.h
orward.h
b0a372b32bbaaf7c0895a81a8f9e1ec686560264 23-Oct-2013 Petr Machata <pmachata@redhat.com> Allow comments starting with '#' in ltrace prototype libraries
ead_config_file.c
32e25409e0ba5a16ac0944137be5d3aaa67d89c3 22-Oct-2013 Luca Clementi <luca.clementi@gmail.com> Add my details to CREDITS
REDITS
e8f9360b5ce03186138912fc67624bd5a4ec72af 18-Oct-2013 Peter Wu <lekensteyn@gmail.com> Add my details to CREDITS

For build and crash fixes (and a test for it).

Signed-off-by: Peter Wu <lekensteyn@gmail.com>
REDITS
2927648b952d197b6f3693651694097c38e99f95 18-Oct-2013 Luca Clementi <luca.clementi@gmail.com> add library path to stack trace output when using -w

For each stack frame prints the library path containing the code
pointed by the IP.
The output format is similar to the return value of backtrace_symbols
function found in glibc, e.g.:
> /bin/ls(_init+0x19be) [0x40398e]
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f50cbc3676d]
> /bin/ls(_init+0x25fd) [0x4045cd]
utput.c
6dff4d22b958fdd41d08554c777ce4edc3604d83 15-Oct-2013 Petr Machata <pmachata@redhat.com> Fix rel->rela conversion

- Rel relocations have the addend stored inline in ELF data, it's not
zero.
trace-elf.c
552d75e2a226782cc9ecf966e6e343af8f51031f 14-Oct-2013 Petr Machata <pmachata@redhat.com> Sanitize interface of arch_get_sym_info/elf_get_sym_info

- <0 for errors, ==0 for OK, 1 for skip. Errors are now propagated
and can be handled as necessary without cancelling tracing.

- Clarify the comment at arch_get_sym_info.
ackend.h
trace-elf.c
trace-elf.h
ysdeps/linux-gnu/mips/plt.c
1187af0639449c3c6da03d827f93d2c2181a06f5 14-Oct-2013 Petr Machata <pmachata@redhat.com> Rename several arguments in ltrace-elf.c for consistency

- In struct ltelf, we call the corresponding argument foo_count.
Rename these arguments from size to count for consistency.
trace-elf.c
00fbf3d921ec2ebf8fd40f0ea22edda9af3f134b 15-Oct-2013 Petr Machata <pmachata@redhat.com> Include forward.h instead of declaring types by hand
ilter.h
a9a12bdd7d73c01d5ee88aed7e34bf2a9772e94d 14-Oct-2013 Petr Machata <pmachata@redhat.com> Fix a commentary typo
trace-elf.h
2f140bfae6d45ef119ad14252c0d99c30a91d3a6 11-Oct-2013 Petr Machata <pmachata@redhat.com> Commentary fixes
reakpoint.h
trace-elf.c
ysdeps/sysdep.h
dad1b779e2ed29c9fce17853ca71cb719240b9cf 11-Oct-2013 Petr Machata <pmachata@redhat.com> Split part of insert_breakpoint_at into insert_breakpoint
reakpoint.h
reakpoints.c
02a796e5e49c147982020c78b0066930e979f3e4 11-Oct-2013 Petr Machata <pmachata@redhat.com> Rename insert_breakpoint to insert_breakpoint_at
reakpoint.h
reakpoints.c
andle_event.c
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.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
ackend.h
ibrary.c
ibrary.h
trace-elf.c
ysdeps/linux-gnu/arm/fetch.c
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/proc.c
cd6ff36657ef51369f72fe109d581bc2530be5f2 10-Oct-2013 Petr Machata <pmachata@redhat.com> Add expr_clone, type_clone; call from value_clone

- This fixes several memory errors in trace_clone and hello_vfork test
cases.
xpr.c
xpr.h
ype.c
ype.h
alue.c
53a6c37fdb496674cf1fa70a04cc777414c4fe09 10-Oct-2013 Petr Machata <pmachata@redhat.com> Add vect_each_cst, VECT_EACH_CST to vect.c/vect.h

- These are like vect_each and VECT_EACH, but for constant vectors.
ect.c
ect.h
cb943f1d54fb8d45879e9545f97f236f833bf7ea 26-Sep-2013 Peter Wu <lekensteyn@gmail.com> Add tests for %p format specifier crash and zero(EXPR) leaks

Notes for these regression tests:

- The %p test should run when ltrace is built with -fsanitize=address or
some other form of protection that makes the program abort when trying
to free() static memory.
- The zero(EXPR) test needs valgrind to test for the previous memleak
bug, but as it stands now, it can also test whether the zero
functionality works or not.

Signed-off-by: Peter Wu <lekensteyn@gmail.com>
estsuite/ltrace.main/parameters2.exp
5aca651fdb40a3591a3b245092866fca22ef525d 26-Sep-2013 Petr Machata <pmachata@redhat.com> Update TODO
ODO
cae76962c7e0ec6119952addb36d1cf8d19f5228 26-Sep-2013 Peter Wu <lekensteyn@gmail.com> Prevent freeing static-alloc'd memory for %p and %n in printf

The following code caused ltrace 0.7.3-1 to crash on Arch Linux because
an invalid pointer was passed to free():

printf("%p", &whatever);

In printf.c, the elt_info pointer was always a statically allocated
memory address from type_get_simple():

115 if (format_type == ARGTYPE_ARRAY ||
format_type == ARGTYPE_POINTER)
116 elt_info = type_get_simple(elt_type);

Therefore, do not assert that the caller form_next_param owns the
elt_info pointer.

Originally reported at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724253

Signed-off-by: Peter Wu <lekensteyn@gmail.com>
rintf.c
594ef6824f4b08adff9b67f1481030a81dbf3bf7 26-Sep-2013 Peter Wu <lekensteyn@gmail.com> Fix memory leak for zero(EXPR)

parse_zero does not need allocated memory, remove it and let the caller
free it.

Signed-off-by: Peter Wu <lekensteyn@gmail.com>
ead_config_file.c
97485501f87e5452bc49721003ebfb9717f497b6 26-Sep-2013 Peter Wu <lekensteyn@gmail.com> Fix clang warning (-Wduplicate-decl-specifier)

DICT_INIT defines its key type as constant already, no need to duplicate
that in callers of DICT_INIT.

Signed-off-by: Peter Wu <lekensteyn@gmail.com>
emangle.c
utput.c
rototype.c
c391cea99973d5fac82bf9b78ff72dd428875721 26-Sep-2013 Peter Wu <lekensteyn@gmail.com> Fix missing 'metag' in distribution tarball
ysdeps/linux-gnu/Makefile.am
a77b267abb870c935f9b4187ca31409fa5eb9dcb 26-Sep-2013 Peter Wu <lekensteyn@gmail.com> Fix compile warning about unused typedef

Switch assertion to style as used by the Linux kernel (BUILD_BUG_ON)

Signed-off-by: Peter Wu <lekensteyn@gmail.com>
ens_default.c
alue.c
20a4315a72ea4df9fe808a5efe374f12f24e2cd1 19-Sep-2013 Petr Machata <pmachata@redhat.com> Fix a comment typo
ysdeps/linux-gnu/hooks.c
5649900afe6e60296cf8b4ee3ffb6faab6861939 19-Sep-2013 Petr Machata <pmachata@redhat.com> Describe prototype library discovery in the man page
trace.1
2699445f5219da48e25fc59f1a4b929d5e1e830b 19-Sep-2013 Petr Machata <pmachata@redhat.com> Update TODO

- The config file directory idea is now implemented.
- Add some more ideas.
ODO
4394755b0307a24b86f348755eb0443284132378 05-Sep-2013 Petr Machata <pmachata@redhat.com> Better formatting of readdir and friends
tc/ltrace.conf
21162294ffcb3238e41749a3f056b54c21cf296c 01-Sep-2013 Petr Machata <pmachata@redhat.com> Drop mention of ltrace.spec from Makefile.am
akefile.am
cb58fdb5a072ad70087a07f67d0c094ff77ca4b7 26-Mar-2013 Petr Machata <pmachata@redhat.com> s390 set_instruction_pointer: Set highest bit in 31-bit tracer

- The highest bit is used to distinguish between 24-bit and 31-bit
addressing modes. Up until about 3.1, Linux did this automatically,
but stopped doing so with the following commit:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d4e81b35b882d96f059afdb0f98e5b6025973b09
ysdeps/linux-gnu/s390/regs.c
09489a36a9f0b7fda7bf9d0806301e8d712001b9 26-Mar-2013 Petr Machata <pmachata@redhat.com> Coding style in s390/regs.c

- This changes uses of void* to arch_addr_t, and adds tags for future
conversion of arch_addr_t to an integral type.
ysdeps/linux-gnu/s390/regs.c
a193452188e51f233677e3f2607d9a61a789a1df 22-Mar-2013 Markos Chandras <markos.chandras@imgtec.com> ltrace: Add support for Imagination Technologies Meta

This patchset adds support for Imagination's Meta architecture.
The Meta Linux kernel port will be included in the Linux Kernel
v3.9. It also uses the generic system call numbers.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
EADME
onfigure.ac
ysdeps/linux-gnu/metag/Makefile.am
ysdeps/linux-gnu/metag/arch.h
ysdeps/linux-gnu/metag/plt.c
ysdeps/linux-gnu/metag/ptrace.h
ysdeps/linux-gnu/metag/regs.c
ysdeps/linux-gnu/metag/signalent.h
ysdeps/linux-gnu/metag/syscallent.h
ysdeps/linux-gnu/metag/trace.c
1ad42523638fd49c1200cbf81ba6a39f864c91cb 22-Mar-2013 Petr Machata <pmachata@redhat.com> Fix a problem in lookup of typedef X_* when X is an intrinsic type
ead_config_file.c
estsuite/ltrace.main/parameters2.exp
904ffaa0b8711b4841de68a1f3cd96c6eca1a5e4 19-Mar-2013 Petr Machata <pmachata@redhat.com> Add a test case for tracing dlopened libraries in attached processes
estsuite/ltrace.minor/attach-process-dlopen.exp
df2c88cec5bf17a92f0d5d740e3b756f00b798c6 19-Mar-2013 Petr Machata <pmachata@redhat.com> The same work needs to be done on attach as when _start is hit

- Extract the logic to a separate function, called from open_pid and
entry_breakpoint_on_hit.

- Since there is no other way to get on dyn_addr in open_pid anyway,
simply look for the main library, and read it there. That means we
don't need to track that information at entry_breakpoint anymore,
and we can get rid of struct entry_breakpoint.
reakpoints.c
roc.c
roc.h
3aac545b7947db4225a37408bc1c765d5e32ff7c 19-Mar-2013 Petr Machata <pmachata@redhat.com> ltrace.exp: Flags called -l* encode shared libraries to link against
estsuite/lib/ltrace.exp
7725d4b171138e8d2b77c8a1186e9f8215b6c91f 19-Mar-2013 Petr Machata <pmachata@redhat.com> Use CBS_STOP_IF instead of hand-coding the same

- In cb_breakpoint_for_symbol, we would need CBS_FAIL_IF. But
CBS_FAIL isn't properly handled anywhere. The iterator client user
must provide alternate means of signalling errors anyway (e.g. a
flag passed in data) anyway. So convert this to CBS_STOP_IF, the
caller already assumes all stops are failures.
roc.c
8be68ff436d32e803907e6dda3dc994c495d2f1e 19-Mar-2013 Petr Machata <pmachata@redhat.com> open_one_pid doesn't return boolean, but <0 on error

- This compiles down to the exact same code, but we want to be clear
about the calling convention.
roc.c
f70812ec281a829ca7a758337aacec58eca41550 18-Mar-2013 Petr Machata <pmachata@redhat.com> Fix exit before parsing options

- The function destroy_global_config was called from normal_exit even
if init_global_config hadn't been called before, such as when ltrace
was run with no command line arguments. This led to crashes. We
avoided similar crashes due to exit from init_global_config by
calling _Exit instead.

- Instead, schedule execution of destroy_global_config only after it
is known that init_global_config was successful. Replace the clumsy
_Exit calls again by plain exit.
ibltrace.c
rototype.c
rototype.h
a43b2a0206419a31691d61f37b3a6789204ba503 12-Mar-2013 Petr Machata <pmachata@redhat.com> Do not ignore rules after '+'
ptions.c
a2c270e86913ab93c41cdd61055d7c2b71b10fa1 12-Mar-2013 Petr Machata <pmachata@redhat.com> Fix compilation

- GCC points out that the constant in dict.c that we use
for computing string hashes is not implicitly unsigned.

- When building without unwinding support, we can't access
ifdef'd-out fields. I remember having writted it this way
to increase exposure of the error handling code for syntax
checks, but it can't work.
ict.c
roc.c
ece8441cdeefd468cc3137550d4aca0a41e0955a 06-Feb-2013 Petr Machata <pmachata@redhat.com> Add known-good ARM arches to README
EADME
f25af517a06521f69fbc53eaf3c245a7a2298c75 06-Feb-2013 Petr Machata <pmachata@redhat.com> ARM cleanups
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/arm/regs.h
ysdeps/linux-gnu/arm/trace.c
8a7a9f59e75c8605ca8206294b7729d0fd70f11f 06-Feb-2013 Petr Machata <pmachata@redhat.com> ARM: Stack slot is always aligned to at least 4 bytes
ysdeps/linux-gnu/arm/fetch.c
88a0fe50a3fad351cf28ef3902dbd0dd3540735c 06-Feb-2013 Petr Machata <pmachata@redhat.com> VFP shouldn't be used for parameter passing in vararg functions on ARM
ysdeps/linux-gnu/arm/arch.h
ysdeps/linux-gnu/arm/fetch.c
2a102987aa3583449e6bf56060bf5c8129ee8cd2 06-Feb-2013 Petr Machata <pmachata@redhat.com> Simplify the code for ARM parameter passing
ysdeps/linux-gnu/arm/fetch.c
1c8596d41dde12f9af6a21035fac0c64f428ab76 06-Feb-2013 Petr Machata <pmachata@redhat.com> Implement VFP parameter passing for ARM backend
ysdeps/linux-gnu/arm/fetch.c
982cbca34b2b49a158086ff5f43eb9bba89edead 06-Feb-2013 Petr Machata <pmachata@redhat.com> Move get_hfa_type from IA64 backend to type.c, name it type_get_hfa_type
ysdeps/linux-gnu/ia64/fetch.c
ype.c
ype.h
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.
ysdeps/linux-gnu/arm/fetch.c
estsuite/ltrace.main/parameters.exp
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.
ysdeps/linux-gnu/arm/fetch.c
ysdeps/linux-gnu/arm/trace.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.
ysdeps/linux-gnu/arm/Makefile.am
ysdeps/linux-gnu/arm/arch.h
ysdeps/linux-gnu/arm/fetch.c
427a43ee9972763993a1241815d56921f30623ef 05-Feb-2013 Petr Machata <pmachata@redhat.com> Add arch_type_sizeof, arch_type_alignof to ARM backend
ysdeps/linux-gnu/arm/arch.h
ysdeps/linux-gnu/arm/trace.c
5c37171a18bddfbc716d4f3da8b008a844eea4f7 05-Feb-2013 Petr Machata <pmachata@redhat.com> Add elf_can_read_next
trace-elf.c
trace-elf.h
184779e4e8a42f2e9e7f3cee4bf4eb31e8c84ee4 05-Feb-2013 Petr Machata <pmachata@redhat.com> Add elf_read_{,next_}uleb128
trace-elf.c
trace-elf.h
439ab5bfac8588e52c77e22c96fb397787512d0e 05-Feb-2013 Petr Machata <pmachata@redhat.com> Add elf_read_next_u*

For stream-like reading of ELF data.
trace-elf.c
trace-elf.h
3c636fb789a29cac0c8f7f0982fb17afeee489dc 05-Feb-2013 Petr Machata <pmachata@redhat.com> Add elf_read_u8
trace-elf.c
trace-elf.h
99b19eb1bb736d7066026894aa69e70de8a03094 05-Feb-2013 Petr Machata <pmachata@redhat.com> elf_get_section_* should return 0 if section wasn't found

Otherwise it won't be possible to differentiate between an error and
not-found condition. It seems some callers (MIPS, PPC backends) already
count on that behavior anyway.
trace-elf.c
trace-elf.h
ysdeps/linux-gnu/ppc/plt.c
f2d5f79591fdb1a22b4e7c8e4cbb8274dc7daa40 31-Jan-2013 Petr Machata <pmachata@redhat.com> Add ARM singlestepping test suite to Makefile.am
estsuite/ltrace.torture/Makefile.am
4dcc3893d488d19c7606acfa80752babbbe04645 30-Jan-2013 Petr Machata <pmachata@redhat.com> Drop return_addr from struct process

- The only interesting use seems to be in output.c, but there we assume
we are working with top-of-callstack anyway, and store fetch context
there, so we can simply fetch the return address this way as well.
andle_event.c
utput.c
roc.h
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.
reakpoints.c
andle_event.c
roc.h
ysdeps/linux-gnu/arm/breakpoint.c
ysdeps/linux-gnu/arm/regs.c
e50355295eac26e15db259fbb7ff705487b501d0 30-Jan-2013 Petr Machata <pmachata@redhat.com> Drop useless argument from breakpoint_clone
reakpoint.h
reakpoints.c
roc.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.
ackend.h
ysdeps/linux-gnu/alpha/regs.c
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/ia64/regs.c
ysdeps/linux-gnu/m68k/regs.c
ysdeps/linux-gnu/mips/regs.c
ysdeps/linux-gnu/ppc/regs.c
ysdeps/linux-gnu/s390/regs.c
ysdeps/linux-gnu/sparc/regs.c
ysdeps/linux-gnu/x86/regs.c
7fc98ee3538bdcc898b785c26d275b0661bfdc8b 29-Jan-2013 Petr Machata <pmachata@redhat.com> Instead of smuggling the vfork return breakpoint back, ref it once more

- Before we would let the breakpoint be removed and later reinserted it.
But that's unnecessarily cumbersome, and besides breaks on ARM Thumb,
where the reinserted breakpoint would be ARM breakpoint instead of
Thumb. This is easier and fixes that issue.
ysdeps/linux-gnu/trace.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.
ysdeps/linux-gnu/arm/regs.h
ysdeps/linux-gnu/arm/trace.c
dc70e76a94f842e2b8eaf0b9c2aabb829dc4826a 23-Jan-2013 Petr Machata <pmachata@redhat.com> Add proc_read_8
roc.c
roc.h
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.
ysdeps/linux-gnu/arm/regs.h
ysdeps/linux-gnu/arm/trace.c
6e5e2de1728215679e83df6943c34573c1384e32 21-Jan-2013 Petr Machata <pmachata@redhat.com> GNU/Linux software singlestepping: store breakpoints, not addresses

The reason being that the actual breakpoint address might be different
from the address requested. One example is Thumb, where Thumb
breakpoints are requested for address+1 (lowest bit set). Whether
this is clean solution is very questionable though.
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/trace.h
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.
ysdeps/linux-gnu/arm/trace.c
6b9664af2e87596055eaab59492e79bfd1527dab 21-Jan-2013 Petr Machata <pmachata@redhat.com> ptrace takes void* arguments

This might be relevant on Android.
ysdeps/linux-gnu/arm/regs.c
1721fc956dfe30fd5dc5a49238c376ccbfdfd9d9 21-Jan-2013 Petr Machata <pmachata@redhat.com> Extract the function bitcount to a separate module
akefile.am
its.c
its.h
ens_default.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.
ysdeps/linux-gnu/arm/Makefile.am
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/arm/regs.h
ysdeps/linux-gnu/arm/trace.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.
ysdeps/linux-gnu/arm/arch.h
ysdeps/linux-gnu/arm/trace.c
estsuite/ltrace.torture/arm-singlestep.exp
273890e09616b8fe0b9b015ea8edda12c52d4ba2 08-Mar-2013 Petr Machata <pmachata@redhat.com> Port MIPS backend to the new dict code
ysdeps/linux-gnu/mips/trace.c
3d532acd06ba82f182adcf4dc5bcb2cfa2d857d4 08-Mar-2013 Petr Machata <pmachata@redhat.com> Fix a comment at DICT_HAS_KEY
ict.h
c1f1bf45249c853ba02e3f995cf7e1c399526d94 09-Jan-2013 Petr Machata <pmachata@redhat.com> Rewrite pending_new_remove

- This is hopefully more idiomatic. It also doesn't suffer of
use-after-free as the old version did.
andle_event.c
5ca9b6fb48aaaefdf34039d32267a02e76f4ceb8 09-Jan-2013 Petr Machata <pmachata@redhat.com> Replace one manual loop in glob.c with a call to memchr

- In the process, get rid of use of uninitialized i for cases that
length is 0. Since length should be > 0 anyway in that code, add
an assert covering that.
lob.c
aeb549016d8f536ca007ff0943f9583389dff121 09-Jan-2013 Petr Machata <pmachata@redhat.com> Section flags need to be initialized in failing branches as well
trace-elf.c
02ecb499445a441cd1ceec4cfb00fab59ce0b23b 09-Jan-2013 Petr Machata <pmachata@redhat.com> Fix error message in read_symbol_table
trace-elf.c
84c8c722654548ed1cef5ba183a2198aad089836 09-Jan-2013 Petr Machata <pmachata@redhat.com> GNU/Linux x86 backend: allocate_stack_slot needs non-NULL valuep
ysdeps/linux-gnu/x86/fetch.c
52173f05eada6fab209e4f890b507ebaec32c163 09-Jan-2013 Petr Machata <pmachata@redhat.com> GNU/Linux x86 backend: don't pass valuep to functions that don't need it
ysdeps/linux-gnu/x86/fetch.c
f0d248aab596acd802668990793413180bb21f79 09-Jan-2013 Petr Machata <pmachata@redhat.com> Plug a leak in error path of ltelf_read_main_binary
trace-elf.c
6bf1e6abb46255456d307bb73432d8733978e5fd 09-Jan-2013 Petr Machata <pmachata@redhat.com> GNU/Linux: close opendir stream in error handling branches of process_tasks
ysdeps/linux-gnu/proc.c
0441bafdfecfb9d475912d6ca6e4abe6a66664d6 09-Jan-2013 Petr Machata <pmachata@redhat.com> Coding style: annotate a fall-through in printf.c
rintf.c
8e682c2763991227c1492cb17aa0744eb04bc0a0 09-Jan-2013 Petr Machata <pmachata@redhat.com> Convert two if-aborts to asserts

- The previous conditions also used the wrong operator.
- While there, fix a number of typos in variable names.
andle_event.c
2834f72014dc8b13ba13b9a06da744dd023f3555 09-Jan-2013 Petr Machata <pmachata@redhat.com> In summary.c, use vect instead of allocating things by hand
ummary.c
0450f2a3e6319bd46d953bda90f5a5ad7802212e 09-Jan-2013 Petr Machata <pmachata@redhat.com> Add vect_qsort, VECT_QSORT
ect.c
ect.h
9978de4b7dace794a7e353fdf9985114fada5add 08-Jan-2013 Petr Machata <pmachata@redhat.com> Put asserts to branches of handle_event switch where this ought to hold
andle_event.c
754ce881453ee3b6c6a93bbdaef7c645f43d49f6 08-Jan-2013 Petr Machata <pmachata@redhat.com> GNU/Linux backend: guard writing through task_info pointer against NULL
ysdeps/linux-gnu/trace.c
d435b43c338a692531af0fe3df29cb968a863403 08-Jan-2013 Petr Machata <pmachata@redhat.com> There are no escapes in glob ranges

- This is dead code
lob.c
8c3674c86688a79a8689772c3d0c84d6e7aaa118 08-Jan-2013 Petr Machata <pmachata@redhat.com> Fix conditions in elf_read_u{16,32,64}

- The calling convention of need_data is 0 on success, <0 on failure.
The condition seems to have it all mixed, using both a ! and a
comparison.
trace-elf.c
5c5d48092beb90c903461db6a90db2ed73198306 08-Jan-2013 Petr Machata <pmachata@redhat.com> Fix error message in proc_add_library, when latent symbol activation fails

- In fact, libsym->name would cause a SIGSEGV.
roc.c
c4763a0aba5a9c4e12f024991bf3f73e6860e33e 08-Jan-2013 Petr Machata <pmachata@redhat.com> proc_each_library should iterate from passed-in iterator non-inclusive

- the semantics should be start_after, as in other cases in ltrace
roc.c
de98cb698d69ccbbb4388a6401a27897ba02371a 08-Jan-2013 Petr Machata <pmachata@redhat.com> Convert one void* to arch_addr_t in x86 backend
ysdeps/linux-gnu/x86/fetch.c
7e3f650f22b7161f897532aad808d3b8f61fd6f4 08-Jan-2013 Petr Machata <pmachata@redhat.com> VECT_ELEMENT never returns NULL
ype.c
aafb00b7d7751049b99cac3953b5021e4f474ac4 08-Jan-2013 Petr Machata <pmachata@redhat.com> Don't add 1 to potentially NULL pointer comming from rindex
trace-elf.c
f56d129435a34c415214b1ce00b7c23e28ed1c02 07-Jan-2013 Petr Machata <pmachata@redhat.com> Fix cleanup in process_clone fail path

The original code was releasing the original memory, not the clone,
and single block would be released potentially many times. This led
to severe memory errors.
roc.c
d19b91640b2d1bcfeef14d029891dd93217b9c24 07-Jan-2013 Petr Machata <pmachata@redhat.com> Properly handle partial success when cloning a library

The cloned library may have been allocated, but not initialized. It
is not correct to destroy such library, only the memory needs to be
released.
ibrary.c
roc.c
baf00e4ebd96bba26804696fbee73e662678ef6a 07-Jan-2013 Petr Machata <pmachata@redhat.com> Unlist the process if its addition fails

- add_process returns -1 on failures
- in process_bare_init, when we fail to initialize the process, but it
already was added, unlist it before bailing out.
roc.c
33f0ca5350ccc9ded3a2bfa82a988e9bd640233f 07-Jan-2013 Petr Machata <pmachata@redhat.com> Streamline some os_get_config_dirs for GNU/Linux

- Extract strlen($HOME) computation out of if branches
- Replace stpcpy+strcpy with a clearer call to sprintf
ysdeps/linux-gnu/hooks.c
6095c137753bfed617212bf0d9db8328584ca6e6 07-Jan-2013 Petr Machata <pmachata@redhat.com> Fix tracing for cases of failures in process_clone

There is some bookkeeping that needs to be done even when we won't be
able to trace the cloned process.
andle_event.c
1b02c7398257f4b62cde3907c8f2d3b8348c2f74 07-Jan-2013 Petr Machata <pmachata@redhat.com> Tolerate failures in fetch_arg_init

- On this failure, as well as failure to allocate value_dict, ??? should
be shown instead of function arguments to indicate the failure.
utput.c
aacb95e73bd532bb11fbe4005fe28286ecb2d38d 07-Jan-2013 Petr Machata <pmachata@redhat.com> Improve error message in process_status backend call for GNU/Linux
ysdeps/linux-gnu/proc.c
b1ab2aefa199ea8e14e29bac78ae71030c2d4863 07-Jan-2013 Petr Machata <pmachata@redhat.com> Consolidate two duplicate conditional strdup wrappers to strdup_if

- Convert callers in prototype.c and library.c
- Current placement in library.c is somewhat arbitrary. There
currently doesn't seem to be a more suitable place.
- The behavior subtly changed: in case of failure, RET is now
unaffected.
ommon.h
ibrary.c
rototype.c
395a4e3ad6b03949fbe0a2818bfdec738da1c281 07-Jan-2013 Petr Machata <pmachata@redhat.com> Add guards around options.h
ptions.h
e56fe644f725f2c1c8308e7c2b5f9cd02e89eed0 07-Jan-2013 Petr Machata <pmachata@redhat.com> Protolib cache fails when attempt is made to cache NULL
rototype.c
4e553c020b0e621bc15d76296990d06e47cf29f9 07-Jan-2013 Petr Machata <pmachata@redhat.com> Tolerate the failure to add _r_debug breakpoint
ysdeps/linux-gnu/proc.c
3717f290b3538f7a9fca534c0b96f513884c8745 06-Jan-2013 Petr Machata <pmachata@redhat.com> Fix formatting of error messages in proc_add_library
roc.c
af1e603fa8afd1ed0f1819a984c57311efbc7f1f 06-Jan-2013 Petr Machata <pmachata@redhat.com> Tolarate failures in initialization of unwinding

Output should verify whether unwinding was properly initialized. Said
initialization should be skipped altogether unless requested on
command line.
utput.c
roc.c
f9f3df4c9e232dc06b769daa5edf489675c5cdfc 06-Jan-2013 Petr Machata <pmachata@redhat.com> Don't destroy global protolib cache when (pre-)initialization of the same fails
rototype.c
ec44669817ae71771cfc3dd08869e370c52ad80c 06-Jan-2013 Petr Machata <pmachata@redhat.com> Better error messages when rule compilation fails
ptions.c
f1bd48b7aaa1a2155180052cb2bf73985b4b0b2d 25-Dec-2012 Petr Machata <pmachata@redhat.com> Simplify get_unknown_type

There's no point allocating the unknown type dynamically.
utput.c
8dc71a2561afc99411374dc04d4881439581bf9b 15-Dec-2012 Petr Machata <pmachata@redhat.com> Update prototypes of random generating functions
tc/ltrace.conf
7f1d856ea4882a23461886d0f589244cc11f0b2f 13-Dec-2012 Petr Machata <pmachata@redhat.com> Fix memory errors

With this, valgrind run of ltrace on x86_64 is clean.
rototype.c
rototype.h
ead_config_file.c
93eb0ee606dc4425cc2f1019f5e549acf77f40b0 13-Dec-2012 Petr Machata <pmachata@redhat.com> destroy_global_config should always be called, not only for -c
ibltrace.c
9e8460d115be96984fa104411982f77bef952ed3 06-Dec-2012 Petr Machata <pmachata@redhat.com> Add a test for per-library configuration files
estsuite/ltrace.main/Makefile.am
estsuite/ltrace.main/parameters3.exp
36a2b2565068bf4f8fa0a5edfb844a61afb50683 06-Dec-2012 Petr Machata <pmachata@redhat.com> Add ltraceDir, ltraceNamedSource

Also, WipeFiles now erases files in reverse order, so that files are
removed before the directory that contains them. This is to avoid
having to use file delete -force. Tcl is a fragile language, and
deleting $HOME is but a slip of a variable away.
estsuite/lib/ltrace.exp
e8701b4cc4333dbc5e3c683468fa8fb077977ba6 06-Dec-2012 Petr Machata <pmachata@redhat.com> Move ltraceParamTest from parameters2.exp to ltrace.exp, name ltraceLibTest

Also, change the semantics: ltraceLibTest doesn't do matching anymore,
but is a wrapper around several ltraceSource, ltraceCompile and
ltraceRun. Matching is done by the callee. This allows us to choose
the exact matcher to use.
estsuite/lib/ltrace.exp
estsuite/ltrace.main/parameters2.exp
4c4e4012db96aee7ef236c0684690842fb6a3e47 06-Dec-2012 Petr Machata <pmachata@redhat.com> Load $HOME/.ltrace.conf and @sysconfdir@/ltrace.conf if available

When one of these is found, it becomes part of implicit import module.
rototype.c
rototype.h
364753a1cfe46998946a42badd9099591a00325a 06-Dec-2012 Petr Machata <pmachata@redhat.com> New backend hook os_get_ltrace_conf_filename and Linux implementation
ackend.h
ysdeps/linux-gnu/hooks.c
881e1fd61524bd916cdce782f8d3beadd7e5aaec 05-Dec-2012 Petr Machata <pmachata@redhat.com> Don't attempt to count records if the dictionary hasn't been created
ummary.c
a5e983bd5555c496a209f3e3a48e2826940b09f5 05-Dec-2012 Petr Machata <pmachata@redhat.com> Add ownership tracking to prototype module
utput.c
rototype.c
rototype.h
a94d9dfc864c261717de8859aa49bb758eccac90 17-Dec-2012 Petr Machata <pmachata@redhat.com> For LS_TOPLT_EXEC symbols, consult all available libraries

Those are PLT symbols, and their prototype is likely defined in a
configuration file for library other than where the symbol is defined.
If this "home" library doesn't have the prototype, consult all
libraries mapped in the process image.
utput.c
567399a16ca50e59332293bb34ee37660d4068c9 05-Dec-2012 Petr Machata <pmachata@redhat.com> Add two iteration helpers, CBS_STOP_IF, CBS_CONT_IF

Ltrace uses iterators extensively. Many callbacks end with some sort
of if/else switch that returns either CBS_STOP or CBS_CONT. These
macros capture that logic.
allback.h
8ab151c2a1912819e77f83c154c18bc894bc5785 05-Dec-2012 Petr Machata <pmachata@redhat.com> consider_config_dir should return protolib, not callback status
rototype.c
08cdf328add7b723b94b151866e5d0173662f6c6 05-Dec-2012 Petr Machata <pmachata@redhat.com> Start using per-library config files

We have one global cache, initialized in init_global_config.
output.c was adjusted to load per-library config files on
demand from that cache.
utput.c
rototype.c
rototype.h
ead_config_file.c
ead_config_file.h
f70074cd77f82182cb234b673cad3e9618a52843 05-Dec-2012 Petr Machata <pmachata@redhat.com> Each struct library should have its own struct protolib

This is enough for handling -x symbols. For handling -e however, we will
need a per-process library that's incrementally built according to what's
mapped in.
ibrary.c
ibrary.h
82ce0f8e3aefc3f833e7059f3cedeacedca0cad2 05-Dec-2012 Petr Machata <pmachata@redhat.com> Add code for protolib cache

This doesn't yet handle autoloading of /etc/ltrace.conf, but the algorithms
are all in.
rototype.c
rototype.h
ead_config_file.c
ead_config_file.h
13c939cb455d4881701e2da1bd770de0b3afc788 05-Dec-2012 Petr Machata <pmachata@redhat.com> read_config_file.c: In "unknown type" error, show the piece that caused it
ead_config_file.c
e7be390210e6be64d21fa0c4b71d6fcfc45f4dcf 05-Dec-2012 Petr Machata <pmachata@redhat.com> In opt_F_get_kind, allow symbolic links

lstat should see through them, but bash process substitution produces
files that report themselves as symlinks even to lstat.
ptions.c
414989183b268337a4f7e329237f3c1fd726d823 04-Dec-2012 Petr Machata <pmachata@redhat.com> Implement os_get_config_dirs for gnu-linux backend
ysdeps/linux-gnu/Makefile.am
ysdeps/linux-gnu/hooks.c
418584d25da07c5a9f7a61b74cfe713c1f8d7085 04-Dec-2012 Petr Machata <pmachata@redhat.com> Convert opt_F_t to support directories as well as files, store in vector

Also allow parsing colon-separated lists into opt_F. This will be useful
for -F as well as for parsing some environment variables.

This removes bits related to default directories to look into. This will
eventually be moved to os_get_config_dirs, currently it's simply disabled.
The code in libltrace.c is currently incompatible with opt_F being a vector,
so it's disabled as well. Revamp of the whole configury shebang underway.
ibltrace.c
ptions.c
ptions.h
9af3f3ab7a8c44d94f944f15ece10109e6492930 04-Dec-2012 Petr Machata <pmachata@redhat.com> New backend call os_get_config_dirs
ackend.h
ac50cada8721a633a92d4978c86078c117d2ae87 04-Dec-2012 Petr Machata <pmachata@redhat.com> read_config_file: Use passed-in protolib instead of the global one
ead_config_file.c
7e6f2b3bd1c606c731a102f5417ff0caaf393f42 04-Dec-2012 Petr Machata <pmachata@redhat.com> The define -DSYSCONFDIR should be visible across the whole build

Also, drop libelf_CFLAGS from AM_CPPFLAGS. That's an obvious mismatch,
and all other libraries are configured in configure.ac.
akefile.am
onfigure.ac
d709493aa781583c64d2e4ef845b7cc813b23a9e 04-Dec-2012 Petr Machata <pmachata@redhat.com> configure.ac: Pass project URL to AC_INIT
onfigure.ac
8544173a14b5bb9e08474eda91be7e9be708129f 03-Dec-2012 Petr Machata <pmachata@redhat.com> read_config_file.c: Simplify get_hidden_int

There's no need to go through the parser. It may have been simpler when it
was written, but these days we need to create a fake library, allocate on
heap, duplicate strings... it's much easier to just initialize it by hand.
ead_config_file.c
e5ea57e57d265973e60ef83bbf44715f9c72e3d7 03-Dec-2012 Petr Machata <pmachata@redhat.com> Plug leaks in read_config_file

Now that prototype module stores prototypes and named types by value,
avoid unnecessary malloc's in read_config_file.c
ead_config_file.c
f7650d1e1c09e360a0cd27ee99b051cc9b127091 28-Nov-2012 Petr Machata <pmachata@redhat.com> Port prototype module to new dictionary
rototype.c
rototype.h
3f55bc8b8cdc0c795462c007b651b04ac354f96c 26-Nov-2012 Petr Machata <pmachata@redhat.com> In read_config_file.c, pass around plib ref where prototypes should be put
ead_config_file.c
bb04f57417d132a2f4aeb738d7f47acbdbbbf457 24-Nov-2012 Petr Machata <pmachata@redhat.com> Add test for "addr" type
estsuite/ltrace.main/parameters2.exp
5a6efa8ed303ef0129e630e968cc7f6602d6576f 24-Nov-2012 Petr Machata <pmachata@redhat.com> read_config_file uses protolib to keep typedefs

This still uses only a single global prototype library, but most of
custom config-reader-only code has been eliminated in favor of
prototype module.
ead_config_file.c
3ac9b91974678878889776221c390f39f5c2ffcf 24-Nov-2012 Petr Machata <pmachata@redhat.com> Implement more of prototype.{c,h}
rototype.c
rototype.h
58f6487bba4be7da18752e3ce9065723fd9be71f 23-Nov-2012 Petr Machata <pmachata@redhat.com> Don't needlessly allocate "addr" and "file" types in init_global_config
ead_config_file.c
e6c00ae8228be812c7361b5e193779a81aa00cd8 23-Nov-2012 Petr Machata <pmachata@redhat.com> In read_config_file, pass around locus instead of using globals
orward.h
ibltrace.c
ead_config_file.c
ead_config_file.h
9117dab63337a8cb91741b5f170e8f2dab1e89b8 23-Nov-2012 Petr Machata <pmachata@redhat.com> Move some code around
ead_config_file.c
ebc56a70e20ca0b3fc49c0eb5fc83e56c5e1fa5b 17-Dec-2012 Petr Machata <pmachata@redhat.com> Introduce a module for managing prototypes and prototype libraries

This is to be used, eventually, for keeping one prototype library per DSO.
Right now we only have one prototype library, like before: g_prototypes.
Typedef submodule is not yet used, only prototypes are stored in the
protolib as of now.

The change in Makefile.am is actually an inclusion of prototype.{c,h}
followed by a rewrap of name lists.
akefile.am
ommon.h
utput.c
rototype.c
rototype.h
ead_config_file.c
daefa4a03e16b56e54c6116cec44153aff9dd3b7 23-Nov-2012 Petr Machata <pmachata@redhat.com> Use getline instead of static buffer in read_config_file
ead_config_file.c
9bc290b692c0b5075c6ea8e93f67a179572375f0 23-Nov-2012 Petr Machata <pmachata@redhat.com> Coding style in output.c
utput.c
756422773afa17f39d3296669eb66708557f7d3c 23-Nov-2012 Petr Machata <pmachata@redhat.com> Drop obsolete timezone arguments in calls to gettimeofday
utput.c
7ac04edc87e07fc68f94274ba3ff0fb2a0a98958 23-Nov-2012 Petr Machata <pmachata@redhat.com> Clarify a parameter name in proc_each_library declaration
roc.h
8bf82d0625c5704d31961db7e0458b247300275c 23-Nov-2012 Petr Machata <pmachata@redhat.com> Move opt_c_struct and dict_opt_c from common.h to options.h
ommon.h
ptions.h
utput.c
3ac8db64ad80c4afacf06a97d0163c9f3f2c9e17 23-Nov-2012 Petr Machata <pmachata@redhat.com> Move demangling-related code from common.h to demangle.h

Adjust users accordingly.
ommon.h
emangle.c
emangle.h
ptions.c
utput.c
fdfcf7b9ee01db4f16bea836e5f1b397376afbb6 23-Nov-2012 Petr Machata <pmachata@redhat.com> Add destroy_global_config. Call it on shutdown

This is for symmetry with init_global_config.
ibltrace.c
ead_config_file.c
ead_config_file.h
1c7b3d9830b8e524a25e9bf43461cbdaad4f1e1a 23-Nov-2012 Petr Machata <pmachata@redhat.com> read_config_file.c: Plug a leak in allocation of typedef identifier name
ead_config_file.c
6967b3977128dd004d13981a1fc283cb1462287d 23-Nov-2012 Petr Machata <pmachata@redhat.com> read_config_file.c: new_typedef could fail
ead_config_file.c
3d083b6326ab15015979c97c884a6104c1fa65f5 22-Nov-2012 Petr Machata <pmachata@redhat.com> Rename struct Function to struct prototype. Don't typedef it

Rationale: more fitting name and coding style
ommon.h
utput.c
ead_config_file.c
98ff309cdc98857eb30992f108439cb7d7673598 08-Mar-2013 Petr Machata <pmachata@redhat.com> Change DICT_FIND to DICT_FIND_{REF,VAL}

- In many places, DICT_FIND was awkward to use, as it required the use
of pointers even in cases that the dictionary already stored
pointers. For those cases, add DICT_FIND_VAL.

- Rename the original DICT_FIND to DICT_FIND_REF to make the
disctinction clear. That is useful if the dictionary holds actual
structures.
reakpoints.c
emangle.c
ict.c
ict.h
utput.c
roc.c
ysdeps/linux-gnu/trace.c
b658d4f2204c596f54813cdb80d668bb4656d598 13-Dec-2012 Petr Machata <pmachata@redhat.com> Clarify a comment in dict.c
ict.c
82fa4c470a908ab4fc6713d120ae87b278edeacf 05-Dec-2012 Petr Machata <pmachata@redhat.com> dict.c: Privatize a couple functions, add a couple asserts
ict.c
38bcdbe5d04749403e2197cca0d56397cb2da7c7 04-Dec-2012 Petr Machata <pmachata@redhat.com> Fix namespace pollution in vect.h, dict.h
ict.h
ect.h
8a9ad0863d8019360d96bbbd4460ffc7a8757933 04-Dec-2012 Petr Machata <pmachata@redhat.com> options.h needs to include sys/time.h for struct timeval tv
ptions.h
3535932c3d656571aa4e282312ca95f4fe0587f1 23-Nov-2012 Petr Machata <pmachata@redhat.com> Fix moving tail ahead in vect_erase

The argument to memmove needs to be number of bytes, not number of slots.
ect.c
c28410e3f4bb4d40e48d58440800fbb080b2e3d6 23-Nov-2012 Petr Machata <pmachata@redhat.com> Add vect_erase, VECT_ERASE. VECT_POPBACK needs a dtor

vect_popback and VECT_POPBACK are now defined in terms of vect_erase and
VECT_ERASE, respectively.
ens_default.c
ect.c
ect.h
3e86576623d16c5032af4d50108eb878166fb686 28-Nov-2012 Petr Machata <pmachata@redhat.com> Add dict_{dtor,clone}_string

... because it's bound to come up often.
ict.c
ict.h
2718e3fdab7a3ac75dad45c6969f1aeb4a159a68 28-Nov-2012 Petr Machata <pmachata@redhat.com> Fixes for dict code
reakpoints.c
ict.c
d7e4ca82e1cf20bb2605befb1da74dd1688c706e 28-Nov-2012 Petr Machata <pmachata@redhat.com> Rewrite dict module to be more in line with vect

It's now a bit more strongly typed, can grow and shrink on demand, and has
a more complete interface.
It uses open addressing scheme to store hashes.
reakpoints.c
ommon.h
emangle.c
ict.c
ict.h
ibrary.c
ibrary.h
utput.c
roc.c
roc.h
ummary.c
ysdeps/linux-gnu/mips/trace.c
ysdeps/linux-gnu/trace.c
dd5320340d6889a78027abed2a346cf907153d02 05-Mar-2013 Petr Machata <pmachata@redhat.com> Add AC_SYS_LARGEFILE to configure.ac

inode numbers in modern filesystems often exceed the 32-bit address
space. If that happens, calling 32-bit stat (as would be the case on
a 32-bit machine when largefile support is not enabled) fails with
EOVERFLOW despite us not needing those values at all.

AC_SYS_LARGEFILE enables largefile support if possible. This defines
_FILE_OFFSET_BITS in config.h, so that file needs to be included in
files that use stat.
onfigure.ac
a9d6a6732c5b0b692a40ac073695332078a73738 05-Mar-2013 Petr Machata <pmachata@redhat.com> Remove hacks for SPARC code

Simply continuing on SPARC is probably broken. The breakpoint isn't
disabled at that point, and continuing just hits it again.

That __ia64___ in ifdef is never defined even on an IA64 machine.
It's a typo, note the three underscores.
ysdeps/linux-gnu/trace.c
bc0de433c25d224cf5f4743ba4a78131267c532d 16-Feb-2013 Oliver Spornitz <ospornit@rz-online.de> mips: Move mipsel to mips (3/3)

- move files from sysdeps/linux-gnu/mipsel to sysdeps/linux-gnu/mips
- move mipsel.h to mips.h
ysdeps/linux-gnu/mips
ysdeps/linux-gnu/mips/Doxyfile
ysdeps/linux-gnu/mips/Makefile.am
ysdeps/linux-gnu/mips/arch.h
ysdeps/linux-gnu/mips/mips.h
ysdeps/linux-gnu/mips/plt.c
ysdeps/linux-gnu/mips/ptrace.h
ysdeps/linux-gnu/mips/regs.c
ysdeps/linux-gnu/mips/signalent.h
ysdeps/linux-gnu/mips/syscallent.h
ysdeps/linux-gnu/mips/trace.c
ysdeps/linux-gnu/mipsel/Doxyfile
ysdeps/linux-gnu/mipsel/Makefile.am
ysdeps/linux-gnu/mipsel/arch.h
ysdeps/linux-gnu/mipsel/mipsel.h
ysdeps/linux-gnu/mipsel/plt.c
ysdeps/linux-gnu/mipsel/ptrace.h
ysdeps/linux-gnu/mipsel/regs.c
ysdeps/linux-gnu/mipsel/signalent.h
ysdeps/linux-gnu/mipsel/syscallent.h
ysdeps/linux-gnu/mipsel/trace.c
eb7e05a8d48939a5feb84ae6befac8d66fbd8bed 16-Feb-2013 Oliver Spornitz <ospornit@rz-online.de> mips: Move mipsel to mips (2/3)

- trailing whitespace cleanup in files to move
ysdeps/linux-gnu/mipsel/Doxyfile
ysdeps/linux-gnu/mipsel/mipsel.h
32ea1b1eaad1a07a120811bca9dd9f3524cc9256 16-Feb-2013 Oliver Spornitz <ospornit@rz-online.de> mips: Move mipsel to mips (1/3)

- move references from mipsel to mips
- move references from mipsel.h to mips.h
onfigure.ac
ysdeps/linux-gnu/Makefile.am
ysdeps/linux-gnu/mipsel/Doxyfile
ysdeps/linux-gnu/mipsel/Makefile.am
ysdeps/linux-gnu/mipsel/mipsel.h
ysdeps/linux-gnu/mipsel/plt.c
ysdeps/linux-gnu/mipsel/regs.c
ysdeps/linux-gnu/mipsel/trace.c
6bb420106f77ef8f134a1d4c001668e832f96cc9 14-Feb-2013 Andrey Zonov <zont@FreeBSD.org> Fix build with Clang on FreeBSD
reakpoints.c
lob.c
ens_default.c
ptions.c
utput.c
67f7adebdea215a583df9536e874ecd1a4162c4e 10-Feb-2013 Oliver Spornitz <ospornit@rz-online.de> Fix only first argument decoded on MIPS uClibc
emstream.c
4c81bf1e99bfc0b148f7a50b4aeeb7d43b878b2f 04-Feb-2013 Oliver Spornitz <ospornit@rz-online.de> Fix SIGSEGV on MIPS big endian
ysdeps/linux-gnu/mipsel/arch.h
057caa59fc0063bd73568b0ae19bbf668b572737 30-Jan-2013 Petr Machata <pmachata@redhat.com> Introduce continue_after_exec

This needs to be handled differently on non-Linux platforms.
ackend.h
andle_event.c
ysdeps/linux-gnu/trace.c
653085a32cdc89f5215c2d70249b58c9fe6aebb7 15-Jan-2013 Petr Machata <pmachata@redhat.com> Move byte-reading routines from PPC backend to generic code

- Use backend hook umovebytes to read the bytes from inferior.
roc.c
roc.h
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/ppc/trace.c
643c6460b64e37af58d8259d86689d414c6b4052 15-Jan-2013 Petr Machata <pmachata@redhat.com> Update call to arch_sw_singlestep

- After the refactoring, the prototype changed and it doesn't
return int anymore. Of course C happily implicitly converts
this. Ho hum.
ysdeps/linux-gnu/trace.c
693dfad9c1b121cf079a3082866daa2225df1797 14-Jan-2013 Petr Machata <pmachata@redhat.com> Rename atomic singlestep to software singlestep

- The old name came from PPC implementation, where the feature was used for
skipping atomic instructions. But this is more useful, was reused for
fully software singlestepping on MIPS, and will be similarly used for ARM.
So rename the interface, and make the prototype more explicit.
- Also document the method in backend.h.
- And convert several void*'s to arch_addr_t's while there.
ackend.h
ysdeps/linux-gnu/mipsel/arch.h
ysdeps/linux-gnu/mipsel/trace.c
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/trace.h
4b3bda4bae64b7e6722a48f830c55510c4a1ce8a 11-Jan-2013 Petr Machata <pmachata@redhat.com> Update documentation

- Add several missing options to synopsis in ltrace.1
- Synchronize naming of arguments between ltrace.1 and --help
- Fix formatting in ltrace.1 -- argument names should be in emphasis,
only the argument metavariables should.
trace.1
ptions.c
efd12cfb10ccd2c612838c0e22069554ce60637c 02-Jan-2013 Petr Machata <pmachata@redhat.com> In Linux backend, initialize linkmap struct

GCC 4.7.2 -m32 -Os gives the following (spurious) warning:
proc.c: In function 'crawl_linkmap':
proc.c:544:25: error: 'rlm.l_addr' may be used uninitialized in this
ysdeps/linux-gnu/proc.c
f44b28421979cec88d6d6a778fc27a8cd514f508 17-Dec-2012 Petr Machata <pmachata@redhat.com> Drop ltrace.spec

Upstream repository is no place to keep per-distribution artifacts.
My personal preference would be to drop the debian/ directory as well,
but that may perhaps have a place here, since we are hosted by Alioth.
trace.spec
71f25e25a4081b726e75026727483b6959dd8661 17-Dec-2012 Petr Machata <pmachata@redhat.com> Make enum ecb_status enumerators uppercase
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/events.h
ysdeps/linux-gnu/trace.c
96cb8e3111924780ed1d757e865a83f26421e616 17-Dec-2012 Petr Machata <pmachata@redhat.com> Make enumerators of process stopping status uppercase
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/trace.h
ade3b9798fbc62becbe1b4854f7a2d106498167a 17-Dec-2012 Petr Machata <pmachata@redhat.com> Make enum plt_status enumerators uppercase
ackend.h
trace-elf.c
trace-elf.h
ysdeps/linux-gnu/mipsel/plt.c
ysdeps/linux-gnu/ppc/plt.c
6dfc544b6aa6703d2292be34470aebf874d78452 17-Dec-2012 Petr Machata <pmachata@redhat.com> Make enum process_status enumerators uppercase

Rationale: coding style consistency.
ackend.h
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.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.
ackend.h
reakpoint.h
reakpoints.c
ebug.c
ebug.h
etch.c
etch.h
orward.h
andle_event.c
ibltrace.c
ibrary.c
ibrary.h
trace-elf.c
trace-elf.h
trace.h
utput.c
utput.h
roc.c
roc.h
ysdeps/linux-gnu/alpha/plt.c
ysdeps/linux-gnu/alpha/regs.c
ysdeps/linux-gnu/alpha/trace.c
ysdeps/linux-gnu/arm/breakpoint.c
ysdeps/linux-gnu/arm/plt.c
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/cris/plt.c
ysdeps/linux-gnu/cris/regs.c
ysdeps/linux-gnu/cris/trace.c
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/events.h
ysdeps/linux-gnu/ia64/fetch.c
ysdeps/linux-gnu/ia64/plt.c
ysdeps/linux-gnu/ia64/regs.c
ysdeps/linux-gnu/ia64/trace.c
ysdeps/linux-gnu/m68k/fetch.c
ysdeps/linux-gnu/m68k/plt.c
ysdeps/linux-gnu/m68k/regs.c
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/mipsel/plt.c
ysdeps/linux-gnu/mipsel/regs.c
ysdeps/linux-gnu/mipsel/trace.c
ysdeps/linux-gnu/ppc/fetch.c
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/ppc/regs.c
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/s390/fetch.c
ysdeps/linux-gnu/s390/plt.c
ysdeps/linux-gnu/s390/regs.c
ysdeps/linux-gnu/s390/trace.c
ysdeps/linux-gnu/sparc/plt.c
ysdeps/linux-gnu/sparc/regs.c
ysdeps/linux-gnu/sparc/trace.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/trace.h
ysdeps/linux-gnu/x86/fetch.c
ysdeps/linux-gnu/x86/plt.c
ysdeps/linux-gnu/x86/regs.c
ysdeps/linux-gnu/x86/trace.c
ype.c
ype.h
alue.c
alue.h
5cde20b3588001c9c3a51e0e7b902fff58393706 15-Dec-2012 Petr Machata <pmachata@redhat.com> Update the --version string to be in sync with what's in GNU coding style

Also add myself (or rather Red Hat) as a copyright holder.
ptions.c
4392d965241b7ce8294d4cc53077eaa6a1132147 14-Dec-2012 Petr Machata <pmachata@redhat.com> Ditch the unbuffered IO in xinfdump

I don't believe this is honestly necessary, normal debug() calls go
through stderr stream, and stderr should be unbuffered by default
anyway. If this is honestly important, we might consider using
dprintf instead, and go through fprintf only when that's unavailable
(it's in POSIX 2008, so relatively recent and presumably not widely
available).
ebug.c
ebug.h
d15283b6f07ac022cee18e0d3198b23f132e609d 10-Dec-2012 Petr Machata <pmachata@redhat.com> linux-uclibc* targets should be handled by linux-gnu backend as well
onfigure.ac
fe58c61822de38298499bedb69fe94982b3fa579 10-Dec-2012 Petr Machata <pmachata@redhat.com> Update release number in configure.ac

This to mark the master branch as a work-in-progress, to-be-0.8.0.
onfigure.ac
3690fad65d26e4e140595d6c0075410a84ff22f5 10-Dec-2012 Petr Machata <pmachata@redhat.com> Allow for open_memstream to only be visible with _GNU_SOURCE
onfigure.ac
emstream.c
utput.c
7c4d311cdfd0bc3594abeb79ed30a36ac6f12597 09-Dec-2012 Petr Machata <pmachata@redhat.com> Don't rely on availability of strsignal
onfigure.ac
andle_event.c
35d073027e7633feb503a71d9035077b308a9faa 09-Dec-2012 Petr Machata <pmachata@redhat.com> Don't rely on availability of getopt_long
onfigure.ac
ptions.c
2ae374a196ca76406cd14503622060c2c5dc4cef 08-Dec-2012 Petr Machata <pmachata@redhat.com> Don't rely on availability of open_memstream

- configure now checks for availability of either of open_memstream
and tmpfile.
- new module memstream uses either of these to create a portable
memory stream
akefile.am
onfigure.ac
emstream.c
emstream.h
utput.c
b3e7f47f60d4ef0ba82ed3b1bf4b90fc315d0e8b 08-Dec-2012 Petr Machata <pmachata@redhat.com> Don't check for getcwd, mkdir, rmdir, error_at_line in configure

- The first three are only used in test suite.
- The latter is GNU extension that we don't use anymore. There's
currently only one use of "error", and that's in Linux-specific
code.
onfigure.ac
513258cf3063bcdfbd4a7aeb3c9fe3b8484ccdf5 08-Dec-2012 Petr Machata <pmachata@redhat.com> rindex is defined in strings.h
trace-elf.c
7c4651c57845b3969dd9d73086e9e7aa011dd3f2 08-Dec-2012 Petr Machata <pmachata@redhat.com> PATH_MAX is defined in limits.h
ibltrace.c
0eb24221fb51bd8ab26e2ccb92eb1313f0500cc9 08-Dec-2012 Petr Machata <pmachata@redhat.com> isalnum, isalpha, isdigit argument needs to be int -1..255
ead_config_file.c
86a7b48310e0fd551f7f3d88ea9ad39c1a2807c6 08-Dec-2012 Petr Machata <pmachata@redhat.com> Avoid using non-portable error.h in generic code
ead_config_file.c
b6c5c8c51f954cfbe76424fd57c33a87166f0545 08-Dec-2012 Petr Machata <pmachata@redhat.com> Avoid using REG_NOERROR

Not all systems define this (IRIX 6.5 doesn't). Comparing to 0 is not
terribly less readable, so do that instead.
lob.c
ptions.c
91be87822a57bf4fb606333d5a7903dec9f56420 08-Dec-2012 Petr Machata <pmachata@redhat.com> xinfdump should use umovebytes instead of doing the same manually
ebug.c
1233b37167097dffa9a78bd7bd0a8117c75fe8ff 08-Dec-2012 Petr Machata <pmachata@redhat.com> expr_node_zero and expr_self should be stack-allocated
xpr.c
ero.c
d66c8b11facf570d96a49c1b812b90101c62023b 07-Dec-2012 Petr Machata <pmachata@redhat.com> Bump release to 0.7.2
onfigure.ac
4b1d16276924e0987470b5d9e0d1df96d035fef6 07-Dec-2012 Petr Machata <pmachata@redhat.com> Add dates to NEWS entries
EWS
0965420dfd1f4167609c4b3bbee5dc0277423897 05-Dec-2012 Petr Machata <pmachata@redhat.com> Don't mangle static symbol names internally

Instead, write the @soname bit separately. I'm not sure why this was done
like that in the first place. I may have cut'n'pasted this from RHEL
patches for dlopen support, where these sorts of hacks were necessary.
EWS
trace-elf.c
utput.c
estsuite/ltrace.main/parameters2.exp
6fa43fd3a14de6f70043f37361eb2e15d672b436 05-Dec-2012 Petr Machata <pmachata@redhat.com> vect.c: Fix vect_reserve
ect.c
2e71fef9e7179e1ad4d7ccb13062484d67c342cc 05-Dec-2012 Petr Machata <pmachata@redhat.com> Add a NEWS item
EWS
036fb18dc5e4a5ad2d3ab6e97c43acf83e406efd 04-Dec-2012 Petr Machata <pmachata@redhat.com> Fix detection of libunwind

This needs to be checked in three steps, adding dependent libraries one
after another. It also isn't necessary to have three variables to keep
track of what's one conceptual unit, so drop libunwind_{ptrace,arch}_LIBS.
akefile.am
EWS
onfigure.ac
c1990eb670b2786ffabe712fdb9bf3512dd1501c 03-Dec-2012 Gustavo Zacarias <gustavo@zacarias.com.ar> Fix build failure on ppc

ppc/trace.c is using waitstatus bits without including the appropiate
headers, leading to a build failure:

libtool: link:
/home/gustavoz/b/test/output/host/usr/bin/powerpc-buildroot-linux-uclibc-gcc
-Wall -Wsign-compare -Wfloat-equal -Wformat-security -pipe -Os -o ltrace
main.o ./.libs/libltrace.a -lelf
./.libs/libltrace.a(lt1-trace.o): In function `syscall_p':
trace.c:(.text+0x28): undefined reference to `WIFSTOPPED'
trace.c:(.text+0x40): undefined reference to `WSTOPSIG'

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
ysdeps/linux-gnu/ppc/trace.c
36f2968bac2047b4dc58cac8997db32353669a56 30-Nov-2012 Petr Machata <pmachata@redhat.com> Fix detection of unwind library on ppc64
onfigure.ac
68818a8b532c964efd73ba9dca58fab46c42d532 30-Nov-2012 Petr Machata <pmachata@redhat.com> Fix handling options with integral arguments

Also adjust the way -w is described in --help to be consistent with other
options that accept arguments.
ptions.c
b2cfac8ace230d3cfafd7f3c15d5610bc2e6e044 30-Nov-2012 Petr Machata <pmachata@redhat.com> Linux VDSO can be also named linux-vdso{32,64}.so.1
ysdeps/linux-gnu/proc.c
3a0bdc87511b5bca05277f03bbfde5c6b46190b9 29-Nov-2012 Petr Machata <pmachata@redhat.com> Bump release to 0.7.1
onfigure.ac
ee3f964d9452b6445320d5e44c304f9e4afaf8b2 29-Nov-2012 Petr Machata <pmachata@redhat.com> Forgot to add parameters2.exp to Makefile.am
estsuite/ltrace.main/Makefile.am
e5a8cef0bf0e96480d6ca0355bb64d3121a88858 29-Nov-2012 Petr Machata <pmachata@redhat.com> Don't use system-wide 'true', compile own binary instead

On biarch systems, true may come from the wrong arch, and ltrace may be
unable to trace it.
estsuite/ltrace.main/parameters2.exp
21c4e357be309954c5daa6d5182d6fc4a346eb50 29-Nov-2012 Petr Machata <pmachata@redhat.com> Plug leaks in error paths of read_config_file

Now that there's a couple test cases exercising them, these are visible
in valgrind runs of the testsuite.
ead_config_file.c
f197727e6247be1ee08d2a667931aee20512ae18 29-Nov-2012 Petr Machata <pmachata@redhat.com> Allow formatting floats, doubles in hex

Include a test suite case.
Describe the extension in ltrace.conf.5.
Mention it in NEWS.

There's no similar agreed-upon convention for oct, and displaying which
bits are set in a floating number like what bitvect does is certainly not
helpful. Hence, remove the corresponding TODO item. Add a different
(unrelated) one instead.
EWS
ODO
ens_default.c
trace.conf.5
estsuite/ltrace.main/parameters2.exp
08423ca4f329d9fc13458d23fede961da493d329 26-Nov-2012 Petr Machata <pmachata@redhat.com> vect_size, vect_empty should take const pointer argument as well
ect.c
ect.h
edce6cff0c41643e8ff05657389c2a628a0ac2e9 26-Nov-2012 Petr Machata <pmachata@redhat.com> Const correctness in vect_clone
alue.c
alue.h
alue_dict.c
ect.c
ect.h
4fb13f6aa2eb371a724e2e02e744cf993ddea8f2 24-Nov-2012 Petr Machata <pmachata@redhat.com> Integral types are naturally _big_ endian

- 0x70 has bit 7 set. 0x01 has bit 0 set. That's big end first.
trace.conf.5
9ce4130f441a3f015618cdfef61cedbefa2ec48e 20-Nov-2012 Petr Machata <pmachata@redhat.com> Fix a buglet in ltrace.conf.5
trace.conf.5
528d1b2a6491b29a1af42f229b48d0258b437833 20-Nov-2012 Petr Machata <pmachata@redhat.com> Update signal-related functions in ltrace.conf

- add symbolic names for signals and use bit vectors to show sigset_t.
- add GNU extensions sig{and,or,isempty}set
- sort the list of updated prototypes in NEWS
EWS
tc/ltrace.conf
7467b946f325b76dbf29d764872762a02729f7ff 20-Nov-2012 Petr Machata <pmachata@redhat.com> Update NEWS, TODO
EWS
ODO
aa933f20686965045d673e80ce204198995dc615 20-Nov-2012 Petr Machata <pmachata@redhat.com> Introduce "oct" as newly-default alias of "octal"

The reason for this is that there's no agreed-upon term for "hexadecimal"
that wouldn't be super awkward to type. So instead keep "hex", but
introduce "oct" for consistency.
EWS
trace.conf.5
ead_config_file.c
ec4ab256e5c7fe1596dd90a3c8e8d4b052ca1207 20-Nov-2012 Petr Machata <pmachata@redhat.com> Add lens "bitvec" for displaying objects as bit vectors
EWS
ens_default.c
ens_default.h
trace.conf.5
ead_config_file.c
estsuite/ltrace.main/parameters2.exp
3219c86c7fa6d5464fe4b14ce038002851d0d5cc 19-Nov-2012 Petr Machata <pmachata@redhat.com> Allow typedefs of lenses

This worked for keywords such as enum that are handled specially, because
those behave as types for backward compatibility. It was however not
possible to typedef e.g. hex.
ODO
trace.conf.5
ead_config_file.c
estsuite/ltrace.main/parameters2.exp
8c98e40178c74cf5a4e457ed96cf06c4b12add46 19-Nov-2012 Petr Machata <pmachata@redhat.com> Describe recursive structures in ltrace.conf.5, mention it in NEWS

Add a brief note to ltrace.1 as well.
EWS
trace.1
trace.conf.5
6248a0ac394b2aa3b2267eaa1220a90b609b6f86 19-Nov-2012 Petr Machata <pmachata@redhat.com> Guard number of expanded structures of the same type

The logic behind that is that if we limit array output, we should similarly
limit linked list output. Number of expansions of the same-typed structure
is a reasonable metric for that. Double recursive structures will expand
a bit too much, but on the other hand we want the stuff that is typed out
in the configure file to display fully, and not be considered for trimming.

Test suite included.
ens_default.c
estsuite/ltrace.main/parameters2.exp
307b90b158b79ba3aae61d5c6612b4769b10be5f 19-Nov-2012 Petr Machata <pmachata@redhat.com> Allow forward declarations of structs

Now ltrace can display singly-linked lists. Recursion detection was added
to format_pointer. It relies on the fact that ltrace is not multi-threaded
and doesn't need per-process or per-thread cache of already-displayed
values, because we display one value at a time anyway.

Several test cases added.
ens_default.c
ead_config_file.c
estsuite/ltrace.main/parameters2.exp
26c0c9413c2558c3f95cb466b3734ea5ba57444d 19-Nov-2012 Petr Machata <pmachata@redhat.com> Show NULL pointers as "nil" in trace output

Fix a test case that asserted that NULL strings should be shown as "".
ens_default.c
estsuite/ltrace.main/parameters.exp
91cd3c78d048d83dd79a9d370d3f6c7766688346 19-Nov-2012 Petr Machata <pmachata@redhat.com> Add vect_popback
ect.c
ect.h
40bab82b523d5e80272bcbd8854516b01265549e 19-Nov-2012 Petr Machata <pmachata@redhat.com> Add value_equal
alue.c
alue.h
61b4c490657af4a7af26e50fca5ea0c4a2960062 18-Nov-2012 Petr Machata <pmachata@redhat.com> Update NEWS, TODO
EWS
ODO
b17863f2dc7a0f2edbf6a2482028c829b91c2c09 18-Nov-2012 Petr Machata <pmachata@redhat.com> Guard against redefinition of typedef

Test case included
ead_config_file.c
estsuite/ltrace.main/parameters2.exp
9a3df42618aed974209d21c31b210b8306aa5c1a 18-Nov-2012 Petr Machata <pmachata@redhat.com> Separate parsing typedef name from typedef lookup
ead_config_file.c
1a399cde69dca38591be563e062f60380bbd41e4 18-Nov-2012 Petr Machata <pmachata@redhat.com> Parse correctly typedefs with common prefix

More exactly, if there is a typedef X and another XY, and a reference is
made to X, don't instead match XY. Test case included.
ead_config_file.c
estsuite/ltrace.main/parameters2.exp
da7f3c67d075ee47cfd092dcb73362b0cb1ce4d3 18-Nov-2012 Petr Machata <pmachata@redhat.com> Add temporary files created by LtraceTempFile to list of files to wipe
estsuite/lib/ltrace.exp
90c426cdc732b05caa1855565ff19772113c2313 15-Nov-2012 Petr Machata <pmachata@redhat.com> memcpy and memmove arguments are not NUL-terminated
tc/ltrace.conf
15595a3158e0efa20c6f357be526d54aa01393b7 12-Nov-2012 Petr Machata <pmachata@redhat.com> Better detection of VDSO in linkmap
ysdeps/linux-gnu/proc.c
4e5fe9d600a20a9110db205d9842078047a3d535 12-Nov-2012 Petr Machata <pmachata@redhat.com> Minor improvements to ltrace.conf
tc/ltrace.conf
8d58d8b6f0922f57c6fed8e65df86ba57bba31f1 12-Nov-2012 Petr Machata <pmachata@redhat.com> Work around MIPS requesting two symbolic breakpoints on the same address
roc.c
808d64b901e8a57ec77b865556f4d6905e5eba83 10-Nov-2012 Petr Machata <pmachata@redhat.com> ltrace.conf.5 needs to be installed to man5
akefile.am
ccbdb91fe405910f630ee36781f7617a8b99a76b 09-Nov-2012 Andreas Schwab <schwab@linux-m68k.org> Update noinst_HEADERS
ysdeps/linux-gnu/ppc/Makefile.am
39a564538ab0587f882f9b501c4d0b07e44bca50 09-Nov-2012 Petr Machata <pmachata@redhat.com> Release 0.7.0
onfigure.ac
4d73ff5feef8e5224db630ed36e74fbf6b6accd6 09-Nov-2012 Petr Machata <pmachata@redhat.com> More TODO notes
ODO
e773f634dc1283a47786788e747aa5217f61c6fc 09-Nov-2012 Petr Machata <pmachata@redhat.com> Display unsigned quantities on correct number of bytes

E.g. don't display hex(short) value -1 as 0xffffffff, but as 0xffff.
ens_default.c
a41e6fc5f1621bef5551edbb48c0405fc722e206 09-Nov-2012 Petr Machata <pmachata@redhat.com> In globcomp, initialize regex to avoid a spurious gcc -Os warning
lob.c
03be6eb89a1d05cf39e9278e0b0813ead3787519 09-Nov-2012 Petr Machata <pmachata@redhat.com> In globcomp, use REG_NOERROR instead of literal 0

Hopefully this will make it clearer that the protocol is different than
everywhere else in ltrace, where <0 is error condition.
lob.c
ptions.c
28cd84db222ce68ad13c6d37dfed5f3bb0a44784 09-Nov-2012 Petr Machata <pmachata@redhat.com> In glob.c, free buffer on REG_EBRACK

Plugs a leak when handling erroneous globs.
lob.c
5c04ccff59f6872cc917998bea64ecfa27c16c4c 08-Nov-2012 Petr Machata <pmachata@redhat.com> Drop a TODO item

This is fixed by ltrace.conf.5.
ODO
4754ea02d067a88e87d4cc67500419f20781de39 08-Nov-2012 Petr Machata <pmachata@redhat.com> Fix handling error cases in process_get_entry
ysdeps/linux-gnu/proc.c
eb584971e63ce7a866c376d87ae8cb9088dd69be 08-Nov-2012 Petr Machata <pmachata@redhat.com> Initialize a variable in process_get_entry

GCC 4.7.2-RC on MIPS warns that 'entry.a_un.a_val' may be used
uninitialized. Personally I think this is invalid and the value
is properly initialized, but there's no harm initializing it
explicitly.
ysdeps/linux-gnu/proc.c
1584cfcf6366645087d3d712d0bc5d19356bbb65 08-Nov-2012 Petr Machata <pmachata@redhat.com> Use arch_translate_address_dyn for ia64 backend

We don't generally need to translate symbol addresses on ia64, but we do
need to convert the breakpoint address in _r_debug structure from OPD to
entry point.
ysdeps/linux-gnu/ia64/arch.h
ysdeps/linux-gnu/ia64/plt.c
85465a6248ad4f97f133803a19726eb9049f8394 08-Nov-2012 Petr Machata <pmachata@redhat.com> Coding style nits in ia64 backend
ysdeps/linux-gnu/ia64/plt.c
2b5c2fb9fa0072ec51463331022bae176bb62695 07-Nov-2012 Petr Machata <pmachata@redhat.com> In trace-exec.exp, main should return int

This avoids a warning (which leads to failure) in a test suite on RHEL 5
Itanium.
estsuite/ltrace.minor/trace-exec.exp
423cfb41e5534c7265cebbafdccf4e1f8bae2db1 07-Nov-2012 Petr Machata <pmachata@redhat.com> Emit a newline in ltraceSource

This avoids a warning (which leads to failure) in a test suite on RHEL 5
Itanium.
estsuite/lib/ltrace.exp
50616305cac3edcf25940aa065e9c21af0f8107e 07-Nov-2012 Petr Machata <pmachata@redhat.com> Don't rely on mktemp when creating temporary file

on older systems, mktemp requires that the array of X's be at the very end
of the string, while ltrace temporary files need to have suffixes.
estsuite/lib/ltrace.exp
af766ab1e37231fe1d7dc5e4b598b9c92f78ecd4 07-Nov-2012 Petr Machata <pmachata@redhat.com> Move default PTRACE_ constants into new file trace-defs.h

Include it also in events.c, where we use them as well.
ysdeps/linux-gnu/Makefile.am
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/trace-defs.h
ysdeps/linux-gnu/trace.c
3a9a0ceefd46feb7d88b89be5cce5c4b190b3119 07-Nov-2012 Petr Machata <pmachata@redhat.com> Include cris among subdirs in sysdeps/linux-gnu/Makefile.am
ysdeps/linux-gnu/Makefile.am
03f4b61154d2bfb87530bdc79f548c6374ba0db7 07-Nov-2012 Petr Machata <pmachata@redhat.com> Fix includes in PPC fetch backend
ysdeps/linux-gnu/ppc/fetch.c
7e26bd32a1a2269c193a6ef100ed8cd3127f3dc2 07-Nov-2012 Petr Machata <pmachata@redhat.com> Fix detection of resolved-ness for PPC32 BSS PLT slots

This fixes the remaining test suite failures on PPC.
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/plt.c
b5fd53993b71d0301b3547287f1a978679b21be2 07-Nov-2012 Petr Machata <pmachata@redhat.com> Coding style in PPC backend

Don't use error. The rest of ltrace should use fprintf for portability,
use it here as well (even though portability is not an issue in
Linux-specific backend).
ysdeps/linux-gnu/ppc/plt.c
cf2f9227459448daf136e9f79c2181ac85d067be 07-Nov-2012 Petr Machata <pmachata@redhat.com> In PPC's PLT handling, inline two trivial functions with one caller only
ysdeps/linux-gnu/ppc/plt.c
13e68683414450f3bf7256e1cf09c0220325399f 07-Nov-2012 Petr Machata <pmachata@redhat.com> Move one function up in the PPC's PLT handling

This will be useful later in arch_dynlink_done.
ysdeps/linux-gnu/ppc/plt.c
8ddf19a62a4521561ae4e4f118f0c364774ee2db 07-Nov-2012 Petr Machata <pmachata@redhat.com> Convert enablement of PPC breakpoints from callbacks to iteration

The original code was not terribly hard to understand, but this resembles
a straightforward iteration (which it is) much more. Too bad it's not
possible to wrap this nicely into a for loop.
ysdeps/linux-gnu/ppc/plt.c
305945b2523ea87907952eefd7300cfb9f1a0235 07-Nov-2012 Petr Machata <pmachata@redhat.com> Move PPC insn masks and branch address computation to a separate file
ysdeps/linux-gnu/ppc/insn.h
ysdeps/linux-gnu/ppc/trace.c
ab2dab55656a98068fac278b605c5cf780c4343b 07-Nov-2012 Petr Machata <pmachata@redhat.com> Add library_symbol_delayed_cb iteration predicate
ibrary.c
ibrary.h
69a12f204b3a94fc2a102a8b5fd469aa374149d2 05-Nov-2012 Petr Machata <pmachata@redhat.com> Update NEWS
EWS
f16088426b28ee68c2c614a0142d56a3ec7a9511 03-Nov-2012 Petr Machata <pmachata@redhat.com> Fix grammar in a comment
utput.h
d5199029878221dd7d73e413f71d080b7079d4e6 03-Nov-2012 Petr Machata <pmachata@redhat.com> Drop unused piece of code

The same is inlined in the for() initializer.
roc.c
da0cdf2c3c411ec69a4ebf10875e9fe2256e6373 02-Nov-2012 Petr Machata <pmachata@redhat.com> Define _GNU_SOURCE in output.c

open_memstream is only visible with that define in old glibc's, and in
eglibc and uClibc. Thanks to Sedat Dilek for digging this out.
utput.c
551131134996e2c172ac0bdedee40056c4ff23fd 02-Nov-2012 Petr Machata <pmachata@redhat.com> Drop two non-bugs from ltrace.1

- Manual page is up to date as far as I can tell.
- Option -f should work fine, we use PTRACE_O_TRACE{FORK,CLONE}.
trace.1
90d5ec571aa598cb4eb0d7fd4c77dcb0e4898e65 02-Nov-2012 Petr Machata <pmachata@redhat.com> Add a note to -l explanation in ltrace.1
trace.1
1fa102f3ef0adb2b544463f52697c93d9a21d368 02-Nov-2012 Petr Machata <pmachata@redhat.com> Fix formatting in ltrace.conf.5
trace.conf.5
3eb3228e78e51b6a478cce21563066a5ebd71afe 02-Nov-2012 Petr Machata <pmachata@redhat.com> Add two TODO items
ODO
854696cc0e042e88d41fc3bb062de0fb91a0a9c6 02-Nov-2012 Petr Machata <pmachata@redhat.com> Explain what the races in -e on PPC were
EWS
9265da409dba24852ec35636106ab01e14feb2f2 02-Nov-2012 Petr Machata <pmachata@redhat.com> Grammar fixes in man pages and NEWS
EWS
trace.1
trace.conf.5
40de7978f7f98c60d357ce4580f907948d4545a0 02-Nov-2012 Petr Machata <pmachata@redhat.com> Drop -g from man page, mention in NEWS that it was dropped

This option doesn't exist anymore.
EWS
trace.1
e19b781a8f41f379fa0890edd2ffc768bfb44d94 01-Nov-2012 Petr Machata <pmachata@redhat.com> Add inclusion guards to output.h
utput.h
0ceae2a763aee33e23808edc7bece9888c583411 01-Nov-2012 Petr Machata <pmachata@redhat.com> Test hiding structure elements, improve test for hiding function parameters
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
f7c46bba61bb830e5a283ef8b0174f33c3989821 01-Nov-2012 Petr Machata <pmachata@redhat.com> Use delim_output to support proper hiding in structures and functions
ens_default.c
utput.c
9c400988106520325615ad46a075b562649bbb38 01-Nov-2012 Petr Machata <pmachata@redhat.com> New function delim_output

This abstracts away output of a list of delimited items. Some of these
may end up being empty strings, and shouldn't be delimited.
utput.c
utput.h
adec201a52c240cf4b533c05106aedddc911ca76 01-Nov-2012 Petr Machata <pmachata@redhat.com> Export account_output from output.c

Adjust calls to pass account variable explicitly.
Call it from lens_default as well.
ens_default.c
utput.c
utput.h
1976637c53456501b1892474150f5e6af5c1cbbb 01-Nov-2012 Petr Machata <pmachata@redhat.com> Add missing files to testsuite Makefile.am's
estsuite/ltrace.main/Makefile.am
estsuite/ltrace.minor/Makefile.am
estsuite/ltrace.torture/Makefile.am
1f075e5ba076d5f818723387464a8d013ff7b9fe 01-Nov-2012 Petr Machata <pmachata@redhat.com> Drop unnecessary value_extract_word from lens_enum callback
ens_enum.c
c442f697b8603104a1c9c0ec96e876ad08f58ade 01-Nov-2012 Petr Machata <pmachata@redhat.com> Drop unused field struct enum_lens.own
ens_enum.h
b8deb4d589d57c49d510b1b463b3904cb4964557 31-Oct-2012 Petr Machata <pmachata@redhat.com> Use symbol delaying to implement PPC32 BSS handling

- this fixes tracing of -l symbols and fixes most of the test suite
- attach-process.exp broken for PPC32 BSS tracee
- trace-clone.exp broken for PPC32 ltrace and PPC32 BSS tracee
- PPC32 secure and PPC64 test suites come out clean
ysdeps/linux-gnu/ppc/plt.c
96f0482fa1d15f4e6be75b49ff5fa8d77602be7b 31-Oct-2012 Petr Machata <pmachata@redhat.com> Debug messages around latent and delayed symbols
roc.c
3240554e943bf773aa57b7e3e3bf80d7102a8b10 31-Oct-2012 Petr Machata <pmachata@redhat.com> New function proc_each_symbol
roc.c
roc.h
6d8aa0bba1fb9473f6e92738975f6be73a6ac722 31-Oct-2012 Petr Machata <pmachata@redhat.com> Include forward.h instead of declaring stuff in proc.h
roc.h
6db61f509eb7537ca64873b0c8c1955e2293db9f 31-Oct-2012 Petr Machata <pmachata@redhat.com> Publish default_elf_add_plt_entry
trace-elf.c
trace-elf.h
1c79025768a4403e016cc59d7f41b266e868c9e6 30-Oct-2012 Petr Machata <pmachata@redhat.com> Fix cross-tracing PIE binaries
reakpoints.c
trace-elf.c
c06f23d2803c7744f3d2cd1fb3e54886d9e41ddf 30-Oct-2012 Petr Machata <pmachata@redhat.com> Fix three calls to debug()

debug() lines shouldn't include \n.
ysdeps/linux-gnu/ia64/plt.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/x86/trace.c
dcb572c1b031f3d2eb2d19709117a5aa315c502b 30-Oct-2012 Petr Machata <pmachata@redhat.com> Turn on leak checking with --enable-valgrind

As of the previous commit, I'm getting leak-free valgrind runs of ltrace
testsuite on x86_64 as well as i386.
estsuite/Makefile.am
8904cdcbac783406d6f6d601d8447961b67068ce 30-Oct-2012 Petr Machata <pmachata@redhat.com> Destroy temporary values used for formatting in lens_default

This plugs a leak on i386.
ens_default.c
0ffa9f3f82febbcd475318ac282c456adb76c73c 30-Oct-2012 Petr Machata <pmachata@redhat.com> Call value_in_inferior instead of setting WHERE manually

On x86_64, this plugs a leak.
ysdeps/linux-gnu/m68k/fetch.c
ysdeps/linux-gnu/ppc/fetch.c
ysdeps/linux-gnu/s390/fetch.c
ysdeps/linux-gnu/x86/fetch.c
429b1845ef6bee24d8ab5851e90018666c83c481 30-Oct-2012 Petr Machata <pmachata@redhat.com> New function value_in_inferior
alue.c
alue.h
0d40d115a2e09bd0d432cc276d5cfc3c013468b0 30-Oct-2012 Petr Machata <pmachata@redhat.com> In value_reserve, first release any already-allocated memory
alue.c
84c86d73716b1e785f2690918403d7094393e1f3 30-Oct-2012 Petr Machata <pmachata@redhat.com> For string types in printf.c, return a pointer to array, not array

Though ltrace currently translates the latter to the former, this is the
actual proper parameter type.

Also fix one prototype in test suite for the same reason.
rintf.c
estsuite/ltrace.main/parameters.conf
635786d16da4cb3665ceb82bdb000331c9a8febd 30-Oct-2012 Petr Machata <pmachata@redhat.com> Also free memory associated with value type, if owned

This plugs a leak.
alue.c
bc58f2a1b2b516b2176a4a32117065dde4813734 30-Oct-2012 Petr Machata <pmachata@redhat.com> Proper ownership tracking of types used for parameter pack expansion

This plugs a leak.
utput.c
3299797320059f659f3abb80f3ce02bab3db8bb9 30-Oct-2012 Petr Machata <pmachata@redhat.com> Also free memory associated with sub-expressions

This only called expr_destroy when the sub-expression was owned, but
neglected to also call free. Plugs a leak.
xpr.c
58e75f5bf209db5edee2a142add49ee447bc4313 30-Oct-2012 Petr Machata <pmachata@redhat.com> Fix ownership tracking of zero() node in config file parser and printf.c
rintf.c
ead_config_file.c
71f8f448dfba51d987dcf041cc75b448d5d7eac7 30-Oct-2012 Petr Machata <pmachata@redhat.com> Fix off-by-one in VECT_BACK
ect.h
168044811945744658d45bb05075c13b60cd7fa0 30-Oct-2012 Petr Machata <pmachata@redhat.com> Fix initialization of primitive types in printf.c
rintf.c
2b955a5cefeab9cd409f7973837bf1d25003d8e9 29-Oct-2012 Petr Machata <pmachata@redhat.com> struct value should differentiate between inferior and private address
alue.c
alue.h
43417844f6a8d26ae7388101f4eaf49d03be5cfc 29-Oct-2012 Petr Machata <pmachata@redhat.com> In param_printf_done, release format string argument

This plugs a leak.
rintf.c
c8691d002ca5347a4da6919b75d0a320acde0dce 29-Oct-2012 Petr Machata <pmachata@redhat.com> Release printf pack when it's been copied to function parameter list

This plugs a leak. Note that we don't want to call param_destroy on it,
as we still use the guts of the parameter. We just release the outer shell
memory block.
ead_config_file.c
eb1286520c36957fa6bbf28a4146b68699f75948 29-Oct-2012 Petr Machata <pmachata@redhat.com> Release identifier name when we are done parsing it

This plugs a leak.
ead_config_file.c
2ee358f27c14dfb25c315237765c709e1716109b 29-Oct-2012 Petr Machata <pmachata@redhat.com> Mention backward-incompatible changes to -x and -l in NEWS
EWS
69dfb0926e9b03da813e5335bf8dcab4a925b7c8 28-Oct-2012 Petr Machata <pmachata@redhat.com> Fix typo in NEWS
EWS
2bf8893848e86eb9bbd23d4f604df20345f8e983 27-Oct-2012 Petr Machata <pmachata@redhat.com> Tolerate idiosyncrasies of pre-0.7 ltrace.conf

- "void main(void);" accepted without warning to mean "void main();"
- "itn" accepted without warning to mean "int"
- "void main(void, xxx);" accepted with warning to mean
"void main(hide(int), xxx);". This gets warning, because shipped
ltrace.conf never contained this idiom.

Update NEWS with explanation of the above.
EWS
ead_config_file.c
201e33746e5f671bce3ddf732390010cf71d034b 27-Oct-2012 Petr Machata <pmachata@redhat.com> Show failed command in ltraceRun and ltrace_runtest
estsuite/lib/ltrace.exp
1e339e00198972a75892d5073d47f090db5d77a2 27-Oct-2012 Petr Machata <pmachata@redhat.com> Libraries and breakpoints should be cloned from original's leader

This pops up when a thread calls vfork. In that case there are no
libraries assigned to the process itself, but newly-vfork'd process is
itself a leader, and therefore needs its own libraries and breakpoints.
roc.c
b6de841675aab74d1700aa379535b76ef183bec2 27-Oct-2012 Petr Machata <pmachata@redhat.com> Extract processed stack element to a variable in process_clone

This makes the code less verbose.
Also add a note related to extraction to future callstack.c.
roc.c
5bf471403f1145fb004005b99eb439969d672dcd 27-Oct-2012 Petr Machata <pmachata@redhat.com> Corrections in cleanup code in process_clone

Since we are done cloning the generic part of the process, it
is proper to simply call private_process_destroy on failures.

If os_process_clone passed, but arch_process_clone fails,
os_process_destroy must be called.
roc.c
81bc82ca194af8b6eccbbdf043e34e14bde0c34c 27-Oct-2012 Petr Machata <pmachata@redhat.com> In clone_single_bp, don't overwrite error status, instead use it to shortcut
roc.c
fb8502c860af89ffeb4ee962bd98996672cde2aa 27-Oct-2012 Petr Machata <pmachata@redhat.com> Fixes in library_clone

We never set pathname of the clone and instead cloned pathname to soname.
Also, initialize ->next of the last symbol in chain as well.
ibrary.c
165b566a50b2bd560af3bd9649e456915397066b 27-Oct-2012 Petr Machata <pmachata@redhat.com> Add proc_find_symbol, use it to find corresponding symbols for clones

The code in breakpoint_clone was buggy--it looked through old_proc's
symbols. It was also needlessly verbose, proc_find_symbol uses library
key to find the right library. Instead use the new interface and call
it on new_proc to find the new symbol.

We also didn't relink symbols in stack elements of a cloned process in
process_clone. Use proc_find_symbol for this as well.
reakpoints.c
roc.c
roc.h
45de1a24740e813ac10b981684a9b46814ddb38c 27-Oct-2012 Petr Machata <pmachata@redhat.com> Guard failures in ltraceRun and ltrace_runtest

This gives us reasonable error messages for valgrind citations.
estsuite/lib/ltrace.exp
estsuite/ltrace.main/hello-vfork.c
23e2b593b7efe961e1305fdb510b3cd96147f25c 27-Oct-2012 Petr Machata <pmachata@redhat.com> Fix memory error in library_clone

The ->next at the end of chain of cloned names wasn't initialized.
ibrary.c
819fdb7c7955e83ce1a96131f115aeeed7fdfcdf 27-Oct-2012 Petr Machata <pmachata@redhat.com> Release exported names

This plugs a leak.
ibrary.c
62a0d390cdcfa42397fa892c8400b59e34e41434 27-Oct-2012 Petr Machata <pmachata@redhat.com> Don't call output_line in normal_exit

That's because CURRENT_PROC in output.c may point to a process that was
already released. This happens when ltrace detaches from another process.
ibltrace.c
50a42857c740a3bc344aa73569513d14d7c775a2 27-Oct-2012 Petr Machata <pmachata@redhat.com> It's not kosher to do IO in signal handler context
ibltrace.c
6c2e57ab25263946a09f42aa84f82678bdbfdc4e 27-Oct-2012 Petr Machata <pmachata@redhat.com> Coding style in sysdeps/linux-gnu/trace.c

This is all now code coming from the threads branch. Hopefully no patches
against this are in the wild.
ysdeps/linux-gnu/trace.c
89c5ca29993660f2edb2d875bd26748e09400f4d 27-Oct-2012 Petr Machata <pmachata@redhat.com> report_* should take constant string for argument
utput.c
utput.h
efc9436b1ac30e73347696cf3fcfc9ad3f60772f 27-Oct-2012 Petr Machata <pmachata@redhat.com> Fix coding style in output_line and calls to it
ibltrace.c
utput.c
utput.h
dd1ec8452785adb3546a7f1e20974187e5158f31 27-Oct-2012 Petr Machata <pmachata@redhat.com> Plug a leak in parse_filter_chain
ptions.c
ef0c74de9320c86ab1f08e5f9c15b031ed36d01f 27-Oct-2012 Petr Machata <pmachata@redhat.com> Fix memory handling of pid2name result

This plugs a leak.
trace-elf.c
roc.c
8a98e6f756c7e6a4171e7dee563f0efbb28b9f33 27-Oct-2012 Petr Machata <pmachata@redhat.com> Fix memory handling of -F arguments

This plugs a leak.
ibltrace.c
ptions.c
ptions.h
47d70f6efd145113ad555dd2ba542d1050bbb784 26-Oct-2012 Petr Machata <pmachata@redhat.com> Use os_process_data for keeping debug status

This also takes care of a leak caused by malloc'ing struct debug. That
malloc is not done anymore, because the data is embedded in struct Process
by way of struct os_process_data.
roc.h
ysdeps/linux-gnu/os.h
ysdeps/linux-gnu/proc.c
0f6e6d9861ce790cb8b7d07aca28a5878d705359 26-Oct-2012 Petr Machata <pmachata@redhat.com> Add os_process_data and related

This is meant to be the same for per-OS configuration as arch_process_data
is for per-arch configuration.
ackend.h
roc.c
roc.h
ysdeps/linux-gnu/Makefile.am
ysdeps/linux-gnu/os.h
ysdeps/sysdep.h
d3202de1176057520f49b5e6231b8774f6b6b31f 26-Oct-2012 Petr Machata <pmachata@redhat.com> dict_remove should release memory allocated for the entry
ict.c
3cc0cd11ff97fd013813ae020aaf24dbdc818e43 26-Oct-2012 Petr Machata <pmachata@redhat.com> Call arch_process_destroy before destroying main process data

That in case that arch_process_destroy needs the global state. Unlikely,
but we do it that way for exec, so let's be consistent.
roc.c
818e23b064cdcafa6c04628d0d8ad5c6891fbdd9 26-Oct-2012 Petr Machata <pmachata@redhat.com> Change backward-compatible support for void as function argument

- (void) can be converted to ()
- Now that we have param packs, void detection needs to be done differently
ead_config_file.c
2c54f0602e11eeaf7b0ca4cf92bbec3859fbb41f 26-Oct-2012 Petr Machata <pmachata@redhat.com> Drop most comments from etc/ltrace.conf, redirect to ltrace.conf.5 instead
tc/ltrace.conf
588850f2d73fa03d5c4e59b82acb9c4eb1aaf1c0 26-Oct-2012 Petr Machata <pmachata@redhat.com> Publish do_close_elf; call it on the ELF used to check arch support

This plugs a leak.
ibltrace.c
trace-elf.c
trace-elf.h
e0e89edff4ff9216a9a8631b078858851a15f0e7 26-Oct-2012 Petr Machata <pmachata@redhat.com> Pop remaining stack before the process exits

This plugs a leak
roc.c
e677c7e0b79fc0af7c98436d924fefca7d43f359 26-Oct-2012 Petr Machata <pmachata@redhat.com> Release unwind data

This plugs a leak
roc.c
e655ccffc4ba7bba317b01700f8fc50461d8c4dd 26-Oct-2012 Petr Machata <pmachata@redhat.com> Move stack entry cleanup to callstack_pop

At the same time publish that function. Eventually the whole push/pop
logic should be moved to a separate module.
andle_event.c
utput.c
8978a1f7e605a876ce186479175dcfebc7362045 26-Oct-2012 Petr Machata <pmachata@redhat.com> Updates to ltrace.conf.5
trace.conf.5
9daea45bcf7ea43798c2204cc5341cfa27f65468 26-Oct-2012 Petr Machata <pmachata@redhat.com> Describe "right" argumens in ltrace.conf.5. Add a related TODO item
ODO
trace.conf.5
e9aa41afb05dd58908c389556c8bf9c984002a36 26-Oct-2012 Petr Machata <pmachata@redhat.com> Fix trace-exec test case
estsuite/ltrace.minor/trace-exec.exp
e99af270a60891e68d465c4cd97dbe29cd1a05e4 26-Oct-2012 Petr Machata <pmachata@redhat.com> Update copyright information and license headers
akefile.am
EWS
utogen.sh
reakpoints.c
onfigure.ac
ebug.c
ebug.h
efs.h
emangle.c
emangle.h
xecute_program.c
orward.h
ibrary.h
trace-elf.h
trace.h
ain.c
ptions.c
ptions.h
utput.c
ead_config_file.h
ummary.c
ysdeps/Makefile.am
ysdeps/linux-gnu/Makefile.am
ysdeps/linux-gnu/alpha/Makefile.am
ysdeps/linux-gnu/alpha/plt.c
ysdeps/linux-gnu/alpha/ptrace.h
ysdeps/linux-gnu/alpha/regs.c
ysdeps/linux-gnu/alpha/signalent.h
ysdeps/linux-gnu/alpha/syscallent.h
ysdeps/linux-gnu/alpha/trace.c
ysdeps/linux-gnu/arch_mksyscallent
ysdeps/linux-gnu/arm/Makefile.am
ysdeps/linux-gnu/arm/arch_syscallent.h
ysdeps/linux-gnu/arm/plt.c
ysdeps/linux-gnu/arm/ptrace.h
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/arm/signalent.h
ysdeps/linux-gnu/arm/syscallent.h
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/cris/Makefile.am
ysdeps/linux-gnu/cris/plt.c
ysdeps/linux-gnu/cris/ptrace.h
ysdeps/linux-gnu/cris/regs.c
ysdeps/linux-gnu/cris/signalent.h
ysdeps/linux-gnu/cris/syscallent.h
ysdeps/linux-gnu/cris/trace.c
ysdeps/linux-gnu/ia64/Makefile.am
ysdeps/linux-gnu/ia64/breakpoint.c
ysdeps/linux-gnu/ia64/plt.c
ysdeps/linux-gnu/ia64/ptrace.h
ysdeps/linux-gnu/ia64/regs.c
ysdeps/linux-gnu/ia64/signalent.h
ysdeps/linux-gnu/ia64/syscallent.h
ysdeps/linux-gnu/m68k/Makefile.am
ysdeps/linux-gnu/m68k/plt.c
ysdeps/linux-gnu/m68k/ptrace.h
ysdeps/linux-gnu/m68k/regs.c
ysdeps/linux-gnu/m68k/signalent.h
ysdeps/linux-gnu/m68k/syscallent.h
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/mipsel/Doxyfile
ysdeps/linux-gnu/mipsel/Makefile.am
ysdeps/linux-gnu/mipsel/mipsel.h
ysdeps/linux-gnu/mipsel/plt.c
ysdeps/linux-gnu/mipsel/ptrace.h
ysdeps/linux-gnu/mipsel/regs.c
ysdeps/linux-gnu/mipsel/signalent.h
ysdeps/linux-gnu/mipsel/syscallent.h
ysdeps/linux-gnu/mipsel/trace.c
ysdeps/linux-gnu/mksignalent
ysdeps/linux-gnu/mksyscallent
ysdeps/linux-gnu/mksyscallent_mips
ysdeps/linux-gnu/mksyscallent_s390
ysdeps/linux-gnu/ppc/Makefile.am
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/ppc/ptrace.h
ysdeps/linux-gnu/ppc/regs.c
ysdeps/linux-gnu/ppc/signalent.h
ysdeps/linux-gnu/ppc/syscallent.h
ysdeps/linux-gnu/s390/Makefile.am
ysdeps/linux-gnu/s390/plt.c
ysdeps/linux-gnu/s390/ptrace.h
ysdeps/linux-gnu/s390/regs.c
ysdeps/linux-gnu/s390/signalent.h
ysdeps/linux-gnu/s390/signalent1.h
ysdeps/linux-gnu/s390/syscallent.h
ysdeps/linux-gnu/s390/syscallent1.h
ysdeps/linux-gnu/s390/syscalls31.h
ysdeps/linux-gnu/s390/syscalls64.h
ysdeps/linux-gnu/sparc/Makefile.am
ysdeps/linux-gnu/sparc/plt.c
ysdeps/linux-gnu/sparc/ptrace.h
ysdeps/linux-gnu/sparc/regs.c
ysdeps/linux-gnu/sparc/signalent.h
ysdeps/linux-gnu/sparc/syscallent.h
ysdeps/linux-gnu/sparc/trace.c
ysdeps/linux-gnu/x86/Makefile.am
ysdeps/linux-gnu/x86/plt.c
ysdeps/linux-gnu/x86/ptrace.h
ysdeps/linux-gnu/x86/signalent.h
ysdeps/linux-gnu/x86/signalent1.h
ysdeps/linux-gnu/x86/syscallent.h
ysdeps/linux-gnu/x86/syscallent1.h
ysdeps/sysdep.h
a85accd70c677532740edca27590d3e3189e4333 25-Oct-2012 Petr Machata <pmachata@redhat.com> Mention my man page contributions in CREDITS
REDITS
f148ff45a093d77cad311bc2bcd78bc1d793a560 25-Oct-2012 Petr Machata <pmachata@redhat.com> Add some inline examples and otherwise improve ltrace.conf.5
trace.conf.5
9ad2f1970393e2f6d09887bfac73759466c3b47e 25-Oct-2012 Petr Machata <pmachata@redhat.com> Mention new documentation in NEWS
EWS
103d0417e4aa94e12e1bcdd08e4144dfc938afa7 25-Oct-2012 Petr Machata <pmachata@redhat.com> Formatting in NEWS
EWS
7b9d2506078b63efd7b9ea8f81333501f06fc081 25-Oct-2012 Petr Machata <pmachata@redhat.com> Describe expressions in ltrace.conf.5
trace.conf.5
4224b617d8d953365cef4b91e477ebf89f02827b 25-Oct-2012 Petr Machata <pmachata@redhat.com> Adjust CREDITS for Sedat Dilek
REDITS
b5f76339d0cbe94196093c73e8dffa9ef463fddd 25-Oct-2012 Petr Machata <pmachata@redhat.com> Add new files to Makefile.am
akefile.am
11f23baa6a97cf578c9fb4b8257aeaab4fa7bafb 25-Oct-2012 Petr Machata <pmachata@redhat.com> Update ltrace.1, add ltrace.conf.5
trace.1
trace.conf.5
834844a633c2344392798ebafb645fce1030eb5f 25-Oct-2012 Petr Machata <pmachata@redhat.com> Add some TODOs
ODO
dc2a325d01a19414185f6ab30526b23f1f343782 25-Oct-2012 Petr Machata <pmachata@redhat.com> Fix versions in NEWS
EWS
e4c829f9fcd3bcb3bc46c7fc078b486dfce2905b 25-Oct-2012 Petr Machata <pmachata@redhat.com> Update README
EADME
224d445cbe3e6199561df6ddb767083ca251d7c6 25-Oct-2012 Petr Machata <pmachata@redhat.com> Replace INSTALL file with generic manual to ./configure use

- There's no ./mkdist anymore.
- Instructions for updating Debian package probably shouldn't be part of
upstream documentation.
NSTALL
8883eb25abe79574af6831f0d71f7f1396b60096 25-Oct-2012 Petr Machata <pmachata@redhat.com> Evict list of authors from README to CREDITS

- The CREDITS file is modeled after Linux kernel

- Expand the abstract SuSE credit to Andreas Jaeger and Michal Ludvig.
This was gleaned from the file ltrace.changes of SUSE package ltrace.
As of this writing the file is shown here:
https://build.opensuse.org/package/view_file?file=ltrace.changes&package=ltrace&project=devel%3AopenSUSE%3AFactory%3Apatch-license

- I also added those who contributed to making 0.7.
REDITS
EADME
adbf467418d95cddf81e17a23ee6cb1471e71fa0 19-Oct-2012 Petr Machata <pmachata@redhat.com> Add a NEWS entry for PIE support
EWS
b024ca33e3734592a67e41414c2dc02978218501 18-Oct-2012 Petr Machata <pmachata@redhat.com> Fix compilation on i386
trace-elf.c
be0db9f510bcb1cb520f683c70bc18e86af94c28 18-Oct-2012 Petr Machata <pmachata@redhat.com> Change filters.exp to check both plain and PIE tracing
estsuite/ltrace.main/filters.exp
59d2fb2b7c4eb4dab5ad5f08b10cfdc4fa8f27cb 18-Oct-2012 Petr Machata <pmachata@redhat.com> Support building PIE binaries in testsuite
estsuite/lib/ltrace.exp
b8fd68d15b1f631e38148ac5dab39d7e857fbc92 18-Oct-2012 Petr Machata <pmachata@redhat.com> Improve a debug message at linkmap_init
ysdeps/linux-gnu/proc.c
da69ed0785ff0a9790f8edadb73fe21013aa118b 18-Oct-2012 Petr Machata <pmachata@redhat.com> Support tracing PIE executables
ackend.h
trace-elf.c
0475ac36f22c9531cd0e0ba7d02cee5a1c5c67ea 18-Oct-2012 Petr Machata <pmachata@redhat.com> Implement process_get_entry for linux-gnu
ysdeps/linux-gnu/proc.c
9fe246c74689faf5fddfac59ce2bfc4eba480ee8 23-Oct-2012 Petr Machata <pmachata@redhat.com> Drop ChangeLog

I don't think it makes sense to duplicate what git history already contains.
hangeLog
65af2a5fc055852e0dc5851a82bd7cfade6f3448 23-Oct-2012 Petr Machata <pmachata@redhat.com> Convert TODO to org mode
ODO
fc57cfe6068ca7cfd7e26105b904b14bc9eb127e 23-Oct-2012 Petr Machata <pmachata@redhat.com> Remove several TODO entries

- The whole UN*X world now uses ELF. There's no point supporting
anything else.
- We do read libraries on demand, and do process their symbol tables
- C++ demangling is fine. This entry comes from 1998, who knows what it
was supposed to mean.
- We now have a relatively clean way of porting to various Linux
architectures. Until someone actually tries to port to non-Linux
OS, we are unlikely to know what's missing in that area.
- The ARGTYPE_STRING stuff can be now emulated by using
string(array(char, N))
- Dependency tracking is done by autotools
ODO
d9415bf6ed9f8a2dba8652dddc42ceb14729917c 23-Oct-2012 Petr Machata <pmachata@redhat.com> Drop BUGS

- that manual page is not complete is covered by "improve documentation"
in TODO
- that ltrace lacks support for some arches is hardly a bug
- I have no idea what that last line is supposed to mean. No explanation
is given at commit, no relevant mails on mailing list around that time.
UGS
3de5e368ce09e5c3ba9f266dc9c59796b4ec462d 23-Oct-2012 Petr Machata <pmachata@redhat.com> Changes in NEWS

Add more detail to some points.
Shuffle entries around.
EWS
c11c01eeb579623de5bbe2d97e9ec69c9c5ddd26 19-Oct-2012 Petr Machata <pmachata@redhat.com> Add NEWS file

This should be used for tracking user-visible changes. I retroactively
filled in entries from 0.6 on (inclusive).
hangeLog
EWS
fbb61b1a1ddb0a320a6f4dca6ecd64261dd8cac8 19-Oct-2012 Petr Machata <pmachata@redhat.com> TODO: -e, -x, -l now allow globs
ODO
66651cae8122079d4553aea138f4c751f0c8bd49 19-Oct-2012 Petr Machata <pmachata@redhat.com> TODO, BUGS: Inter-library calls are now supported
UGS
ODO
8d84ecc9c977b6793dae791e307b24266e27ec99 18-Oct-2012 Petr Machata <pmachata@redhat.com> In testsuite, don't leave temporary objects behind
estsuite/lib/ltrace.exp
5a19e67c9f66c47260310223aeae04d2a5191eac 09-Oct-2012 Edgar E. Iglesias <edgar@axis.com> mipsel: Add support for CPIC main programs

Add support for CPIC (Calls PIC) only binaries. These ELF
files are not PIC themselves (as ordinary o32 binaries).

External calls via function pointers don't work yet.

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
ysdeps/linux-gnu/mipsel/arch.h
ysdeps/linux-gnu/mipsel/plt.c
35b5be786822d87f694dab8b267f9c6df8bfb278 09-Oct-2012 Edgar E. Iglesias <edgar@axis.com> Export elf_get_sym_info

Export the base implementation of arch_get_sym_info as
elf_get_sym_info() for backends to use if needed.

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
trace-elf.c
trace-elf.h
f14df2387a0312533b1a1bb3718e9a0d7339fb53 09-Oct-2012 Edgar E. Iglesias <edgar@axis.com> mipsel: Add a MIPS specific find_dl_debug

MIPS dynamic loaders put the address of their debug areas
into an DT_MIPS_RLD_MAP entry instead of into the DT_DEBUG
entry.

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
ysdeps/linux-gnu/mipsel/arch.h
ysdeps/linux-gnu/mipsel/plt.c
11c3c3e28461886bb16c69c745b1fefa946c4d9f 09-Oct-2012 Edgar E. Iglesias <edgar@axis.com> Make finding the dynamic linkers debug area arch specfic

Make it possible for archs to override the lookup of the
dynamic linkers debug area.

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
ackend.h
ysdeps/linux-gnu/proc.c
fd4b4ef0d4fbaf2039fac61764421e47cac2ca39 09-Oct-2012 Edgar E. Iglesias <edgar@axis.com> Allow extension tags in proc_find_dynamic_entry_addr

Remove the check for generic tags allowing the caller
to pass extension tags. I couldn't find a way to strictly
validate the tag nr, furthermore the seek tag is internally
generated so I simply dropped the check (beyond checking for
positive values).

One way possible could be to check for:
(tag >= DT_NULL && tag < DT_NUM) || (tag >= DT_LOOS && tag <= DT_HIPROC)

But I'm not sure thats OK.

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
ysdeps/linux-gnu/proc.c
cc77b0e0e735d598f4bc746f8e79b6cd342bd606 09-Oct-2012 Edgar E. Iglesias <edgar@axis.com> Export find_dynamic_entry_addr

Export find_dynamic_entry_addr as proc_find_dynamic_entry_addr.

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
roc.h
ysdeps/linux-gnu/proc.c
9f4a41340383c105f7d57a176a1f3d511ab77e1d 06-Oct-2012 Petr Machata <pmachata@redhat.com> Rewrite four test cases to use the new vocabulary

- In main-internal in particular, we never actually tested intra-binary
call. Now we do.
hangeLog
estsuite/ltrace.main/filt.c
estsuite/ltrace.main/filt1.c
estsuite/ltrace.main/filt2.c
estsuite/ltrace.main/filters.exp
estsuite/ltrace.main/main-internal-1.c
estsuite/ltrace.main/main-internal.c
estsuite/ltrace.main/main-internal.exp
estsuite/ltrace.minor/attach-process.c
estsuite/ltrace.minor/attach-process.exp
estsuite/ltrace.minor/trace-exec.c
estsuite/ltrace.minor/trace-exec.exp
estsuite/ltrace.minor/trace-exec1.c
c298d6846f6d0841489210cb7bae8ab86e9c600c 06-Oct-2012 Petr Machata <pmachata@redhat.com> New support for writing test cases

This provides a more fitting vocabulary for writing test cases that we
typically deal with. This is designed to make writing test cases much
simpler, with as little duplication as possible. It is now easy to embed
literal program text into expect scripts themselves, instead of keeping
.c and .exp files in sync.

- ltraceSource creates a temporary file with contents given directly in
expect script.

- ltraceCompile compiles a binary (which can be a library) from given
source files.

- ltraceRun runs ltrace command with arguments given directly on ltraceRun
command line, and produces a temporary file with ltrace log.

- ltraceMatch and ltraceMatch1 support querying ltrace log files. Matching
is done in TCL instead of running grep|wc. Because of this, it should
now be unnecessary to put arrays of backslashes to properly escape
control characters. This also supports normal mathematical operators for
comparing numbers of matches to expectation. Previously it was impossible
to express that such and such pattern should never appear. Now this can
be tested trivially.

- ltraceDone cleans up temporary files that were introduced by above calls.
hangeLog
estsuite/lib/ltrace.exp
8657ce611019ed180e5cca1d413ceddd680cfe67 06-Oct-2012 Petr Machata <pmachata@redhat.com> ltrace.exp: Drop unused proc ltrace_saveoutput
hangeLog
estsuite/lib/ltrace.exp
0c4f66d02980f16989ab9a70e01066df78cb48f8 06-Oct-2012 Petr Machata <pmachata@redhat.com> Libraries shouldn't be added to command line if object is compiled

Command lines like gcc x.c -c y.so prompt gcc to emits warnings, and
DejaGNU then thinks there were failures.
estsuite/lib/ltrace.exp
80cb95b3610d34fd80f95b74f40339b9b540b302 06-Oct-2012 Petr Machata <pmachata@redhat.com> ltrace.exp: Add licence blurb
estsuite/lib/ltrace.exp
5aaf64ed7c4243f55944e2190a81123d568700e7 06-Oct-2012 Petr Machata <pmachata@redhat.com> ltrace.exp: Extract logic for compiling object files into a separate proc
hangeLog
estsuite/lib/ltrace.exp
0709b4cb982607477d8cc508c85a9104c5d0c194 06-Oct-2012 Petr Machata <pmachata@redhat.com> Drop meaningless global declarations on top level of ltrace.exp
estsuite/lib/ltrace.exp
7a1d8cd50bacdb33e2dbaf054f9a348a3f33e32e 06-Oct-2012 Petr Machata <pmachata@redhat.com> Support running test suite in valgrind
hangeLog
onfigure.ac
estsuite/Makefile.am
estsuite/lib/ltrace.exp
bce43dc15fcd84068182c696a366f5ffb4b2e06d 03-Oct-2012 Petr Machata <pmachata@redhat.com> Invoke get_compiler_info before ltrace_compile_shlib in libdl-simple.exp

This test case fails when run by itself. When run in a batch with the rest
of the test suite, someone else calls get_compiler_info and things get
initialized properly.

A related change is not to reference compiler_info global variable before
we even test its existence.
hangeLog
estsuite/lib/ltrace.exp
estsuite/ltrace.minor/libdl-simple.exp
c13bd96c15af83fa5818862a1f785a2d49094bee 03-Oct-2012 Petr Machata <pmachata@redhat.com> Clean up test environment before compiling or running tests
hangeLog
estsuite/lib/ltrace.exp
5b5c256d0e9076e745908a43acc46353265a5608 04-Oct-2012 Edgar E. Iglesias <edgar@axis.com> Abort on unsupported value types in the backends

Makes it easier to add new types.

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
ysdeps/linux-gnu/ia64/fetch.c
ysdeps/linux-gnu/m68k/fetch.c
ysdeps/linux-gnu/ppc/fetch.c
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/s390/fetch.c
ysdeps/linux-gnu/s390/trace.c
ysdeps/linux-gnu/x86/fetch.c
ysdeps/linux-gnu/x86/trace.c
3a8a91ca57f66d664b3fbd19882e6d163c7ad496 04-Oct-2012 Edgar E. Iglesias <edgar@axis.com> testsuite: Add testcase for sprintf like functions

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
c1dc30fe2bf18ae9ec016bf9bff55a07789439f8 14-Oct-2012 Petr Machata <pmachata@redhat.com> Fix expanding "format" pack when "+" was seen

The "+" is expanded to a formal argument PARAM_FLAVOR_STOP. Ignore that
formal argument when counting arguments for "format".
ead_config_file.c
83b3189516cab1e42854308f151b2ce5d2dd2364 13-Oct-2012 Petr Machata <pmachata@redhat.com> Fix handling of arg0 in parameter list
hangeLog
ead_config_file.c
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
f97b187598192f4c1f0ea47369f4e1dd4c08c392 01-Oct-2012 Edgar E. Iglesias <edgar.iglesias@gmail.com> mipsel: Replace LS_TOPLT_GOTONLY with delayed syms

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
ibrary.h
roc.c
ysdeps/linux-gnu/mipsel/arch.h
ysdeps/linux-gnu/mipsel/plt.c
85761852f44864ba3f92be2cfdd67af2e02f093e 28-Sep-2012 Petr Machata <pmachata@redhat.com> Add tests covering -l behavior
hangeLog
estsuite/ltrace.main/filters.exp
a1f768374c98ac0ed616482916bfedbe98753eba 28-Sep-2012 Petr Machata <pmachata@redhat.com> When a new library is mapped, activate latent PLT entries in other libraries
hangeLog
roc.c
10bd7a99d384f34c9c510828b722f29a8dc02393 28-Sep-2012 Petr Machata <pmachata@redhat.com> Merge new symbols properly with the symbols already in the library
hangeLog
trace-elf.c
e80caced59a9f0cdd7b70a5ad3b0e4103a477f2b 28-Sep-2012 Petr Machata <pmachata@redhat.com> If -l is requested, keep latent PLT entries

That is, if a PLT entry doesn't match plt_filter, keep it around as latent
in case a library implementing this name is mapped in.
hangeLog
trace-elf.c
013ef5b78915cd24324fe28e68ae38de9249cb4e 28-Sep-2012 Petr Machata <pmachata@redhat.com> When loading a library, load also a list of exported names, if requested
hangeLog
trace-elf.c
4b4dff4c810ebaccb1e36e1b3e9d69cd793ebde1 27-Sep-2012 Petr Machata <pmachata@redhat.com> Add a list of exported names to libraries

Those don't need to be full symbols, so we keep them separately.
hangeLog
ibrary.c
ibrary.h
51e74aca71ff7e8be91c074afd4f2264f46294e9 27-Sep-2012 Petr Machata <pmachata@redhat.com> Add parsing of -l option
hangeLog
trace.1
ptions.c
ptions.h
estsuite/ltrace.main/main-threaded.exp
estsuite/ltrace.main/main-vfork.exp
estsuite/ltrace.main/main.exp
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
74e57dd396818b1a9414c44e397ac82f692f5582 27-Sep-2012 Petr Machata <pmachata@redhat.com> Fix a comment in struct library
ibrary.h
0fa790473a035a432cb795eace4fe7ae6fd742b8 27-Sep-2012 Petr Machata <pmachata@redhat.com> Append default PLT entry to the symbols returned by arch_elf_add_plt_entry

This fixes the case that arch_elf_add_plt_entry both returns plt_default
and passes back a list of symbols to insert for this PLT entry.
trace-elf.c
016811fc65dc5ecabd2e80bfb4afc771f5d953cf 27-Sep-2012 Petr Machata <pmachata@redhat.com> Add a callback that can be used for looking up symbols by name
hangeLog
ibrary.c
ibrary.h
ef2fd27a347bbb0e7cca7fdee97422f6ae4d4bda 28-Sep-2012 Petr Machata <pmachata@redhat.com> Support latent and delayed symbols

Neither latent, nor delayed symbols are given a breakpoint. The difference
is in who's responsible for the state. Latent symbols are (will be) used
by ltrace core. Delayed symbols are used by backends. Only when both of
these flags are cleared is a breakpoint enabled for the symbol.
hangeLog
ibrary.c
ibrary.h
roc.c
roc.h
1054c90aa71875610fda43365a8e74086eb2bd66 27-Sep-2012 Petr Machata <pmachata@redhat.com> filter_matches_library should loop all filters in a chain

At least that's what filter_matches_symbol does.
ilter.c
8bda1ee2e92a3c211c01041f183b4e2bf2ebf9d2 26-Sep-2012 Petr Machata <pmachata@redhat.com> Mark default_elf_add_plt_entry static

If a backend wishes to use this, it should simply return plt_default.
Otherwise it should return plt_ok and a list of symbols to add.
hangeLog
trace-elf.c
trace-elf.h
02b960736c4a11cdd7c56093da418840da923a31 25-Sep-2012 Petr Machata <pmachata@redhat.com> Extract code for parsing library pattern and turning it into regex
hangeLog
ptions.c
0b02a93aff5808b7640299faedfeb697485fd170 01-Oct-2012 Edgar E. Iglesias <edgar@axis.com> mipsel: Avoid space before parenthesis in func calls

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
ysdeps/linux-gnu/mipsel/trace.c
a35cc7ad54c7ba11d113f729d40857f59bf01b05 01-Oct-2012 Edgar E. Iglesias <edgar@axis.com> mipsel: Always add/remove breakpoints to/from the leader

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
ysdeps/linux-gnu/mipsel/plt.c
ysdeps/linux-gnu/mipsel/trace.c
c44ef1ea84927851ddd74abff9a6374a62978cae 01-Oct-2012 Edgar E. Iglesias <edgar@axis.com> mipsel: Improve singlestepping over branch always

When singlestepping over BEQ issuing a compare between
a single register (i.e a branch always), only follow the
branch path.

This catches the case for functions that end with loops
and avoids us putting breakpoints at the begining of the
next function (where there likely already is a bp).

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
ysdeps/linux-gnu/mipsel/trace.c
3a1806db0ecaa4364e51b4822d66d05f4acd87a9 27-Sep-2012 Edgar E. Iglesias <edgar@axis.com> mipsel: Update breakpoints when functions return

When functions return we check if the symbol went from
unresolved to resolved and if the resolved address
differs from the unresolved one. If so, we add a new
breakpoint at the resolved address.

This is not thread-safe.

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
ackend.h
andle_event.c
ysdeps/linux-gnu/mipsel/arch.h
ysdeps/linux-gnu/mipsel/plt.c
addae05da54ac16c55133e1c384d74e03346f634 27-Sep-2012 Edgar E. Iglesias <edgar@axis.com> mipsel: Singlestep over breakpoints

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
ysdeps/linux-gnu/mipsel/arch.h
ysdeps/linux-gnu/mipsel/trace.c
ysdeps/linux-gnu/trace.c
6ef7b2597cd3f4edf851a7b3516aef7449e554ad 27-Sep-2012 Edgar E. Iglesias <edgar@axis.com> mipsel: Add mips specific symbol info loading

MIPS needs a backend specific way to load symbol info.
We add fields to the symbol representation to keep track
of the state of the dynamic symbol.

At arch_dynlink_done we go through the symbols that are
connected to a GOT entry but that where not resolved at
startup time (e.g function pointers to external syms).

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
roc.c
ysdeps/linux-gnu/mipsel/arch.h
ysdeps/linux-gnu/mipsel/plt.c
9f274ffc8d38bd73c31c2b181f25349b813cb9dd 27-Sep-2012 Edgar E. Iglesias <edgar@axis.com> mipsel: Conditionalize GOT indirection in sym2addr

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
ysdeps/linux-gnu/mipsel/plt.c
6e1dcb554221321b5c551cc40f0ea164eaf12e67 27-Sep-2012 Edgar E. Iglesias <edgar@axis.com> Add LS_TOPLT_GOTONLY

to describe symbols with a GOT entry but without PLT
entry.

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
ibrary.h
b5920d12ceb3dec3d359d8b2972fd22a30c72a66 27-Sep-2012 Edgar E. Iglesias <edgar@axis.com> Break out the symbol info gathering into a backend call

No functional change. Will be used by the MIPS backend.

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
ackend.h
trace-elf.c
ad64047d1d724637896d0f93af1a8fcce758c9b5 27-Sep-2012 Edgar E. Iglesias <edgar@axis.com> proc: Add missing sym2addr mappings

Not all arch's (e.g MIPS) have a direct mapping to
sym->enter_addr.

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
roc.c
266e1f5b1af3b095c9eab10f9862892fbd5f4ddf 27-Sep-2012 Edgar E. Iglesias <edgar@axis.com> mips: Map the various mips archs as mips/mipsel

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
onfigure.ac
51d85d99f3ed74c01109b1040499c3a01f68361c 26-Sep-2012 Edgar E. Iglesias <edgar.iglesias@gmail.com> testsuite: Avoid compile warning

Running ./ltrace.main/parameters.exp ...
compile failed for ltrace test, ./ltrace.main/parameters.c: In function 'main':
./ltrace.main/parameters.c:196: warning: format '%ld' expects type 'long int', but argument 4 has type 'int'
Testcase compile failed, so all tests in this file will automatically fail.

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
estsuite/ltrace.main/parameters.c
8bd9c19fd8e9864aeeddfbc60b044ededa66f84d 25-Sep-2012 Petr Machata <pmachata@redhat.com> Use forward.h instead of declaring structures
hangeLog
orward.h
ptions.h
20a411d376ae951d8ef5a47aca36644458f2e14a 25-Sep-2012 Petr Machata <pmachata@redhat.com> Fix several error messages
ptions.c
49d3d52e19692f92cf2114b053053c549a723b79 25-Sep-2012 Petr Machata <pmachata@redhat.com> Add vect_each, VECT_EACH for iteration over vectors
hangeLog
ect.c
ect.h
a24021c5abfa8c2482e3224f14ac191cd0826a8f 25-Sep-2012 Petr Machata <pmachata@redhat.com> Extract enum callback_status to a separate module

Document the interface, refer to this documentation at declarations of
each_* functions.
hangeLog
akefile.am
allback.h
ilter.c
ibrary.c
ibrary.h
roc.h
9eb1c0695cf95966a4b27355527691a2b7b7fe92 25-Sep-2012 Petr Machata <pmachata@redhat.com> Drop FORK_EXEC_SYSCALLS that is not used anymore these days
hangeLog
ysdeps/linux-gnu/x86/arch.h
78ed40f161c102a10c6033c28ad9a80e5ffe9550 22-Sep-2012 Petr Machata <pmachata@redhat.com> Fix passing struct(float,struct(float,float)) on x86_64

The problem was that we assumed that structure elements never overlap
eightbyte boundary. This assumption is violated by the above layout,
where the first two floats should be passed in %xmm0 together.

This case is covered by the Itanium HFA tests func_hfa_f3 and func_hfa_f4.
hangeLog
ysdeps/linux-gnu/x86/fetch.c
311358a1cac22781ecffe697a808bd43eac73bce 22-Sep-2012 Petr Machata <pmachata@redhat.com> Add more details to description of some backend.h declarations

arch_plt_sym_val was moved from ltrace-elf.h.

arch_fetch_* was declared in fetch.h. It uses enum tof, and it doesn't
feel right to pull this enum to backend. Instead leave arch_fetch_*
callbacks in fetch.h, and reference them in a comment in backend.h.
ackend.h
etch.h
trace-elf.h
53ae73b27227eeb12d7a6fb3cb7721fe9378092e 22-Sep-2012 Petr Machata <pmachata@redhat.com> arch_check_dbg is not used anymore

This used to be called for special handling of a symbol named "". This
was a breakpoint put on r_debug. These days we use breakpoint callbacks
for this, and don't need this kludge anymore.
hangeLog
ackend.h
a400a7c858f81b3be051a37011d88f8639bee598 13-Sep-2012 Petr Machata <pmachata@redhat.com> Fix passing of vararg parameters on Itanium

This fixes two failures in parameter.exp. That test case is now clean.
hangeLog
ysdeps/linux-gnu/ia64/arch.h
ysdeps/linux-gnu/ia64/fetch.c
b50f0e143c6d0b99031b880b8ec85c0995a06033 10-Sep-2012 Petr Machata <pmachata@redhat.com> Style nit
ysdeps/linux-gnu/ia64/fetch.c
248db7bc5d3e095da23b64f9afb0643ca64977ef 08-Sep-2012 Petr Machata <pmachata@redhat.com> Add ia64-specific tests

These test passing and returning homogeneous floating-point aggregates.
hangeLog
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
bd3752795ee71477adb76c1f1af17b9da3964004 08-Sep-2012 Petr Machata <pmachata@redhat.com> Add fetch back end for ia64

This passes most tests in parameters.exp with the exception of:
FAIL: printf(\"sotnuh %d %ld %g %c.n\", 5, 6, 1.500*, 'X')
FAIL: printf(\"many_args[...]

These two cases are probably hitting some ABI special case for variable
argument lists.
hangeLog
ysdeps/linux-gnu/ia64/Makefile.am
ysdeps/linux-gnu/ia64/arch.h
ysdeps/linux-gnu/ia64/fetch.c
ysdeps/linux-gnu/ia64/trace.c
64d6e060aa1d4607e766e40825bd9c9d13e8e1a4 08-Sep-2012 Petr Machata <pmachata@redhat.com> Add function type_aggregate_size

That to simply obtain number of elements in a structure or an array. This
is a counterpart to type_element.
hangeLog
ype.c
ype.h
e36298a706b96bfdf9335fbe8288827761d77957 13-Sep-2012 Petr Machata <pmachata@redhat.com> Introduce parameter pack flavors and parameter pack backend callbacks

The issue this is trying to solve is that some backends (Itanium in
particular) change the parameter passing convention depending on whether
given parameter is part of varargs parameter or not. Therefore the
backend needs to know a) that any give argument is part of parameter pack,
and b) if it is, whether it's a varargs-type pack, or something else.

Backends that wish to use this should add #define ARCH_HAVE_FETCH_PACK and
define functions arch_fetch_param_pack_{start,end} (with the same interface
as fetch_param_pack_{start,end} from fetch.h).
hangeLog
etch.c
etch.h
utput.c
aram.c
aram.h
rintf.c
a2e16c5cc8cc2343d40a44ac8b4d2230de9fc985 21-Sep-2012 Petr Machata <pmachata@redhat.com> Don't include arch.h, include sysdep.h instead

arch.h is supposed to be a simple configuration file and few have inclusion
guards. sysdep.h is the proper interface to use.
etch.c
ens_enum.c
ysdeps/linux-gnu/breakpoint.c
5371a73782447ffa19c0183ad55b6d0936c19e8a 13-Sep-2012 Andreas Schwab <schwab@linux-m68k.org> Add fetch back end for m68k

This ports the m68k backend to ARCH_HAVE_FETCH_ARG, which fixes all
remaining testsuite failures.
ysdeps/linux-gnu/m68k/Makefile.am
ysdeps/linux-gnu/m68k/arch.h
ysdeps/linux-gnu/m68k/fetch.c
ysdeps/linux-gnu/m68k/trace.c
0fd388f31ce345fd575b750f7fbd2b4831e97070 12-Sep-2012 Andreas Schwab <schwab@linux-m68k.org> Update m68k syscall table

Regenerated from linux 3.6-rc.
ysdeps/linux-gnu/m68k/syscallent.h
bedec653a961f848824e1b20bfe06134209402aa 12-Sep-2012 Edgar E. Iglesias <edgar@axis.com> Mention myself as CRIS port contributor

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
EADME
17e330d4d500e880499bee92875dd55427e16c4a 12-Sep-2012 Edgar E. Iglesias <edgar@axis.com> cris: autotoolization

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
onfigure.ac
ysdeps/linux-gnu/cris/Makefile
ysdeps/linux-gnu/cris/Makefile.am
135ac50e0e326f46942826fe08f64daaa0e3135a 12-Sep-2012 Edgar E. Iglesias <edgar@axis.com> cris: Compile fix

Include missing library.h

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
ysdeps/linux-gnu/cris/plt.c
1e2a1f7a687a5f79fff9c5d6aee38b44b39e9f43 12-Sep-2012 Edgar E. Iglesias <edgar@axis.com> cris: Map the various crisvxx versions to cris

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
onfigure.ac
6aa01523f249f9763ccd71db9f46969a6e5d8cfd 12-Sep-2012 Paul Buerger <pbuerger@avetec.org> reported time in system call was too large

when -S and -T are specified and if the system call spans
a second boundary, the reported time in the system call
was too large by precisely 2 seconds

Signed-off-by: Paul Buerger <pbuerger@avetec.org>
andle_event.c
563bca967f5c6c520643ff50aafb7d3b90e3507e 05-Sep-2012 Sedat Dilek <sedat.dilek@gmail.com> mips: Fix prototype of arch_elf_init() in plt.c

arch_elf_init prototype was wrong with respect to its declaration
in backend.h.

Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
ysdeps/linux-gnu/mipsel/plt.c
49c93487406e5cc134b78b5c664ec8f77771d03a 04-Sep-2012 Sedat Dilek <sedat.dilek@gmail.com> Remove PLTs_INIT_BY_HERE and E_ENTRY_NAME defines

Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
ysdeps/linux-gnu/mipsel/arch.h
d57c9f8a8515781d687ce57eadc371038cd01526 03-Sep-2012 Petr Machata <pmachata@redhat.com> Remove remnants of PLT_REINITIALISATION_BP

This was only ever used for PowerPC, which doesn't need it anymore.
hangeLog
trace-elf.c
trace.1
ptions.c
ysdeps/linux-gnu/ppc/arch.h
bbca48329c87640e54054c48f87317b637f8477c 03-Sep-2012 Petr Machata <pmachata@redhat.com> Drop the line mentioning --no-plt from --help
hangeLog
ptions.c
5165cf30236ab00b4b38b67794e8055f1076f619 01-Sep-2012 Sedat Dilek <sedat.dilek@gmail.com> breakpoints.c: handle_event.c: Fix compilation on MIPS

From my conversation with Petr Machata:

>>> [ breakpoints.c ]
>>>
>>> MIPS arch has no own "breakpoints.c".
>>> IIRC sth, was wrong with "list_of_symbols" in
>>> enable_all_breakpoints()... "Process" has no member "list_of_symbols",
>>> so cut off the mips-ifdef part.
>>> Just testing compiles or not.
>>
>> Cutting this actually seems reasonable. There was a similar ifdef for
>> PPC, and that is now gone as well (and PPC works fine). I believe
>> ltrace now handles delaying breakpoint enablement.
>>
>>> [ handle_event.c ]
>>>
>>> Same as for breakpoints.c cut off the mips-ifdef, seen
>>> "list_of_symbols" errors in handle_breakpoint().
>>
>> Hmm, that seems like an implementation of the delayed start. I think
>> this can be removed as well, with the same rationale as above.

These two should probably be in a patch by themselves.

Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
reakpoints.c
andle_event.c
7d804e9391378fae7de474d746efc72cb2024d4c 01-Sep-2012 Sedat Dilek <sedat.dilek@gmail.com> handle_event.c: Fix error pred uninitialized in pending_new_remove()

Petr Machata says to me:

> Fix "pred" uninitialized in pending_new_remove().

That should go into a separate patch. It's a good catch, but
conceptually has nothing to do with cleaning up MIPS.

Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
andle_event.c
a7e7bea0205959a2bdfe4c2049ebb01d3e3b23f7 01-Sep-2012 Petr Machata <pmachata@redhat.com> Update syscallent.h on MIPS from latest kernel
hangeLog
ysdeps/linux-gnu/mipsel/syscallent.h
3b3b0d3a24c1b6c374cc2338d9791518fffa29be 01-Sep-2012 Petr Machata <pmachata@redhat.com> Fix compilation on MIPS
ysdeps/linux-gnu/mipsel/plt.c
ysdeps/linux-gnu/mipsel/trace.c
cd439bac5a54c68f0d403c59bc2e8de419bed54e 01-Sep-2012 Petr Machata <pmachata@redhat.com> Bump version in configure.ac
onfigure.ac
5b4f4673ac4baf825eb5250049b97c9de1a1530a 31-Aug-2012 Petr Machata <pmachata@redhat.com> Fix includes
hangeLog
ysdeps/linux-gnu/ia64/breakpoint.c
70747c3890f71f80ff6fafacc990293c91dcff77 31-Aug-2012 Petr Machata <pmachata@redhat.com> Use assert instead of printing an error that should never happen
hangeLog
ysdeps/linux-gnu/ia64/breakpoint.c
c1e4186bc03fff3ddc2682bc10b11075381a950b 31-Aug-2012 Petr Machata <pmachata@redhat.com> Tweak a test to avoid a warning
ens_default.c
7bd88f51d4305f093ec45f557a0bde69ce5a7d11 31-Aug-2012 Petr Machata <pmachata@redhat.com> Fix formatting string
hangeLog
ysdeps/linux-gnu/ia64/plt.c
648b8f62f2ea57fbd74c735a73817866ff6b31b3 31-Aug-2012 Petr Machata <pmachata@redhat.com> Add forgotten header files to Makefile.am
hangeLog
akefile.am
5e2cfb11c420af3352a62ea197f37f85c00e024c 31-Aug-2012 Andreas Schwab <schwab@linux-m68k.org> Fix arch_plt_sym_val for m68k
ysdeps/linux-gnu/m68k/plt.c
fcf256ceeab4b0b74cf1e18122e894aafce94fdc 30-Aug-2012 Petr Machata <pmachata@redhat.com> PPC64 passes floating point equivalent structures in registers as well

Extract the structure unpacking code from s390 back end into the generic
type module. Call this from both s390 and ppc back ends.
ysdeps/linux-gnu/ppc/fetch.c
ysdeps/linux-gnu/s390/fetch.c
ype.c
ype.h
12d64f8bbae6245146900e8ee2292d854a22f26d 30-May-2012 Petr Machata <pmachata@redhat.com> Move a comment in s390 backend
ysdeps/linux-gnu/s390/fetch.c
1ac91188e53f5b880bfb7d103a56b51a2f0ebb52 30-May-2012 Petr Machata <pmachata@redhat.com> Forgot to add dejagnu portions of the new test cases
estsuite/ltrace.main/parameters.exp
a81af7c2f7691c1eeb801b7756b13899b79d7568 30-May-2012 Petr Machata <pmachata@redhat.com> Add test cases that check passing structures of various widths by value
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
df59c75ee9fa70343c9af929403cd3d371443714 30-May-2012 Petr Machata <pmachata@redhat.com> Support passing 8-byte structures via register pair on s390
ysdeps/linux-gnu/s390/fetch.c
0b926f68098c4dd0df922ba2c6214ed902cd4cd6 30-May-2012 Petr Machata <pmachata@redhat.com> In s390 fetch backend, compute type size in advance, pass in argument list
ysdeps/linux-gnu/s390/fetch.c
8d30fd9f26ccd15f0fa27e09d1fd99deddb17d36 30-May-2012 Petr Machata <pmachata@redhat.com> Move a comment where it belongs
ysdeps/linux-gnu/s390/fetch.c
232fb3cf407d139a475b296ac5e95ae344771786 30-May-2012 Petr Machata <pmachata@redhat.com> Drop gimme_arg from s390 back end
ysdeps/linux-gnu/s390/trace.c
917ef246757d89b74eac58e0664b3fe2146a6fdb 30-May-2012 Petr Machata <pmachata@redhat.com> Implement arch_type_{sizeof,alignof} for s390

This fixes s390x/s390 tracing scenario.
ysdeps/linux-gnu/s390/arch.h
ysdeps/linux-gnu/s390/trace.c
789ad44c2fa11ea4e6508fd2feb98025954cf01d 30-May-2012 Petr Machata <pmachata@redhat.com> Clean up s390/arch.h

Drop FORK_EXEC_SYSCALLS that is not used anymore these days.
Remove duplicity in defining LT_ELFCLASS and friends. We don't require
LT_ELFCLASS to be always defined anymore.
ysdeps/linux-gnu/s390/arch.h
4d4e1b853db0c97b7c7f023bc301e3c3eee58ce4 30-May-2012 Petr Machata <pmachata@redhat.com> Track elf class in struct Process

Technically only s390 needs this at the moment, but it seems general enough
that it should be alongside the e_machine flag. Eventually it is desirable
to replace both fields with either a backend-provided ABI enum, or with
an ABI object that would implement the interesting back end calls.
trace-elf.c
roc.c
roc.h
82b1977bfdc0c31be26454257db28a1cb497fbf2 30-May-2012 Petr Machata <pmachata@redhat.com> Support s390/s390 tracing

s390x/s390 is not supported yet
ysdeps/linux-gnu/s390/fetch.c
df3e3ce40c5dd3459bb365b684b78d8b1b94c1ec 29-May-2012 Petr Machata <pmachata@redhat.com> Add a test for passing of floating-equivalent structures

This is relevant on s390x, where these should be passed in a register.
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
ecb2e82fe81684fc10876db6b73de8cefad06d9a 29-May-2012 Petr Machata <pmachata@redhat.com> Implement fetch back end for s390x
ysdeps/linux-gnu/s390/Makefile.am
ysdeps/linux-gnu/s390/arch.h
ysdeps/linux-gnu/s390/fetch.c
a6fb1f5c52bb6c5f460bfb1631162ecf31c96621 29-May-2012 Petr Machata <pmachata@redhat.com> Don't attempt to display return value if fetch_retval fails
utput.c
e75fc3bfb167fb56c82a3af706b64335412639a8 29-May-2012 Petr Machata <pmachata@redhat.com> Don't attempt to output a value that wasn't initialized

This case comes up when fetch_params fails.
utput.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.
ackend.h
reakpoint.h
reakpoints.c
ibrary.c
ibrary.h
trace-elf.c
roc.h
ysdeps/linux-gnu/arm/breakpoint.c
ysdeps/linux-gnu/ppc/fetch.c
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/x86/fetch.c
ysdeps/linux-gnu/x86/regs.c
ysdeps/sysdep.h
26ef4cadd7d5ed7a525bd88cf9d0f05fc07f69de 18-May-2012 Petr Machata <pmachata@redhat.com> All the directories really need to be listed
onfigure.ac
1b4d3bec9409b4c9a5cbc1be9faa31ea988c6ed3 18-May-2012 Petr Machata <pmachata@redhat.com> We need to fetch floating registers on pure i386 as well

Also, remove i386 from the fail spec of parameters.exp, as now it's
expected to pass.
ysdeps/linux-gnu/x86/fetch.c
estsuite/ltrace.main/parameters.exp
67154e908e059729405c4479354b3216b3d62f90 17-May-2012 Petr Machata <pmachata@redhat.com> Align x86 syscallent tables, add new syscalls
ysdeps/linux-gnu/x86/syscallent.h
ysdeps/linux-gnu/x86/syscallent1.h
ddd96a3fbc7c54146d1d831810fc9e29c9bc3c76 17-May-2012 Petr Machata <pmachata@redhat.com> Merge i386 and x86_64 back ends into a general x86

The reason being that x86_64 needs to handle i386 anyway, and keeping the
two together might reduce code duplicity.
onfigure.ac
trace-elf.c
ysdeps/linux-gnu/Makefile.am
ysdeps/linux-gnu/i386/Makefile.am
ysdeps/linux-gnu/i386/arch.h
ysdeps/linux-gnu/i386/plt.c
ysdeps/linux-gnu/i386/ptrace.h
ysdeps/linux-gnu/i386/regs.c
ysdeps/linux-gnu/i386/signalent.h
ysdeps/linux-gnu/i386/syscallent.h
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/x86/Makefile.am
ysdeps/linux-gnu/x86/arch.h
ysdeps/linux-gnu/x86/fetch.c
ysdeps/linux-gnu/x86/plt.c
ysdeps/linux-gnu/x86/ptrace.h
ysdeps/linux-gnu/x86/regs.c
ysdeps/linux-gnu/x86/signalent.h
ysdeps/linux-gnu/x86/signalent1.h
ysdeps/linux-gnu/x86/syscallent.h
ysdeps/linux-gnu/x86/syscallent1.h
ysdeps/linux-gnu/x86/trace.c
ysdeps/linux-gnu/x86_64/Makefile.am
ysdeps/linux-gnu/x86_64/arch.h
ysdeps/linux-gnu/x86_64/fetch.c
ysdeps/linux-gnu/x86_64/plt.c
ysdeps/linux-gnu/x86_64/ptrace.h
ysdeps/linux-gnu/x86_64/regs.c
ysdeps/linux-gnu/x86_64/signalent.h
ysdeps/linux-gnu/x86_64/signalent1.h
ysdeps/linux-gnu/x86_64/syscallent.h
ysdeps/linux-gnu/x86_64/syscallent1.h
ysdeps/linux-gnu/x86_64/trace.c
2d9be647dd7402402ad3d2d2f114632aba21eaca 17-May-2012 Petr Machata <pmachata@redhat.com> Rename snip_small_int to align_small_int, move the function up
ysdeps/linux-gnu/ppc/fetch.c
36718b01e510ff3973e14b2bad0dbad3177b9943 17-May-2012 Petr Machata <pmachata@redhat.com> Fix compilation on PPC32

The test suite comes out clean in PPC32/PPC32 case as well.
ysdeps/linux-gnu/ppc/fetch.c
dbcb32a5ab5a1c9e2d8cb70b07320db1ae8c234b 17-May-2012 Petr Machata <pmachata@redhat.com> FP registers are not backed by GPR's on PPC32

This fixes func_many_args, printf/sotnuh and printf/many tests in
parameters.exp. The test suite is now clean in PPC64/PPC32.
ysdeps/linux-gnu/ppc/fetch.c
95792af484c635071ed96107d34a3762c4ca2ef2 17-May-2012 Petr Machata <pmachata@redhat.com> Size should be computed from the type stored at valuep

That because that type could have been changed above for passing structs
by reference on PPC32. This fixes the three func_struct_large* tests in
parameters.exp.
ysdeps/linux-gnu/ppc/fetch.c
ebd9191418bd73796533d6e21a2536906459ec1f 17-May-2012 Petr Machata <pmachata@redhat.com> Fixes for PPC fetch back end

This takes care of func_short, func_ushort, printf/sotnuh1, func_lens
and func_negative_enum tests in parameters.exp
ysdeps/linux-gnu/ppc/fetch.c
b52f89c1302256bae003edc44c6e3788833629f1 17-May-2012 Petr Machata <pmachata@redhat.com> Elementary support for fetch_* from PPC32 processes

Many test case failures in parameters.exp, but elementary fetching now works.
ysdeps/linux-gnu/ppc/fetch.c
d0a4cf7dc388729bce29fc8b1459e0a0007478f6 17-May-2012 Petr Machata <pmachata@redhat.com> Remove unused code
ysdeps/linux-gnu/ppc/ptrace.h
ysdeps/linux-gnu/ppc/trace.c
af9e30ec852a24f52a36775154ff79cc4be0193d 17-May-2012 Petr Machata <pmachata@redhat.com> Implement arch_type_sizeof and arch_type_alignof for PPC back end
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/trace.c
d5d70af126d79150ba62a471af08119f9cd44ed0 16-May-2012 Petr Machata <pmachata@redhat.com> Resolve the remaining problems in parameters.exp (PPC64 only)
ysdeps/linux-gnu/ppc/fetch.c
7d1e7926b92403ce03d1c2002c80937b280fa415 16-May-2012 Petr Machata <pmachata@redhat.com> Fix computation of address of the first used stack slot

This fixes func_struct_large in parameters.exp
ysdeps/linux-gnu/ppc/fetch.c
f7537b62af3507de87d6fa645ef20fe61e3f3c09 16-May-2012 Petr Machata <pmachata@redhat.com> Implement passing and returning structures by value on PPC64

This fixes tests func_struct_2, func_struct_large2 and func_struct_large3
in parameters.exp.
ysdeps/linux-gnu/ppc/fetch.c
54737daf1c51ec826fcabc8189a7ff891f29d59b 05-May-2012 Petr Machata <pmachata@redhat.com> First stab at fetch interface for PPC

This doesn't support passing structures by value and returning structures
is partially broken.
ysdeps/linux-gnu/ppc/Makefile.am
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/fetch.c
ysdeps/linux-gnu/ppc/trace.c
a7ec2d840a68bf103aacd240555406955c397ecf 04-May-2012 Petr Machata <pmachata@redhat.com> Move code related to fetch.h from trace.c to fetch.c in x86_64 back end
ysdeps/linux-gnu/x86_64/Makefile.am
ysdeps/linux-gnu/x86_64/fetch.c
ysdeps/linux-gnu/x86_64/trace.c
dcf518472b0f8581bac5af8a55d3a3c23472aaca 04-May-2012 Petr Machata <pmachata@redhat.com> Use struct Process.e_machine in conditions, not .mask_32bit

Though what we need in fact is a field determining ABI of the process.
e_machine is just one aspect of the used ABI, it doesn't include ELF class,
which we need to tell x86_64 binary from x32 binary.
ysdeps/linux-gnu/x86_64/trace.c
2fb192b7bb49b659343f6dec89931168de00660c 04-May-2012 Petr Machata <pmachata@redhat.com> Add interface value_pass_by_reference, use in x86_64 back end
ysdeps/linux-gnu/x86_64/trace.c
alue.c
alue.h
ac147e92ee3e79817d98f9b94f9363a2e063789c 04-May-2012 Petr Machata <pmachata@redhat.com> Don't name type in in sizeof expression, name variable
alue.c
5062d310aeba0103b48cd7b71d629c31dbdb89e8 04-May-2012 Petr Machata <pmachata@redhat.com> Set value by hand in value_reserve

Because value_set_word needs a type set, to resolve (potential) endian
issues. But we don't need this when all we do is set something to zero.
alue.c
4c2109ab8912d6c6616702ec9fa0cbaf65e7f751 04-May-2012 Petr Machata <pmachata@redhat.com> Resolve more issues on big endian machines

We need to cover the other direction as well. Note that the assert in
value_set_word currently fires. That's because when we are passing structs
by value, those structs may be larger than what fits in long. We may need
to add a heuristic to fetch.c to support legacy back ends. When those
asserts are removed, most test suite actually passes (6 failures related
to ABI support, 2 failures in filtering test).
alue.c
ad16845eb449e2d69591ddaf1910a4e47860323a 04-May-2012 Petr Machata <pmachata@redhat.com> Resolve some big endian issues in value.c
alue.c
42332ad028c8616c6d8155520bdc7293b53af138 04-May-2012 Petr Machata <pmachata@redhat.com> Drop fpregs_copy from PPC back end
ysdeps/linux-gnu/ppc/ptrace.h
ysdeps/linux-gnu/ppc/trace.c
98d319eb9654ce903c751405535ebcd7077be887 04-May-2012 Petr Machata <pmachata@redhat.com> Fix includes in PPC back end
etch.c
ibrary.c
ysdeps/linux-gnu/ppc/plt.c
da442f4777454436e02bf0ec170bc9b59fb68546 04-May-2012 Petr Machata <pmachata@redhat.com> Rename value_set_long to value_set_word

For consistency with value_extract_word
xpr.c
etch.c
ead_config_file.c
alue.c
alue.h
ero.c
8ae3673880056b5da0bf9a5fbf9b37276adae56e 30-Apr-2012 Petr Machata <pmachata@redhat.com> Fix memory errors
andle_event.c
ibrary.c
ysdeps/linux-gnu/trace.c
1e0b9dc0d527afddab645232658bd67e19ad81b0 28-Apr-2012 Petr Machata <pmachata@redhat.com> Pass proper TOF value to backend fetch_return_value
andle_event.c
ba1664b062414481d0f37d06bb01a19874c8d481 28-Apr-2012 Petr Machata <pmachata@redhat.com> Fix compilation
ackend.h
reakpoints.c
ommon.h
orward.h
andle_event.c
trace-elf.c
utput.c
roc.c
roc.h
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/trace.h
ysdeps/linux-gnu/x86_64/trace.c
c70b19501f800cb911ac906c7fb153c4a37f5f57 27-Apr-2012 Petr Machata <pmachata@redhat.com> Format 'o' and 'x' printf modifiers properly
rintf.c
a1ab898e725f8ec780c26296885492e77be0c47c 27-Apr-2012 Petr Machata <pmachata@redhat.com> Empty line in a config file may end (and often does) in an EOL character
ead_config_file.c
5b9a241728a0163ef5e6c982871bea14b18f303a 27-Apr-2012 Petr Machata <pmachata@redhat.com> Replace (void) in function prototypes for ()
tc/ltrace.conf
307e19807488c967401cd00d693a1efd1abff2c0 27-Apr-2012 Petr Machata <pmachata@redhat.com> Fix a typo in the config file
tc/ltrace.conf
f8064792a6e31eb729eb2f81f8647771ad525e81 22-Feb-2012 Petr Machata <pmachata@redhat.com> Fix stack underrun that broke tracing on PPC64

Rich parameter formatting is still very broken, but now at least we pass
most test cases.
andle_event.c
c6a1463684a03af0fd74bf438f85c26bb6c7a76c 22-Feb-2012 Petr Machata <pmachata@redhat.com> PPC backend needs to include backend.h
ysdeps/linux-gnu/ppc/trace.c
f6a56e15530b179e404aab075dab8661af64155e 17-Jan-2012 Petr Machata <pmachata@redhat.com> Fix character counting in format_naked_char in default lens
ens_default.c
987d27b3e97b208874ca967d536dc862dae2bd43 17-Jan-2012 Petr Machata <pmachata@redhat.com> Simplify format_char in default lens
ens_default.c
c07a26a8d0f86bc4137eb7b7fea8bbf9021275f1 09-Jan-2012 Petr Machata <pmachata@redhat.com> Add enum lens, drop ARGTYPE_ENUM
hangeLog
akefile.am
ens_default.c
ens_enum.c
ens_enum.h
ead_config_file.c
ysdeps/linux-gnu/x86_64/trace.c
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
ype.c
ype.h
d5285b23e7e515ccb6afdb82fae32a608bb28a2f 09-Jan-2012 Petr Machata <pmachata@redhat.com> Declare endianess in arch.h of each architecture
hangeLog
ysdeps/linux-gnu/alpha/arch.h
ysdeps/linux-gnu/arm/arch.h
ysdeps/linux-gnu/cris/arch.h
ysdeps/linux-gnu/i386/arch.h
ysdeps/linux-gnu/ia64/arch.h
ysdeps/linux-gnu/m68k/arch.h
ysdeps/linux-gnu/mipsel/arch.h
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/s390/arch.h
ysdeps/linux-gnu/sparc/arch.h
ysdeps/linux-gnu/x86_64/arch.h
38fb49b852374d749bc91f1b8d91a2b5b2a57a10 09-Jan-2012 Petr Machata <pmachata@redhat.com> Add a "bool" lens
hangeLog
ens_default.c
ens_default.h
ead_config_file.c
541cdc7736ffa770958208995fae71cbd1d50bcf 09-Jan-2012 Petr Machata <pmachata@redhat.com> New x86_64 back end
hangeLog
ysdeps/linux-gnu/x86_64/arch.h
ysdeps/linux-gnu/x86_64/ptrace.h
ysdeps/linux-gnu/x86_64/trace.c
e3f4a984db115979e09414b7281da98399dd8949 09-Jan-2012 Petr Machata <pmachata@redhat.com> Drop ARGTYPE_STRING, reimplement as lens over array of chars
hangeLog
ens_default.c
ens_default.h
rintf.c
ead_config_file.c
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
ype.c
ype.h
alue.c
alue.h
e9b9b076f1bd2e31c01525c53d2626b0f144470f 09-Jan-2012 Petr Machata <pmachata@redhat.com> Extract the common keyword-parsing logic into a function
hangeLog
ead_config_file.c
b781916d24d6ee96842c818b5e18af31808d427d 09-Jan-2012 Petr Machata <pmachata@redhat.com> Drop ARGTYPE_UNKNOWN, use guess_lens instead
hangeLog
ens_default.c
ens_default.h
utput.c
rintf.c
ead_config_file.c
ype.c
ype.h
ce034981e2880eecb8a196c78182dfb4ae67850f 09-Jan-2012 Petr Machata <pmachata@redhat.com> Replace ARGTYPE_OCTAL with lens, add also hex lens
hangeLog
ens_default.c
ens_default.h
ead_config_file.c
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
ype.c
ype.h
31af32cfcd61671cbb5e567870103766b3231521 08-Jan-2012 Petr Machata <pmachata@redhat.com> Add lenses

- this adds the lens framework, although there are currently no interesting
lenses. display_args.c was mostly moved to lens_default.c
hangeLog
akefile.am
isplay_args.c
ens.c
ens.h
ens_default.c
ens_default.h
rintf.c
ead_config_file.c
ype.c
ype.h
642626096a694c6af279d25d2b1b2fba5b10ddfb 07-Jan-2012 Petr Machata <pmachata@redhat.com> Add backend.h for backend interfaces
hangeLog
akefile.am
ackend.h
reakpoints.c
ommon.h
xecute_program.c
andle_event.c
ibltrace.c
trace-elf.c
roc.c
ysdeps/README
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/events.h
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.c
alue.c
cd972587a4c0d14d764b3d0a43d75f5941db14cc 07-Jan-2012 Petr Machata <pmachata@redhat.com> Move event-que declarations to sysdeps, new backend interface process_removed

- the reason being that the que-handling was declared on global level, but
was only implemented in one back end. If this is deemed generally useful,
it should all be moved to front end, but as things are it's all the same,
so I'm preferring the less invasive change
hangeLog
ommon.h
orward.h
roc.c
ysdeps/linux-gnu/Makefile.am
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/events.h
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.c
b77f778eda200e0dc1c481e2f7dc5ff322147bd7 07-Jan-2012 Petr Machata <pmachata@redhat.com> Add many test cases to the test suite
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
e6ee77bc6197b11355ebb911f4e09d4ff95286d9 07-Jan-2012 Petr Machata <pmachata@redhat.com> Tweak x86_64 backend to fix the most glaring errors

- better back end is on the way
ysdeps/linux-gnu/x86_64/trace.c
4767187d0d7924bfe5028fe3e29e3b018bc9c99b 07-Jan-2012 Petr Machata <pmachata@redhat.com> Add value_string_to_charp

- I consider this a temporary solution before ARGTYPE_STRING is removed.
Since we need to handle strings as array(char, zero)*, it's necessary to
do this conversion by hand every once in a while. This code implements
such transformation.
isplay_args.c
ype.c
alue.c
alue.h
940ec0650bfe0f1deda96d3561be3d0006df92fc 06-Jan-2012 Petr Machata <pmachata@redhat.com> Introduce printf module, drop ARGTYPE_FORMAT
hangeLog
akefile.am
isplay_args.c
rintf.c
rintf.h
ead_config_file.c
ype.c
ype.h
6f9f03b3108b68e790eca48fcf053f74ff433094 06-Jan-2012 Petr Machata <pmachata@redhat.com> Drop struct arg_type_info.u.{float,double}_info

- this is not generally useful, for proper ABI support each backend has
to implement some sort of register-allocating state machine anyway (like
is currently done for ppc).
- ia64 was the only backend making use of this, fix that part of the code
hangeLog
ysdeps/linux-gnu/ia64/trace.c
ype.h
56abb870555ae16ecffaa12373a0d72328e19514 06-Jan-2012 Petr Machata <pmachata@redhat.com> Drop ARGTYPE_COUNT
hangeLog
isplay_args.c
ead_config_file.c
ype.c
ype.h
3a9bf6db1a56e0950eb94e9f429c4d40c1b2169e 06-Jan-2012 Petr Machata <pmachata@redhat.com> Track arg_type_info ownership properly
hangeLog
ommon.h
utput.c
ead_config_file.c
915ce8aff87d17eda9dde28bac8e6e7ec6608207 06-Jan-2012 Petr Machata <pmachata@redhat.com> Fix parsing of pointers

- allow spaces between stars
- use type_init_pointer instead of initializing manually
ead_config_file.c
e415c30f069f7e4cbb48a766409f3c5eef1e8a1b 06-Jan-2012 Petr Machata <pmachata@redhat.com> Drop list_of_pt, arg_type_prototypes, lookup_prototype in read_config_file.c

- We now have similar facility in type.c. The advantage is that it's not
sensitive to changes in enum order.

- The flyweight pattern is now actually used only for simple types. Types
such as struct are not needlessly constructed
hangeLog
ead_config_file.c
ype.h
a26631600f23127cc39fba84266a5cb836af7584 06-Jan-2012 Petr Machata <pmachata@redhat.com> Extract array parsing into a separate function
hangeLog
ead_config_file.c
21e56081e73310b3409c6d4af1af118fb700c3f8 06-Jan-2012 Petr Machata <pmachata@redhat.com> Move ARGTYPE_ENUM entries to arg_type_info.u.entries, use type.c in parser
ead_config_file.c
ype.c
ype.h
2bea8615d97097a334449ee95112c8a59277103e 06-Jan-2012 Petr Machata <pmachata@redhat.com> Drop ARGTYPE_STRING, all strings now have length (sometimes "zero")
hangeLog
isplay_args.c
ead_config_file.c
ype.c
ype.h
88a30210f32add54af498bf6f127b2b9773bdf8e 06-Jan-2012 Petr Machata <pmachata@redhat.com> Drop unused MAX_ARGS
efs.h
2fb2b8d877ae562374a89ad777ec24534522840e 06-Jan-2012 Petr Machata <pmachata@redhat.com> Drop ARGTYPE_ADDR, ARGTYPE_FILE, introduce same as implicit typedefs
hangeLog
isplay_args.c
ead_config_file.c
ype.c
ype.h
f83053d927d0e7a488b1077136eea7611a022553 06-Jan-2012 Petr Machata <pmachata@redhat.com> New interface init_global_config
hangeLog
ibltrace.c
ead_config_file.c
ead_config_file.h
865303f5abd934aff8e054ff8d8117e9cd36dda3 06-Jan-2012 Petr Machata <pmachata@redhat.com> Add module param.c/param.h

- this allows support of parameter packs, which in particular enables
re-introducing of "format" and others in a more systematic manner
hangeLog
akefile.am
ommon.h
orward.h
utput.c
aram.c
aram.h
ead_config_file.c
d7b2292789462475ead5986c2dea25a0b8623f7d 06-Jan-2012 Petr Machata <pmachata@redhat.com> Add module zero.c/zero.h
hangeLog
akefile.am
isplay_args.c
ead_config_file.c
ero.c
ero.h
eff655b78f3f5d9119faa93461787192cf57dab0 06-Jan-2012 Petr Machata <pmachata@redhat.com> Add parse_char
hangeLog
ead_config_file.c
f6ec08afb96292fd3c802c1f633d8de249664c72 06-Jan-2012 Petr Machata <pmachata@redhat.com> Add fetch.c/fetch.h, a module for fetching function arguments

- this is now a thin wrapper over gimme_arg, ideally the backends will
eventually use this right interface

- in display_args.c, strip one layer of pointer wrapping, which is now
done in output.c
hangeLog
akefile.am
ommon.h
isplay_args.c
etch.c
etch.h
andle_event.c
utput.c
utput.h
roc.c
roc.h
37b73c0ab8cbcab4729df6d12f2dc846d4652310 06-Jan-2012 Petr Machata <pmachata@redhat.com> Drop LT_TOF_NONE, LT_TOF_STRUCT
hangeLog
ommon.h
utput.c
97f13e3fca546aa292ba5d8aa6011338e64f2f7a 06-Jan-2012 Petr Machata <pmachata@redhat.com> Drop unused interfaces save_register_args, struct stack_element.arch_ptr
hangeLog
ommon.h
utput.c
roc.h
ysdeps/linux-gnu/alpha/trace.c
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/cris/trace.c
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/ia64/trace.c
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/mipsel/trace.c
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/s390/trace.c
ysdeps/linux-gnu/sparc/trace.c
ysdeps/linux-gnu/x86_64/trace.c
46a41f7c72828f2f43a640e0ce1fbb41d7a196e9 06-Jan-2012 Petr Machata <pmachata@redhat.com> Drop umovestr, umovelong that are not used anymore
hangeLog
ommon.h
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/trace.c
77d2137b1f1db9c3a0c7090dee882e0e17984350 05-Jan-2012 Petr Machata <pmachata@redhat.com> Change read_int interface to allow error propagation
hangeLog
ead_config_file.c
d71cf2d1b61338c9e77acd5479b017dbc0d2dffd 05-Jan-2012 Petr Machata <pmachata@redhat.com> Add dedicated error reporting functions
hangeLog
orward.h
utput.c
utput.h
ead_config_file.c
94078ecce3a103c28457e6f90f1e5b0dacc61146 05-Jan-2012 Petr Machata <pmachata@redhat.com> Add expr.c, expr.h, plug in properly

- in callstack_pop, we don't free arch_ptr. That's because this doesn't
get copied over the clone. It's a mere coincidence that fork() doesn't
need to save register arguments, and this works.

- added copyright notices to files that this touches. This is based on
git blame. Only contributors of 10+ lines are added

- test suite adjusted to not include "void" type as "don't show this int".
Back ends in general need to know the exact type, so this never worked
anyway.
hangeLog
akefile.am
ommon.h
isplay_args.c
xpr.c
xpr.h
orward.h
andle_event.c
ibltrace.c
utput.c
roc.c
roc.h
ead_config_file.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
ype.c
ype.h
alue.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
hangeLog
akefile.am
ommon.h
isplay_args.c
utput.c
ead_config_file.c
ysdeps/linux-gnu/alpha/trace.c
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/cris/trace.c
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/ia64/trace.c
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/mipsel/trace.c
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/s390/trace.c
ysdeps/linux-gnu/sparc/trace.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/x86_64/trace.c
ype.c
ype.h
alue.c
alue.h
alue_dict.c
alue_dict.h
a0a6a54a41d828c9a018829033443b0faabefb2f 03-Jan-2012 Petr Machata <pmachata@redhat.com> New module for implementation of array that can grow on demand
hangeLog
akefile.am
ect.c
ect.h
f48031c60b05113194ad6dc2163ce3895a6b8d80 07-Feb-2012 Petr Machata <pmachata@redhat.com> Create breakpoint.h with decls related to breakpoints
ommon.h
ysdeps/linux-gnu/breakpoint.c
d47b2018061910ac75ff287cff50c377db14037e 29-Aug-2012 Petr Machata <pmachata@redhat.com> Remove features.h include

I don't think it's needed at all. There's nothing dependent off it in
debug.*, and if other files use it, they should include it themselves.
ebug.h
bfe1891b1c2009394406c4e7583b48d6fb93b6b6 04-Aug-2012 Andrey Zonov <zont@FreeBSD.org> Change shebang to /bin/sh
utogen.sh
d2c5dfdf0c746bb0d0365505577461f0058aedf9 04-Aug-2012 Andrey Zonov <zont@FreeBSD.org> Add missed header for struct timeval
roc.h
9d878c9d7600d313a2b2c53201569db790ec2c61 04-Aug-2012 Andrey Zonov <zont@FreeBSD.org> Hide linux specific headers
ebug.h
trace-elf.c
e6f86b22ec3fababd13168bf1001b905eeae3136 04-Aug-2012 Andrey Zonov <zont@FreeBSD.org> Fix typo
onfigure.ac
0a0550a6b775720256f8f65717e5eaddc536410b 16-Aug-2012 Andrey Zonov <zont@FreeBSD.org> Prevent using of uninitialized value
ibrary.c
964a68050a12e1591004b6f469c792a42fa9539f 29-Jun-2012 Petr Machata <pmachata@redhat.com> Man page nits
trace.1
bf7909260bb6911abb4e42a650586938956dc904 01-Jun-2012 Petr Machata <pmachata@redhat.com> Demangle test should just skip testing if demangling wasn't compiled in

It happens to pass, which is not correct. It needs to be reported as
unsupported.
estsuite/ltrace.minor/demangle.exp
cdd17b88c22f8dd50fef823a9cfff2098a43a79d 01-Jun-2012 Petr Machata <pmachata@redhat.com> We should look for demangle in libstdc++ as well
akefile.am
ommon.h
onfigure.ac
emangle.c
c1d75953c55bff66f530518ee492bd53a6186c64 06-Mar-2011 Michael K. Edwards <m.k.edwards@gmail.com> autoreconf with --verbose, without --symlink
utogen.sh
2f132010375c74448c182b160d1a851abd560970 06-Mar-2011 Michael K. Edwards <m.k.edwards@gmail.com> Result of autoupdate with autoconf 2.65
onfigure.ac
090f7d386e02207295377740586e320dce90a27d 06-Mar-2011 Michael K. Edwards <m.k.edwards@gmail.com> Save copies of libtool m4 macros in config/m4 (to make autoreconf -fiv happy)
akefile.am
onfigure.ac
6c1c0bb3494f787a5cf544e4d62375ec81af8d99 18-May-2012 Petr Machata <pmachata@redhat.com> Don't consider STN_UNDEF symbols for breakpoints

This fixes filters.exp on s390x.
trace-elf.c
5f8a5e78e9d410b8cb10401e463f9ffc9e062505 18-May-2012 Petr Machata <pmachata@redhat.com> Fix a s390 build failure
ysdeps/linux-gnu/s390/plt.c
8a568dd4ad368d37c059ec9c8da0e894417a27d9 18-May-2012 Petr Machata <pmachata@redhat.com> Add missing include config.h to proc.h
roc.h
91c399c086b3a1895a299dee4c6181b56b6437dd 15-May-2012 Petr Machata <pmachata@redhat.com> Be more robust if entry breakpoint can't be added
reakpoints.c
f4c56d4b48178639fd6381e30148cbee7f8230ed 05-May-2012 Petr Machata <pmachata@redhat.com> One more fixlet related to Android

(Again from Florian Echtler <floe@butterbrot.org>)
ebug.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>.
ysdeps/linux-gnu/arm/breakpoint.c
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/trace.c
a11cbede4711e1efe2d6fb0a8a5b2050b2fe941c 05-May-2012 Petr Machata <pmachata@redhat.com> Add include guards and copyright notices to dict.c and dict.h
ict.c
ict.h
c0ab28673d03bdf8f264556bde0d3806ea062322 05-May-2012 Petr Machata <pmachata@redhat.com> Fix compilation of ARM back end
ysdeps/linux-gnu/arm/breakpoint.c
ysdeps/linux-gnu/arm/plt.c
2eb941ddadeec2382a45a1e4e80003dc8abe59d0 05-May-2012 Petr Machata <pmachata@redhat.com> Drop process_get_entry, which is not useful right now
ommon.h
roc.c
ysdeps/linux-gnu/proc.c
5bddfccaa50aa9de2f58cbe8fa754ded3c7ad2eb 03-May-2012 Petr Machata <pmachata@redhat.com> Better checking for -n argument
ptions.c
61686c26634ea847c41470801572b49bebce5b99 03-May-2012 Petr Machata <pmachata@redhat.com> Don't call remove_process in process_bare_destroy

This does many things, we only care obout the unlisting.
roc.c
54004758185489b6bf74aa94e7ccd83b23840362 03-May-2012 Petr Machata <pmachata@redhat.com> Don't indent first-level call
utput.c
a82d32209f276e10dd1f437b38b4b6e5de32b980 01-May-2012 Petr Machata <pmachata@redhat.com> Fix 32-bit builds
trace-elf.c
ysdeps/linux-gnu/ppc/plt.c
6ca19a3c08bc75fb451df30f4c6e6c1a128731fe 30-Apr-2012 Petr Machata <pmachata@redhat.com> Use read_target_8 in arch_translate_address_dyn
ysdeps/linux-gnu/ppc/plt.c
8bfb5734dfc5a82addc9db9d4c7642173bb4206b 30-Apr-2012 Petr Machata <pmachata@redhat.com> Fix arch_translate_address on 32-bit PPCs
ysdeps/linux-gnu/ppc/plt.c
b1492dfaca6882fa0798b549e0557c7dec6b7e9c 30-Apr-2012 Petr Machata <pmachata@redhat.com> Split arch_translate_address into this and arch_translate_address_dyn

The former is called when ltelf is available. The latter in dynamic context
when ltelf is not necessary anymore (or if the data is necessary, it will
have been copied out to struct library).
hangeLog
reakpoints.c
ibrary.h
trace-elf.c
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/proc.c
5b3e26acd50d74e8b7c007f8b5dfb1a825ef9aff 30-Apr-2012 Petr Machata <pmachata@redhat.com> Add elf_get_section_named

Document elf_get_section_* in ChangeLog
hangeLog
trace-elf.c
trace-elf.h
3a01cd7a2fcf200cedd0770e137a28764f679c3c 30-Apr-2012 Petr Machata <pmachata@redhat.com> Offset in elf_read_u{16,32,64} should be 64-bit even when ltrace is 32-bit
trace-elf.c
trace-elf.h
2bbeac4df26c6ecb7793fb2e764195cba88471fa 30-Apr-2012 Petr Machata <pmachata@redhat.com> Ignore version string in symbol name
trace-elf.c
917725c482d4857561fbb1e6a9ca8a964549a22b 26-Apr-2012 Petr Machata <pmachata@redhat.com> Add a commentary about a correctness issue to detach_task_cb
ysdeps/linux-gnu/ppc/plt.c
d7b63328ff456817f8d9f14e8c7ecfe340e12c8e 26-Apr-2012 Petr Machata <pmachata@redhat.com> Update coding style in lines that we change vs. master anyway
ommon.h
ea0177aeab0c1774d12e05cfec336a52115f9e2c 26-Apr-2012 Petr Machata <pmachata@redhat.com> Update ChangeLog
hangeLog
97aafe40cc9f270b6126b36e1a65bb065d04e8e3 25-Apr-2012 Petr Machata <pmachata@redhat.com> Add a test for filtering expressions and DSO calls
estsuite/ltrace.main/filt.c
estsuite/ltrace.main/filt1.c
estsuite/ltrace.main/filt2.c
estsuite/ltrace.main/filters.exp
53bc49ba54e39fe306f8009e18c9797cc0aa46f2 25-Apr-2012 Petr Machata <pmachata@redhat.com> Don't output caller name if what we hit is not a PLT symbol
utput.c
cc0e1e4b83d69441cc5f61ea87eda5458ee9fae3 25-Apr-2012 Petr Machata <pmachata@redhat.com> Replace some uses of error with fprintf

error is not standard so it has no business being used in generic code.
The linux-gnu back end is useful for android, and that doesn't have that
interface either.
reakpoints.c
ilter.c
andle_event.c
ibltrace.c
trace-elf.c
ptions.c
roc.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.c
fd2641c0d27705c89d224e3205b1296110b6598c 24-Apr-2012 Petr Machata <pmachata@redhat.com> Fix double frees, remove_process now releases memory

Presence in singly-linked list strongly indicates that process is heap
allocated, and that if we are about to stop tracing it, we should also
reclaim the memory.
andle_event.c
roc.h
ysdeps/linux-gnu/ppc/plt.c
8ead1cde21252e779f29ee4bcd68ae4a1bc86ed9 24-Apr-2012 Petr Machata <pmachata@redhat.com> Only destroy breakpoints in leader

Also use proc_each_breakpoint instead of dict_apply_to_all.
roc.c
9b87e82848a8a7e3e8dadf917c0262d838661596 24-Apr-2012 Petr Machata <pmachata@redhat.com> Call process_destroy, free in remove_process
roc.c
d94108be1ae41b0ead839fb01cb0c1fd384ea65f 24-Apr-2012 Petr Machata <pmachata@redhat.com> Use on_retract to fix detach on PPC64 stripped

There should still be a small window where this can fail, namely when we
catch IP in a stub, after address is read from .plt and moved to CTR, but
before it jumps there (which would get the process to breakpoint address,
which we now notice). We may need to either fixup the .plt[0], or do
code reading to figure out whether we are in a stub and compare CTR.
ysdeps/linux-gnu/ppc/plt.c
86d3828129e70222abdb77bdda6f31a7f1eafd5a 24-Apr-2012 Petr Machata <pmachata@redhat.com> Add on_retract breakpoint callback
reakpoint.h
reakpoints.c
ysdeps/linux-gnu/trace.c
4e1c06694c2ad99458817dcf9f1c6a73339cadd7 24-Apr-2012 Petr Machata <pmachata@redhat.com> Update man page
trace.1
25f319e5ef1b66d5b8766d1924e4899b020c0df0 23-Apr-2012 Petr Machata <pmachata@redhat.com> Support '!' in filter syntax for backward compatibility

We already have support for initial '-', so this can be trivially translated
ptions.c
050fa7f51dc82df0bdadf4bc05c438e46e2d079a 23-Apr-2012 Petr Machata <pmachata@redhat.com> Don't support ',' in filters, support '+'

The '+' operator is technically not necessary, but it might be useful for
intuition.
ptions.c
c631abfeeb063952f63533fd2c261567a297eeb1 23-Apr-2012 Petr Machata <pmachata@redhat.com> Filters should be in disjunctive relationship

As soon as one symbol is matched by one full filter, it's accepted. Filters
do not form intersection, but union. (At least I guess it's more intuitive
this way).
ilter.c
0e44da35a9d783318f936cce8a4f81f18193ab23 23-Apr-2012 Petr Machata <pmachata@redhat.com> filter_add_rule adds to the end of the chain
ilter.c
622581f4db4ae4ef8932984a4d1c4935ca7f61ef 23-Apr-2012 Petr Machata <pmachata@redhat.com> Use the right process to insert breakpoints for stepping over atomic block
reakpoint.h
ysdeps/linux-gnu/trace.c
e577a10e73b41e2c68fff7e8d89c22dfb9378b99 23-Apr-2012 Petr Machata <pmachata@redhat.com> Don't assume that ORIG_RAX/ORIG_EAX always contains original syscall number

Sometimes it's set to -1, apparently in cases where the system call
shouldn't be restarted. It that's the case, just assume that it's return
from the topmost system call. This gets rid of some "unexpected breakpoint"
messages on x86_64 and i386.
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/x86_64/trace.c
a32ef7cbde9315c3993181d6f470b8c5d98e8d42 23-Apr-2012 Petr Machata <pmachata@redhat.com> Don't build fake library for system calls

At least not this way, the idea itself is still attractive.
andle_event.c
utput.c
02a41a5a996ffb774078cafe6311150720d2fd5b 20-Apr-2012 Petr Machata <pmachata@redhat.com> Fix attach on PPC32 BSS
reakpoints.c
ysdeps/linux-gnu/ppc/plt.c
c0649d882391a31189fd7fc72bb572c0a8acb2ae 20-Apr-2012 Petr Machata <pmachata@redhat.com> Fix tracing on x86_64 and i386

When breakpoints is deleted ultimately, we can't call
continue_after_breakpoint, and therefore IP doesn't get adjusted. Do this
explicitly in generic code for such cases.
andle_event.c
16fabd00daa5f1ebc3f918eb0995aa303562de90 20-Apr-2012 Petr Machata <pmachata@redhat.com> Fix compilation on x86_64 and i386
trace-elf.h
a753c98f0957df9d12d5ecf0607eef7033ab7745 20-Apr-2012 Petr Machata <pmachata@redhat.com> Fix compilation on PPC32
ysdeps/linux-gnu/ppc/plt.c
b556058c2126fd69dfe03d1187429d98b5636d61 19-Apr-2012 Petr Machata <pmachata@redhat.com> Fixes for PPC32 BSS unprelinked

The testsuite now mostly passes, the outstanding problem that's specific
to that configuration is with attach and vfork-threads test cases.
ysdeps/linux-gnu/ppc/plt.c
2cb124c21d5471a5443658b2e31a786856ff2f6d 19-Apr-2012 Petr Machata <pmachata@redhat.com> Clone struct Process.e_machine in process_clone
roc.c
77e8fa8d24af41ec57635d3e73726d3930d95830 19-Apr-2012 Petr Machata <pmachata@redhat.com> Reinsert vfork return breakpoint in handler

Previously we assumed that that breakpoint would still be around in the
breakpoint table, but now that they are actually erased on removal, it
doesn't hold anymore. If it should hold (which might happen), then
insert_breakpoint knows to just piggy-back on an existing breakpoint.
ysdeps/linux-gnu/trace.c
24a47043b182f7fec6670d5a4d0e485e94a53ac1 19-Apr-2012 Petr Machata <pmachata@redhat.com> When removing atomic breakpoints, fetch data from leader, not current proc
ysdeps/linux-gnu/trace.c
5ee368270823922ee2a11f0637a355641f6af457 19-Apr-2012 Petr Machata <pmachata@redhat.com> Fix code that assumes that breakpoint is valid after removed

(Which may actually hold sometimes, but generally won't.)
reakpoints.c
andle_event.c
f7fee43f72667f453bba5aaeea6b5490ece6792a 19-Apr-2012 Petr Machata <pmachata@redhat.com> Implement proc_remove_breakpoint
reakpoints.c
roc.c
roc.h
77fbb8ff4ba461c11af3678a0db7cf6a47738ff4 19-Apr-2012 Petr Machata <pmachata@redhat.com> Implement dict_remove
ict.c
ict.h
d2fc09dccfc18680209a918dc8cbcc1f75e41118 19-Apr-2012 Petr Machata <pmachata@redhat.com> On PPC32 BSS unprelinked, watch both .plt slots for changes
ysdeps/linux-gnu/ppc/plt.c
42748aca73359c83881556c8b28f6cda4f1c143b 19-Apr-2012 Petr Machata <pmachata@redhat.com> Fixes for atomic block support

- Support branches in atomic blocks
- Fix interaction between atomic skip and single stepping
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/trace.h
f1fd7cd52e3829f0073c2d740b3d1998dcfd4923 19-Apr-2012 Petr Machata <pmachata@redhat.com> Fix post_singlestep for cases where event was already sunk
ysdeps/linux-gnu/trace.c
9e1e969838d9cc520abb96038aa98520c08c80b9 19-Apr-2012 Petr Machata <pmachata@redhat.com> Fix rebase fallout
andle_event.c
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/trace.c
391318fb9b1f0f0f67b642309f5c9e94557f8568 19-Apr-2012 Petr Machata <pmachata@redhat.com> Fix filtering
ilter.c
ptions.c
8454bd71f00aba4b383d42a8fec44695c9b0f018 17-Apr-2012 Petr Machata <pmachata@redhat.com> Don't emit newline in one debug message
ysdeps/linux-gnu/proc.c
f685a3d0b3aaf9cf2bda30937ddc1a55009ee01a 17-Apr-2012 Petr Machata <pmachata@redhat.com> Proper tracing of PPC32 BSS unprelinked binaries
ysdeps/linux-gnu/ppc/plt.c
b04b64b7285183ad5fbc011ee381613359c35a2b 17-Apr-2012 Petr Machata <pmachata@redhat.com> Debugging output in PPC back end
ysdeps/linux-gnu/ppc/plt.c
585f60f7b171a391fbd5149f3d397d192168a67c 17-Apr-2012 Petr Machata <pmachata@redhat.com> Rename PPC symbol states to reflect that they are used for PPC32 as well
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/plt.c
8d930e8f095d04d62705f35f5362a537b73ffefe 17-Apr-2012 Petr Machata <pmachata@redhat.com> We also need to mark PLT BP as resolved after post-update BP hits
ysdeps/linux-gnu/ppc/plt.c
8557b4a1a6f2a6d12867ee57b417e3e941963721 17-Apr-2012 Petr Machata <pmachata@redhat.com> Extract marking as resolved into own function
ysdeps/linux-gnu/ppc/plt.c
9a45d22e3b67a0d611675630cb7cd38e3895a1ff 17-Apr-2012 Petr Machata <pmachata@redhat.com> Partial support for PPC32 BSS unprelinked case

Turs out on PPC32 with BSS PLT, .plt changes after the first call as well.
ysdeps/linux-gnu/ppc/plt.c
72b5ee8b5c795e88e090be6bc64492ec216d40ce 17-Apr-2012 Petr Machata <pmachata@redhat.com> Actually unresolve .plt slot when the post-update breakpoint hits

The clever optimization from two days ago actually broke things as my test
case was doing a lot of one-off calls and I never noticed that it breaks
the common case.
ysdeps/linux-gnu/ppc/plt.c
d95733284377c0b186ba0c81a1158edc2b913e45 17-Apr-2012 Petr Machata <pmachata@redhat.com> Re-enable breakpoints for PPC32 BSS unprelinked case

Unfortunately in this case, the dynamic linker additionally overwrites
the PLT entry on first call. We will have to handle this similarly to
what we do for PPC64 unprelinked stripped case.
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/plt.c
cf26d59be8c23a2de97536b1f28d994e12bda004 17-Apr-2012 Petr Machata <pmachata@redhat.com> Publish default_elf_add_plt_entry
trace-elf.h
8eb0d9349614219cec5c3bb164f1376d83988525 17-Apr-2012 Petr Machata <pmachata@redhat.com> Clarify code
trace-elf.c
e0615ab04b1bd376aae61c62d77fa6bda219f326 17-Apr-2012 Petr Machata <pmachata@redhat.com> The interface arch_elf_init now takes library as one argument
ommon.h
trace-elf.c
93d95dff48698b8bde511c7f71acda7646da2626 17-Apr-2012 Petr Machata <pmachata@redhat.com> Add ARCH_HAVE_DYNLINK_DONE
reakpoints.c
ommon.h
roc.c
e71661a0ef442c38dd3f6dd3b876fd57990d63ed 17-Apr-2012 Petr Machata <pmachata@redhat.com> Drop PPC-specific leftover form ltrace-elf.c
trace-elf.c
994ad6d3da0bea9bed176ce600ec513bfca238c2 17-Apr-2012 Petr Machata <pmachata@redhat.com> Add ARCH_HAVE_LIBRARY_DATA customization point
ommon.h
ibrary.c
ibrary.h
ysdeps/sysdep.h
05058b79e6f995e4d328952ecd73cf090d89cb13 17-Apr-2012 Petr Machata <pmachata@redhat.com> Streamline continue of PPC64 unresolved PLT breakpoint
ysdeps/linux-gnu/ppc/plt.c
ea8eb9a606096fd072abe104b4239f67883ad39a 17-Apr-2012 Petr Machata <pmachata@redhat.com> Add casts where we convert from wide integer to narrow pointer
trace-elf.c
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/proc.c
a16a0c24a196041a07d6636378c371a9f4bd180b 17-Apr-2012 Petr Machata <pmachata@redhat.com> Warn that -l is not implemented, but carry on
ptions.c
d1f63ecc91772deca9d5043770898fda9d021c7b 17-Apr-2012 Petr Machata <pmachata@redhat.com> Hash should be computed from value, not ddress

D'oh.
ibrary.c
1a53e0ab6ee4e53dfa6e81239deeaefdcd639082 17-Apr-2012 Petr Machata <pmachata@redhat.com> Fix compilation of linux-gnu/i386/plt.c
ysdeps/linux-gnu/i386/plt.c
a43876e21c337f554a42ae8bfd596636abf253b9 17-Apr-2012 Petr Machata <pmachata@redhat.com> Fix compilation when demangle is not available
utput.c
5126815116a58e4692bcddb63dc3a3f855003cb6 17-Apr-2012 Petr Machata <pmachata@redhat.com> Use error to report errors in options.c
ptions.c
aca1efb1aa400d27cadcee4cf62ab21999f10f0c 17-Apr-2012 Petr Machata <pmachata@redhat.com> Fix compilation

That line was commited by mistake.
reakpoints.c
1bcd05943ebff28c1537d61d584c7f874d963d27 17-Apr-2012 Petr Machata <pmachata@redhat.com> Call func_work indirectly in ltrace.main/parameters testcase

That because otherwise, on PPC64, func_call gets a pointer to the address
of func_work entry point. I guess we could work around that by reading
.rela.dyn and rewriting GOT, but that's not the point of this test case.
estsuite/ltrace.main/parameters.c
d17477a7c76d0994a00d21898dd16a4de81dfc1d 16-Apr-2012 Petr Machata <pmachata@redhat.com> Change libdl-simple.exp test to use ltrace_verify_output, update to pass

The update is that we are not matching "test_libdl(", but
"test_libdl@liblibdl-simple.so".
estsuite/ltrace.minor/libdl-simple.exp
fbd9742d03154ca842eeae8f6a32e35c1e3c8326 16-Apr-2012 Petr Machata <pmachata@redhat.com> Fix nits in linux-ppc back end
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/plt.c
2f9b78e38a45f00991baca17eb036d5e87d8d417 16-Apr-2012 Petr Machata <pmachata@redhat.com> Don't enable breakpoints twice when attaching
roc.c
0c3377e8d516bbb8b053ca92a2bb68dc65a64288 16-Apr-2012 Petr Machata <pmachata@redhat.com> Drop comment paragraphs that are not relevant anymore
reakpoint.h
19c0f295a1a923b923e1083e480496c1454a2e0e 15-Apr-2012 Petr Machata <pmachata@redhat.com> Commentary updates to PPC PLTs
ysdeps/linux-gnu/ppc/plt.c
e5ebe21369b45ce997b74c04e14f06c67b9b70c1 15-Apr-2012 Petr Machata <pmachata@redhat.com> In PPC back end, unresolve_plt_slot may fail
ysdeps/linux-gnu/ppc/plt.c
6b314183200b1462ef4aad6e04fda72f3f6b0d87 15-Apr-2012 Petr Machata <pmachata@redhat.com> Improve tracing speed in PPC64 unprelinked stripped case

After we learn where the after-update instruction is, we install breakpoint
and use that as a door-stop instead of singlestepping all the way. This
improves the tracing speed of a synthetic test case that doesn't does many
one-off library calls by a factor of 25x.
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/plt.c
5d1c5fc1474aed4a02103bb34b7532b9d26c6f3d 15-Apr-2012 Petr Machata <pmachata@redhat.com> Call breakpoint handler if that's what we hit during stopping on linux
ysdeps/linux-gnu/trace.c
1e2a4dd274ebb612e0cfa5c83ef081e5846aa949 15-Apr-2012 Petr Machata <pmachata@redhat.com> Expose on_all_stopped hooks for linux stopping handler
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/trace.h
abfe118271cd45581f33f71b0cf0fddc3a2e1b05 15-Apr-2012 Petr Machata <pmachata@redhat.com> Nits in PPC back end
ysdeps/linux-gnu/ppc/arch.h
744f255ed0d676896dbe2f326b9c353c56438f0a 15-Apr-2012 Petr Machata <pmachata@redhat.com> Add arch_process arch hooks for per-arch struct Process customization
ommon.h
roc.c
roc.h
ysdeps/sysdep.h
24c6e9daa8d89e13c19fc3f9a475ba7913d7d9c8 15-Apr-2012 Petr Machata <pmachata@redhat.com> Add arch_library_symbol arch hooks, call properly
ommon.h
ibrary.c
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/plt.c
e8d9076a97f6617868466a99bd18e11e3f6389ac 15-Apr-2012 Petr Machata <pmachata@redhat.com> library_symbol_init may fail
ibrary.c
ibrary.h
trace-elf.c
ysdeps/linux-gnu/ppc/plt.c
4572877d0dd0b5060f4498e705467eaef51c6459 15-Apr-2012 Petr Machata <pmachata@redhat.com> Proper clean-up in insert_breakpoint
reakpoints.c
218c5ff26841f5bbd188c42ccbd67422a7a20556 15-Apr-2012 Petr Machata <pmachata@redhat.com> Nits
reakpoints.c
andle_event.c
trace-elf.c
roc.c
ysdeps/linux-gnu/trace.h
051dffaf54d2e049487bc884f3fa4346444be865 15-Apr-2012 Petr Machata <pmachata@redhat.com> Update commentary at insert_breakpoint
reakpoint.h
3d0c91c0c7b425e2866f9c65f655d399693328a5 14-Apr-2012 Petr Machata <pmachata@redhat.com> Fixes for tracing across exec
andle_event.c
roc.c
roc.h
70619b0e59cdb5a7cea81c1eaea751cc9daaa7e9 14-Apr-2012 Petr Machata <pmachata@redhat.com> Drop unused include
andle_event.c
f13afd562dfbf9aa563177bfbbd1d9fc8e3cf2a3 14-Apr-2012 Petr Machata <pmachata@redhat.com> Actually use the cloned pathname in ltelf_read_library
trace-elf.c
9ace5742e1d61c88db8adefdeb9e49d4c3a9ff5d 14-Apr-2012 Petr Machata <pmachata@redhat.com> Updates to debugging messages
ysdeps/linux-gnu/trace.c
0fe76c64833e09b382d40ee26ba23f02c63d6eb5 14-Apr-2012 Petr Machata <pmachata@redhat.com> Commentary updates
reakpoint.h
ibrary.h
75934ad3b30790f6a892069576d0790a351ef101 14-Apr-2012 Petr Machata <pmachata@redhat.com> Drop parameters that determined whether breakpoints should be enabled
reakpoint.h
reakpoints.c
ibltrace.c
roc.c
roc.h
9847abed1f8a4d01466e9c2a6011b59ea11f6d2f 14-Apr-2012 Petr Machata <pmachata@redhat.com> Change a comment
andle_event.c
ded6f97d105f3597246376d45ff455d16016c3f0 13-Apr-2012 Petr Machata <pmachata@redhat.com> Clone callstack in process_clone
roc.c
4e6c437e54f8308f12c4b09dd38515a0e9b895c6 13-Apr-2012 Petr Machata <pmachata@redhat.com> Drop dead code for breakpoint cloning
andle_event.c
cb39a404fcf944e0ae6ec58da9e0448bf49ff290 13-Apr-2012 Petr Machata <pmachata@redhat.com> Wait for initial event from process after exec
andle_event.c
d3cc9889fdfe2e523e99ca5f664f8ae4b3936612 13-Apr-2012 Petr Machata <pmachata@redhat.com> Fix breakpoint cloning
reakpoint.h
reakpoints.c
ommon.h
roc.c
roc.h
ysdeps/linux-gnu/arm/breakpoint.c
ysdeps/linux-gnu/ppc/plt.c
ebfe7d6facfed331239a641b5ac9e5281108c288 13-Apr-2012 Petr Machata <pmachata@redhat.com> Improve debug messages in handle_event
andle_event.c
d09d240bbb62af2b0a15e6bdba4114b4060d11ca 13-Apr-2012 Petr Machata <pmachata@redhat.com> Drop bp_callbacks.on_destroy

Unless until it turns out it's really needed, in which case drop the
arch_breakpoint_data customization and convert current uses to the
OO model.
reakpoint.h
reakpoints.c
5d93a4189488bb80e3b6c2c6af362f9022eabe7a 13-Apr-2012 Petr Machata <pmachata@redhat.com> Flush stream after outputting a debug line
ebug.c
f0f90edc2b0746e0c9f05f6224e38de6fbfed9d2 13-Apr-2012 Petr Machata <pmachata@redhat.com> Fix debugging output
ysdeps/linux-gnu/breakpoint.c
fa0c5704352beb3f81efe8970dbd5af45a4b00ce 13-Apr-2012 Petr Machata <pmachata@redhat.com> Drop breakpoint->proc

This assumed that the process where this breakpoint is added can also be
used to turn the breakpoint on and off. That's not true, leader is not
always stopped when we need it. But when we need to turn a breakpoint on
or off, we are doing so in response to an event, and thus do have a stopped
process in hands. Just use that.
reakpoint.h
reakpoints.c
roc.c
18bd8ffa003c680e3d44d1b05fc3a7b43e6a25ce 10-Apr-2012 Petr Machata <pmachata@redhat.com> Add auxv reader

We should be able to instrument dynamic linker as well, if that is
requested. Unfortunately we may still need artificial _start probe,
because we don't know _r_debug address until the dynamic linker fills
the DT_DEBUG entry. (Though we are likely to find _r_debug in symbol
table if we look.)
ommon.h
roc.c
ysdeps/linux-gnu/proc.c
93327cef38b3c09a88ca293ab52d6f5b6078f187 10-Apr-2012 Petr Machata <pmachata@redhat.com> The variable main_lte was dropped

- ... because we can trace more than one process and there is no "main" LTE
ommon.h
40cc53b8a944aabfd42e64bf71815252652d7f77 07-Apr-2012 Petr Machata <pmachata@redhat.com> Don't translate symbols that don't point to OPD but to .text
trace-elf.c
18c801c3f29081d9de517815df89bc1bbf8e2188 07-Apr-2012 Petr Machata <pmachata@redhat.com> Drop the rest of LS_TOPLT_POINT support

If any other architecture needs it, we'll add it back in some form. But
now that we have callbacks on breakpoints, it might be possible to do it
differently, without explicit support.
ibrary.h
trace-elf.c
trace-elf.h
ysdeps/linux-gnu/ppc/plt.c
0092820afcd45fe045ccc294b061bce8da00a1f2 07-Apr-2012 Petr Machata <pmachata@redhat.com> Drop process.fixed_libs, enable breakpoints right away

The theory behing fixed_libs was broken from the beginning, we can't tell
dlopened libraries from fixed ones when attaching. We also don't need to
wait for _start to enable breakpoints. We may need this on LS_TOPLT_POINT
architectures, but that was added for PPC, and PPC doesn't need it anymore.
reakpoints.c
ibrary.h
roc.c
roc.h
074f68fb8f57f93de3d94552a855b296b7a25906 07-Apr-2012 Petr Machata <pmachata@redhat.com> Read from passed-in symbol table, not from .symtab
trace-elf.c
5bc4e7f76ee06920700ac77ec96a3686951e9ae3 06-Apr-2012 Petr Machata <pmachata@redhat.com> Require that -e and -x expressions match the whole symbol or library name

Since "regexec" doesn't have a flag for that, smuggle initial ^ and
terminating $ to each expression (globs as well as regular expressions).
ptions.c
44965c7a1d3106439b20e8f36307f506df3df44b 06-Apr-2012 Petr Machata <pmachata@redhat.com> Hide unused add_process

- the one outstanding use was a bug, clone_process already adds the process
by the way of process_bare_init
andle_event.c
roc.c
roc.h
cf1679a93919e9a161f7f37be93ba2821315a853 06-Apr-2012 Petr Machata <pmachata@redhat.com> Clone tracesysgood when process is cloned

- don't get mysterious signal SIGTRAP+0x80 for cloned process
roc.c
79a47bafb099516cea0475317576f3b6a7bf82fb 06-Apr-2012 Petr Machata <pmachata@redhat.com> Call trace_set_options when process is started from command
ibltrace.c
bc6c466bb7a758b12da073aae4553e46b64ae472 06-Apr-2012 Petr Machata <pmachata@redhat.com> Update syscallent.h on PPC linux
ysdeps/linux-gnu/ppc/syscallent.h
3ed2a4227d5f2a8d44f3c6ffd704a9d2e867c591 06-Apr-2012 Petr Machata <pmachata@redhat.com> Drop PID parameter from trace_set_options
ommon.h
ibltrace.c
roc.c
ysdeps/linux-gnu/trace.c
50969624d377d485c6d9638a4b00a0b02022d635 06-Apr-2012 Petr Machata <pmachata@redhat.com> Add asserts to ppc64_plt_bp_continue
ysdeps/linux-gnu/ppc/plt.c
3840f68c3d212d17444efaf1c8557f420622fd13 06-Apr-2012 Petr Machata <pmachata@redhat.com> Don't annotate symbol name with @soname for main binary
trace-elf.c
8b00d5bb6a0925ece06aad0d9df0a85e8dbd7b57 06-Apr-2012 Petr Machata <pmachata@redhat.com> Drop leftover fprintf's

- convert some to debug or error calls
reakpoints.c
trace-elf.c
ptions.c
roc.c
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/proc.c
052b5f191ec00b7677c43278cb2ce886af1d0ef1 06-Apr-2012 Petr Machata <pmachata@redhat.com> Ignore non-PLT symbols on PPC's arch_breakpoint_init
ysdeps/linux-gnu/ppc/plt.c
1b4c76e739f36a01ca4cc07a1df5aa5e970279e6 06-Apr-2012 Petr Machata <pmachata@redhat.com> Fix a commentary nit
ysdeps/linux-gnu/ppc/arch.h
d09d9ce83ba2c369d06de5a308b5122a04322ba3 06-Apr-2012 Petr Machata <pmachata@redhat.com> Drop a piece of PPC64 crud

- Breakpoints on PPC64 are newly handled as proper PLT breakpoints
andle_event.c
a24163658be2cc9249621701e6d056df0063f52f 06-Apr-2012 Petr Machata <pmachata@redhat.com> Need to add entry breakpoint first, then to add library

- that because proc_add_library populates breakpoint tables. We can merge
symbol into artificial breakpoint, but not the other way around.
reakpoints.c
roc.c
d5e85569fa3cd1705eca0bd9a4ab79cf908e5faa 05-Apr-2012 Petr Machata <pmachata@redhat.com> Support one artificial and one symbolic breakpoint at the same address

- by simply adding the symbol to the pre-existing artificial breakpoint
which should be symbol-less itself
trace-elf.c
roc.c
029171fffcf6328768866cf510763b2eb927f1bd 05-Apr-2012 Petr Machata <pmachata@redhat.com> Drop debug_state from struc process, use custom process.debug for that

- ideally we would define arch_proc_data in sysdeps/linux-gnu/os.h or some
such, same as we do with arch_breakpoint_data and others, but that's
currently not implemented, so do it this way.
roc.h
ysdeps/linux-gnu/proc.c
67fa52f4999bb9e37f426e0559bad66c2aedd5de 05-Apr-2012 Petr Machata <pmachata@redhat.com> Drop options.libcalls (but keep -L support)

- -L becomes just a way of configuring options.plt_filter default
ptions.c
ptions.h
ecb082f480f057dc166c9d62e8776c892caf5e11 05-Apr-2012 Petr Machata <pmachata@redhat.com> Address hashing and comparison functions need to work with target_address_t

- ... not int, which is narrower than target_address_t on 64-bit machines
ibrary.c
ibrary.h
roc.c
roc.h
807cdd874087db852e3b67f2b9100d3eb1cab366 05-Apr-2012 Petr Machata <pmachata@redhat.com> Change a condition to an assert
reakpoints.c
796267f3370f37bc3b7657b53c6eda16bab3c930 04-Apr-2012 Petr Machata <pmachata@redhat.com> options.no_plt is useless

- or, as of now, it's used to decide whether or not we should display
"unexpected breakpoint" messages
andle_event.c
ptions.c
ptions.h
157cc4d6ee93f35e3aa65edcf57f369ae4e4677c 04-Apr-2012 Petr Machata <pmachata@redhat.com> Handle symbol aliases
ibrary.c
ibrary.h
trace-elf.c
4de6b6b5ca9f7b3bb930663c43a8bf0f322e2bed 04-Apr-2012 Petr Machata <pmachata@redhat.com> Don't trace _start until we support more breakpoints per address
trace-elf.c
fc6ff18285b81c7c3f248be3667e8c74c2910cd8 04-Apr-2012 Petr Machata <pmachata@redhat.com> Change the way we initialize pathname and soname in ltrace-elf

- in particular, don't initialize pathname if it was already initialized,
and use that to name MAIN by the path name given on the command line,
not /proc/pid/exe
trace-elf.c
da3edbf059fe6c6d010b47ac50876783b4ed49ce 04-Apr-2012 Petr Machata <pmachata@redhat.com> Elementary support for -x

- this is applied across libraries. Syntax for the -x option is the same
as for -e
- this fails on symbol aliases. E.g. there are several symbols named like
strlen in libc: strlen, __GI_strlen, and perhaps others. This needs to
be taken into account, and symbol aliases shouldn't be enabled if
they were added under a different name already
trace-elf.c
ptions.c
ptions.h
b5f80ac8982c40f79915ce1e1cb9bf8650ac5fe7 04-Apr-2012 Petr Machata <pmachata@redhat.com> 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
ilter.c
ilter.h
andle_event.c
ibrary.c
ibrary.h
trace-elf.c
trace-elf.h
ptions.c
ptions.h
roc.c
ysdeps/linux-gnu/proc.c
35c8814db9e7d41811cc4620c1bda084f4ff4c7b 04-Apr-2012 Petr Machata <pmachata@redhat.com> Fix memory bugs
ilter.c
ptions.c
b89c2568efa32a6b0a8bba09a7abe1bfe60dd73a 03-Apr-2012 Petr Machata <pmachata@redhat.com> Update current column when showing caller
utput.c
0367389718bc6e544b7ec42acb84f590c69d76ad 03-Apr-2012 Petr Machata <pmachata@redhat.com> Hide caller unless custom -e is passed
ptions.c
ptions.h
utput.c
af334ebfc46c4bd1c0efe60d6a33e14d1f3e62d1 03-Apr-2012 Petr Machata <pmachata@redhat.com> Duplicate library pathname
trace-elf.c
76dd9290bd760f363a6f39db06020e61e3f7b345 03-Apr-2012 Petr Machata <pmachata@redhat.com> Add proc.fixed_libs

- use it to determine whether to turn on breakpoints in added libraries
if they were added after _start is hit
reakpoints.c
roc.c
roc.h
74d80544c9ad0b1c5ff94dda639e12ddf1d2ca1c 03-Apr-2012 Petr Machata <pmachata@redhat.com> Nits
ysdeps/linux-gnu/proc.c
49275b03bec251bc4a0927fce2fe6d4efdac9a8f 03-Apr-2012 Petr Machata <pmachata@redhat.com> Fix blunders related to bias computations

- bias is already applied in lte.entry_addr
trace-elf.c
73afcb51da31c8bedcb26e2664537c84a7a3322a 03-Apr-2012 Petr Machata <pmachata@redhat.com> Fix memory errors in ltelf_read_library
trace-elf.c
89ac0395a9e018f4d4dbda9d3e27159419a92da2 03-Apr-2012 Petr Machata <pmachata@redhat.com> Differentiate fresh libraries from old by "key", not by base address

- that because base is unknown at the time that library is mapped in, only
bias is known. We'd have to read the elf file to determine whether this
is the right library or not. Instead we assume that the dynamic linker
keeps linked list, and use address of internal structure as the key
ibrary.c
ibrary.h
ysdeps/linux-gnu/proc.c
3fd099b71ae9e0c4fe9f48a239523e7037e4baf4 03-Apr-2012 Petr Machata <pmachata@redhat.com> Don't turn on breakpoints when library is added

- this likely breaks tracing from libraries on x86s, but fixes ppc base
binary tracing for non-secure ppc32 cases. We'll need to tweak this
to enable the library PLTs
reakpoints.c
roc.c
6ef5c9e302885ac85a009e5ba000825199813b81 03-Apr-2012 Petr Machata <pmachata@redhat.com> Drop debugging output
ysdeps/linux-gnu/ppc/plt.c
050b0a6fd01fc01952c0ab8dbb84d6eba65c71c9 03-Apr-2012 Petr Machata <pmachata@redhat.com> Coding style
reakpoints.c
ysdeps/linux-gnu/breakpoint.c
949a56a0e1d4a13dc437621a991e993d6623aef5 03-Apr-2012 Petr Machata <pmachata@redhat.com> Fix PLT calls on PPC64 unprelinked stripped
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/trace.c
0b55b5852b9fe2ed6cceada004db303fe6efe6ce 02-Apr-2012 Petr Machata <pmachata@redhat.com> Implement @MAIN, @/path/name -e selectors, make former default for now

- the default might become "*" in future, but keep things more or less
the same as they always were for now
reakpoints.c
ilter.c
ilter.h
andle_event.c
ibrary.c
ibrary.h
trace-elf.c
ptions.c
utput.c
roc.c
e0973cbbd208c84d9646481c33a2ebb511d68381 01-Apr-2012 Petr Machata <pmachata@redhat.com> Fix bugs in filter code, enable filtering according to -e setting
ptions.c
roc.c
1e4fed2719443c9de3831b359ff516888114783f 01-Apr-2012 Petr Machata <pmachata@redhat.com> Drop opt_e{,_t,_enable}, use filter.h/.c to implement -e parsing
ibltrace.c
ptions.c
ptions.h
1bbfbc6c6a7b7706bf4e8bf152d7ffc28453c3bd 31-Mar-2012 Petr Machata <pmachata@redhat.com> Add glob.c/.h, filter.c/.h

- these should be useful when implementing filtering expressions
akefile.am
ilter.c
ilter.h
lob.c
lob.h
6a7997de9eabf9b0c6e32309ca08870198eb864b 29-Mar-2012 Petr Machata <pmachata@redhat.com> Support cross tracing from libraries

- PPC64 and other arches where OPD is used may be broken at the moment
ysdeps/linux-gnu/proc.c
12affff3c88731a0880690442485494e540f7a58 29-Mar-2012 Petr Machata <pmachata@redhat.com> Make several breakpoint callback names more systematic
reakpoints.c
ysdeps/linux-gnu/proc.c
9a04d0ef18b9d019b87ba10adee27f41980b286f 29-Mar-2012 Petr Machata <pmachata@redhat.com> Tracing dlopened libraries works again on x86_64

- the difference from the last time it worked is that now we got rid of
a kludge with one global dyn_addr and propagate it properly through
breakpoint and process interfaces
reakpoints.c
52dbfb161efeab85bddc880966db2f7af9b9cf9a 29-Mar-2012 Petr Machata <pmachata@redhat.com> Shuffle breakpoint functions around
reakpoint.h
reakpoints.c
ommon.h
ibrary.h
trace-elf.c
roc.c
roc.h
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/proc.c
cb9a28da448439eab4bf554810fd1004fbc00885 28-Mar-2012 Petr Machata <pmachata@redhat.com> Configurable ugly workaround invocation

- doesn't help to fix the weird singlestepping problem on ppc64 though
reakpoints.c
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/trace.h
db30b10a6af9b206ac829b9003db9c9600120986 28-Mar-2012 Petr Machata <pmachata@redhat.com> Fix compilation on ppc64
andle_event.c
c67a6e62bc7e95f7f181a51c5b314ef10a6e231e 28-Mar-2012 Petr Machata <pmachata@redhat.com> Add missing implementations of default callback
reakpoints.c
trace-elf.c
ysdeps/linux-gnu/ppc/arch.h
ce40b3974d485837d130afc6b8034a83b3d03c5b 23-Feb-2012 Petr Machata <pmachata@redhat.com> Whitespace fix
ysdeps/linux-gnu/proc.c
17476b7bfac0e1cb68f9a1dbdb65dab2ac2160c6 23-Feb-2012 Petr Machata <pmachata@redhat.com> Drop ELF_MAX_SEGMENTS, simplify iteration through dynamic entries
trace-elf.h
ysdeps/linux-gnu/proc.c
5e463e029c5b6bb4eb5176ab62ee97d5399524fe 20-Feb-2012 Petr Machata <pmachata@redhat.com> If there is no soname, take filename instead
trace-elf.c
9df15016447915a61526af8cb81c588913bcf44c 20-Feb-2012 Petr Machata <pmachata@redhat.com> Remove "enable" flag from insert_breakpoint
reakpoint.h
reakpoints.c
andle_event.c
roc.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.c
58b2d0fd5deed5f33fbd47a6b6e5c109f43908b5 28-Mar-2012 Petr Machata <pmachata@redhat.com> Somewhat working tracing of stripped unprelinked PPC64 binaries

- this seems like it shoud work, and indeed it does, mostly. But after the
stopping handler is uninstalled, we get series of apparent singlestep
events, even though we just call PTRACE_SYSCALL time after time. If
there is a kernel bug, we may need to employ some sort of code reading
after all.
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/plt.c
36f40e7d46838ec41ea03a2b9b748536d8fd57e2 28-Mar-2012 Petr Machata <pmachata@redhat.com> Further generalize the process stopping handler
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/trace.h
ef7fa37f2d0b949b5afb1f326187e4f023d86c25 28-Mar-2012 Petr Machata <pmachata@redhat.com> Add CBS_FAIL to enum callback_status
ibrary.c
roc.c
roc.h
9282254e29896366ea354b930b06f9defebbd041 28-Mar-2012 Petr Machata <pmachata@redhat.com> Move declarations related to process stopping handler to a new file trace.h
ysdeps/linux-gnu/Makefile.am
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/trace.h
c1aa9588f3347c285038c2e45c01bbd2e7086a9f 27-Mar-2012 Petr Machata <pmachata@redhat.com> Generalize the stopping handler so that it can be reused

- though more generalizing may be needed
ysdeps/linux-gnu/trace.c
f04d032e298c410e45553223a979c1f26f280259 27-Mar-2012 Petr Machata <pmachata@redhat.com> Error reporting in PPC back end
ysdeps/linux-gnu/ppc/regs.c
b64b5c7b6f4a368ccaf60507090192845221a3be 27-Mar-2012 Petr Machata <pmachata@redhat.com> Support tracing prelinked stripped PPC64 binaries

- distinguish stub breakpoints from unresolved PLT breakpoints. The latter
have special on_continue handler that just moves IP
- unprelinked stripped case not supported yet
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/plt.c
d1746d17eda0c4d2c1004c9deb8b229eb6fb1c78 27-Mar-2012 Petr Machata <pmachata@redhat.com> Generalize load_ppcgot in PPC back end
ysdeps/linux-gnu/ppc/plt.c
6d8ccb236ccb4e31c8f2fb1c8b556fb7b055a418 27-Mar-2012 Petr Machata <pmachata@redhat.com> Don't fail when reading from NODATA sections
trace-elf.c
1be2291ffdf3a20b0a1702f5705f82617fb91ef6 27-Mar-2012 Petr Machata <pmachata@redhat.com> Rename one argument for consistency

- it's called "ndx" in the backend
trace-elf.c
e4e693bc8cd9f2df77a8f27d61a940087071b912 27-Mar-2012 Petr Machata <pmachata@redhat.com> Support per-arch data in library_symbol

- new configuration setting ARCH_HAVE_LIBRARY_SYMBOL_DATA
ibrary.h
ysdeps/sysdep.h
56a9ea6b41470d5a0590f23baaff7dff99f277d5 27-Mar-2012 Petr Machata <pmachata@redhat.com> Add a new breakpoint callback: on_continue

- called instead of continue_after_breakpoint, which remains the default
action if the callback is not defined
reakpoint.h
andle_event.c
55ac932f2802f85c53792153ac909dcd8a690c5c 27-Mar-2012 Petr Machata <pmachata@redhat.com> Add breakpoint_set_callbacks, split off breakpoint_init, adjust callers
reakpoint.h
reakpoints.c
roc.c
bb790604dcaa546737417bf7df8587b3096fa6a5 25-Mar-2012 Petr Machata <pmachata@redhat.com> Don't pass LT_TOPLT_EXEC addresses through OPD
trace-elf.c
e9aebd6cfb4710f96b27b5d268208ddd7f0d9eac 25-Mar-2012 Petr Machata <pmachata@redhat.com> New interface breakpoint_name
reakpoint.h
reakpoints.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.h
reakpoints.c
ommon.h
ibrary.c
ysdeps/linux-gnu/arm/breakpoint.c
7b36114b46cf93aa2828de055e71ec57a801dfc1 24-Mar-2012 Petr Machata <pmachata@redhat.com> Better handling of errors in the code that looks for PPC64 stub symbols
ysdeps/linux-gnu/ppc/plt.c
37d368e49f2d757484252a060d3021de96998e0d 24-Mar-2012 Petr Machata <pmachata@redhat.com> Support for tracing on PPC64 with stub symbols in symbol table
ysdeps/linux-gnu/ppc/plt.c
50b96039ebfc60825bb7afb8ab8f56bb87aeb67b 24-Mar-2012 Petr Machata <pmachata@redhat.com> Make MIPS and PPC arch.h into full-fledged include file, glue in sysdep.h
reakpoint.h
trace-elf.h
ysdeps/linux-gnu/mipsel/arch.h
ysdeps/linux-gnu/ppc/arch.h
ysdeps/sysdep.h
4d9a91c5c677d6a6b2db21f00385bce5167373c4 24-Mar-2012 Petr Machata <pmachata@redhat.com> Add arch_elf_destroy
ommon.h
trace-elf.c
ysdeps/linux-gnu/mipsel/plt.c
ysdeps/linux-gnu/ppc/plt.c
e6523e69b0230fef8dddbf628e0511a004203eb8 24-Mar-2012 Petr Machata <pmachata@redhat.com> Don't require target library as part of symbol init
ommon.h
andle_event.c
ibrary.c
ibrary.h
trace-elf.c
ysdeps/linux-gnu/proc.c
644d669f96c0fe261fe938cecda41938e804c7d9 24-Mar-2012 Petr Machata <pmachata@redhat.com> Drop recently introduced arch_elf_dynamic_tag
ommon.h
trace-elf.c
ysdeps/linux-gnu/mipsel/arch.h
ysdeps/linux-gnu/mipsel/plt.c
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/plt.c
ffd5aab0bddbbb7c650c2f5c12a48e0298f82516 24-Mar-2012 Petr Machata <pmachata@redhat.com> New ELF interface, elf_get_section_type
trace-elf.c
trace-elf.h
be04d6b478ecc51902f34672e4c3c1516d502c23 24-Mar-2012 Petr Machata <pmachata@redhat.com> Drop library_symbol.is_weak
andle_event.c
ibrary.c
ibrary.h
trace-elf.c
ysdeps/linux-gnu/proc.c
f3db07a81593f9a19d9fb576cd02b5572b8fd823 21-Mar-2012 Petr Machata <pmachata@redhat.com> Output formatting nit
utput.c
b931085e37224dd2932fb637eaba5da29c4c5eb7 21-Mar-2012 Petr Machata <pmachata@redhat.com> Drop library_symbol.needs_init
reakpoints.c
ibrary.c
ibrary.h
4e2073f64f9db2974d89064dcdc49b2ed7aa9006 21-Mar-2012 Petr Machata <pmachata@redhat.com> Support tracing PPC32 processes with both BSS and secure PLTs

- only entry breakpoint is realized at the beginning
- when it's hit, it's deleted, and all enabled breakpoints are realized
- all PLTs are LS_TOPLT_EXEC. The difference is in the way the PLT entry
address is computed
reakpoints.c
roc.c
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/plt.c
b120fdfda45e49d082ab2aa5caadf030f50cb4ed 21-Mar-2012 Petr Machata <pmachata@redhat.com> Change interface of ltelf_read_library

- base->bias, pass proc
trace-elf.c
trace-elf.h
ysdeps/linux-gnu/proc.c
b88fd6e8e3b03e4341dae540378bc7740ec2d2e5 21-Mar-2012 Petr Machata <pmachata@redhat.com> Add arch_translate_address decl

- and drop opd2addr, which this function supersedes
ibrary.h
trace-elf.c
81c65272697a63d81e6baece69bef6ba8f55932e 21-Mar-2012 Petr Machata <pmachata@redhat.com> Error handling
reakpoints.c
ysdeps/linux-gnu/breakpoint.c
e67635d6dcecb0f44448a5329d69fd0de74ebaba 21-Mar-2012 Petr Machata <pmachata@redhat.com> Move arch-specific bits from ltrace-elf.c to PPC and MIPS back ends
ommon.h
trace-elf.c
trace-elf.h
ysdeps/linux-gnu/mipsel/arch.h
ysdeps/linux-gnu/mipsel/plt.c
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/plt.c
d3dc17b5e87068819a780af434afaf69e63d2b50 21-Mar-2012 Petr Machata <pmachata@redhat.com> Fixes in includes
reakpoint.h
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/trace.c
ysdeps/sysdep.h
74132a447b18c588c698ecfb8cf4ad4b16360f2f 16-Mar-2012 Petr Machata <pmachata@redhat.com> Change iterators each_task, each_process, library_each_symbol

... now the restarts are supported by start_after instead of start.
Otherwise the restart scenario was something like:
for (it *sym = NULL; (sym = next(sym)) != NULL; )
if ((sym = sym->next) == NULL)
break;
which just seems too convoluted.
ibrary.c
ibrary.h
roc.c
roc.h
ysdeps/linux-gnu/trace.c
522a6ca083c8b9e964548b0e79a4bdc8095d6e2e 16-Mar-2012 Petr Machata <pmachata@redhat.com> library_symbol_init takes target_address_t instead of GElf_Addr
ibrary.c
ibrary.h
ysdeps/linux-gnu/proc.c
464026f85d934c858602cd5a620b48173a179131 02-Mar-2012 Petr Machata <pmachata@redhat.com> remove_proc shouldn't free proc itselt

- because this is reciprocal to add_process
andle_event.c
roc.c
11639dad90d32ebf6d4eabe219a7b62e870d6205 02-Mar-2012 Petr Machata <pmachata@redhat.com> Fix bias computation
trace-elf.c
c805c624d4cd23674bbc18f9d0f97c5d8dcdff7c 02-Mar-2012 Petr Machata <pmachata@redhat.com> wait_for_proc may fail, and should simply waitpid instead of ptracing

- which means that we need to continue the process after starting it,
the same as we do when attaching
ommon.h
xecute_program.c
ibltrace.c
ysdeps/linux-gnu/trace.c
29add4fdf852b10ddd22cac0d1390f6d01577bc2 18-Feb-2012 Petr Machata <pmachata@redhat.com> Support bias, display library name on breakpoint

- syscall support very hacky right now
reakpoint.h
andle_event.c
ibrary.c
ibrary.h
trace-elf.c
trace-elf.h
utput.c
utput.h
ysdeps/linux-gnu/proc.c
2b46cfc1127d390eddd9593fe5ce5399c1f68130 18-Feb-2012 Petr Machata <pmachata@redhat.com> The first crude version of tracing across libraries

- the patch will be sliced later
akefile.am
reakpoint.h
reakpoints.c
ommon.h
efs.h
andle_event.c
ibltrace.c
ibrary.c
ibrary.h
trace-elf.c
trace-elf.h
ptions.c
utput.h
roc.c
roc.h
ysdeps/linux-gnu/arm/arch.h
ysdeps/linux-gnu/arm/breakpoint.c
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/x86_64/plt.c
a7db59c355cef464073496221ad27519a48466f9 10-Feb-2012 Petr Machata <pmachata@redhat.com> New interface library_symbol_init
hangeLog
ommon.h
trace-elf.c
14184b3a0c938c196f77d2d3bfc7e82fa10d661b 10-Feb-2012 Petr Machata <pmachata@redhat.com> Output const correctness
utput.c
utput.h
345c9b5195383c7b2d2d9db308e824259323803f 10-Feb-2012 Petr Machata <pmachata@redhat.com> Dict const correctness
ict.c
ict.h
fd43ef7bb48260aadd4d8335371f75015e680108 10-Feb-2012 Petr Machata <pmachata@redhat.com> Move the Process typedef to proc.h
trace-elf.h
trace.h
roc.h
366c2f46d844f040458df9b7e35fc3b8527ed2d3 09-Feb-2012 Petr Machata <pmachata@redhat.com> Move process-related functions and structures to proc.h
hangeLog
reakpoints.c
ommon.h
isplay_args.c
andle_event.c
ibltrace.c
trace-elf.c
trace.h
utput.c
roc.c
roc.h
ysdeps/linux-gnu/alpha/plt.c
ysdeps/linux-gnu/alpha/regs.c
ysdeps/linux-gnu/alpha/trace.c
ysdeps/linux-gnu/arm/plt.c
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/cris/plt.c
ysdeps/linux-gnu/cris/regs.c
ysdeps/linux-gnu/cris/trace.c
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/i386/plt.c
ysdeps/linux-gnu/i386/regs.c
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/ia64/plt.c
ysdeps/linux-gnu/ia64/regs.c
ysdeps/linux-gnu/ia64/trace.c
ysdeps/linux-gnu/m68k/plt.c
ysdeps/linux-gnu/m68k/regs.c
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/mipsel/plt.c
ysdeps/linux-gnu/mipsel/regs.c
ysdeps/linux-gnu/mipsel/trace.c
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/ppc/regs.c
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/s390/plt.c
ysdeps/linux-gnu/s390/regs.c
ysdeps/linux-gnu/s390/trace.c
ysdeps/linux-gnu/sparc/plt.c
ysdeps/linux-gnu/sparc/regs.c
ysdeps/linux-gnu/sparc/trace.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/x86_64/plt.c
ysdeps/linux-gnu/x86_64/regs.c
ysdeps/linux-gnu/x86_64/trace.c
92acf752a592f7c4ce60d99914d9ccb59f8119eb 07-Feb-2012 Petr Machata <pmachata@redhat.com> Another PPC-related bit to remove
andle_event.c
17bcdd38264a9adc161d6cdee834969efc803f57 07-Feb-2012 Petr Machata <pmachata@redhat.com> Remove another bit of PPC-related crud

- We now always enable breakpoints after dynamic linker is done
reakpoints.c
bc37326ace5c70e57928c000162cffbcca9afb77 07-Feb-2012 Petr Machata <pmachata@redhat.com> Remove Breakpoint typedef
hangeLog
reakpoint.h
reakpoints.c
andle_event.c
ysdeps/linux-gnu/arm/breakpoint.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/ia64/breakpoint.c
ysdeps/linux-gnu/trace.c
8cc17a6efed17d41396ef63d28cafce7f29004b6 07-Feb-2012 Petr Machata <pmachata@redhat.com> Remove special handling for fake functions on PPC to fix the testsuite

- The only reference that I found was an email to ltrace devel list, sent
on Mon Feb 25 17:40:39 UTC 2008. This mentions: """There's also a fix
to handle the first call to a function for ppc32, preventing ltrace from
stacking fake function calls."""

This doesn't really explain much, but it seems to imply that this is to
deal with early process start, which was just revamped in past commits.

- In any case, the tracing was broken on PPC since the multi-threading
feature landed, and with this commit it's finally working (sans several
alignment errors). I tested 32-bit and 64-bit ltrace, as well as tracing
32-bit binaries with 64-bit ltrace.
andle_event.c
990655a91b8e15836415799a44cf33a486e8e684 07-Feb-2012 Petr Machata <pmachata@redhat.com> For entry point computation, take OPD into account
trace-elf.c
61196a4a81e77322bf1f3dc609007f5d35a5103a 07-Feb-2012 Petr Machata <pmachata@redhat.com> Drop Process::breakpoints_enabled
hangeLog
reakpoints.c
ommon.h
roc.c
ysdeps/linux-gnu/events.c
02648a119092bb5b64918063521237f257283c72 07-Feb-2012 Petr Machata <pmachata@redhat.com> Drop most of start-up magic and use startup callback instead
reakpoints.c
andle_event.c
trace-elf.c
ysdeps/linux-gnu/events.c
e84fa00bdabf20f57d1d02d159aa3fcab4e549fe 07-Feb-2012 Petr Machata <pmachata@redhat.com> read_elf takes extra argument for entry point
reakpoints.c
trace-elf.c
trace-elf.h
a611fc8f887c099b04cb764f477b9289a4c21d6e 07-Feb-2012 Petr Machata <pmachata@redhat.com> Cleanup
ysdeps/linux-gnu/proc.c
a9fd8f45e97edc629bdc218d95ce0d0a9e3de401 07-Feb-2012 Petr Machata <pmachata@redhat.com> Add callbacks to breakpoints
hangeLog
reakpoint.h
reakpoints.c
andle_event.c
9294d82f67e20f5f2b61f317ad04f5cb717c7d27 07-Feb-2012 Petr Machata <pmachata@redhat.com> Create breakpoint.h with decls related to breakpoints
hangeLog
reakpoint.h
reakpoints.c
ommon.h
andle_event.c
roc.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.c
a266acb9c3bbde884a32268f164de62d03aa04d0 12-Apr-2012 Petr Machata <pmachata@redhat.com> Add code for stepping over atomic instruction sequence on PPC
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/trace.c
estsuite/ltrace.torture/ppc-lwarx.c
estsuite/ltrace.torture/ppc-lwarx.exp
1429874dee5758cc99c0dae73bd3f928109e53d7 12-Apr-2012 Petr Machata <pmachata@redhat.com> Fix previous commit, which broke the common case

- in this commit I drop a bit of MIPS support. First, I don't think MIPS
is supported right now. The multi-threading merge was an invasive change
and most arches other than x86 are in fact currently broken.

Second, deciding that we shouldn't push a slot just based on address
equality is too strong. This would also reject actual recursion, which
is a common case (for -x anyway, for -e less so).
andle_event.c
estsuite/ltrace.main/branch_func.c
estsuite/ltrace.main/branch_func.exp
31b2f9f7296e52aff489138c78be2f8cf9140bbc 12-Apr-2012 Petr Machata <pmachata@redhat.com> Limited support for returns from tail call functions

- we use a heuristic: several consecutive calls with the same return
address, but a different symbol. We can't use just the former case,
because that way we would also kill honest recursive (library) calls.
It's only this particular case that we know that a tail call took place.
andle_event.c
estsuite/ltrace.main/branch_func.c
estsuite/ltrace.main/branch_func.exp
ffe4cd25089680daf1bd1ec0114d177ec3e0cf95 11-Apr-2012 Petr Machata <pmachata@redhat.com> Handle detach from sleeping or unresponsive processes
ommon.h
andle_event.c
ibltrace.c
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/trace.c
cec06ec8282c538a40bde968ae36fe8356daffaa 10-Apr-2012 Petr Machata <pmachata@redhat.com> Warn when we fail to trace and SELinux boolean deny_ptrace is in effect
hangeLog
ommon.h
onfigure.ac
roc.c
ysdeps/linux-gnu/trace.c
fed1e8d33ab050df892a88110e1a316d285ee650 07-Feb-2012 Petr Machata <pmachata@redhat.com> Cleanups
reakpoints.c
andle_event.c
roc.c
b4f9e0c0413c03ad897d7aad320a4a1cd49c467a 07-Feb-2012 Petr Machata <pmachata@redhat.com> Fix a race between fork/trace_me and first ptrace request

- That first ptrace may fail if ltrace is too quick
hangeLog
ommon.h
xecute_program.c
ysdeps/linux-gnu/trace.c
144a938a5d83d7d335a54b2a76e3423605f0f562 07-Feb-2012 Petr Machata <pmachata@redhat.com> Rename a misnomer ELF_HASH_TAKES_SIGNED_CHAR

- char * is not a signed char
hangeLog
onfigure.ac
trace-elf.c
616906d8b995d9a6640c5be237abf1028418213e 29-Nov-2011 Petr Machata <pmachata@redhat.com> Update BUGS and TODO (remove the notes about thread support)
UGS
ODO
97b208405bcbf2fc75a70fba7d094740f590cb90 22-Nov-2011 Petr Machata <pmachata@redhat.com> Turn in a workaround for seeing a process as R after waitpid (should be T)
ysdeps/linux-gnu/events.c
12387c439d08755c0d8edf2516677d3f7b1f6ef0 22-Nov-2011 Petr Machata <pmachata@redhat.com> Be more fault tolerant on ia64

- this fixes some rare bugs that were observed on ia64
ysdeps/linux-gnu/ia64/regs.c
ysdeps/linux-gnu/ia64/trace.c
9d29b3e7d2d7f7ccb1891dc56b03e91a0319cf42 09-Nov-2011 Petr Machata <pmachata@redhat.com> Only delay continuing the process if we are actually mid-_stopping_

- The check fired also on vfork handling, and this hung the process
- Add a test case exercising this code, courtesy of Michal Nowak and
Denys Vlasenko
ysdeps/linux-gnu/trace.c
estsuite/ltrace.main/hello-vfork.c
estsuite/ltrace.main/hello-vfork.exp
c185affc3b88d93f78847e5188969dc70105e449 09-Nov-2011 Petr Machata <pmachata@redhat.com> Leader might be stopped at this point
andle_event.c
43d2fe5436d39da0b1ff6648fc0dfd766d28243e 02-Nov-2011 Petr Machata <pmachata@redhat.com> Don't queue sysret events

- That's because on s390x, we use process call stack to actually figure out
whether it's a syscall/sysret event, and if it's sysret, then what syscall
it returns from. So we need to keep the stack in sync with reality.
ommon.h
andle_event.c
ysdeps/linux-gnu/trace.c
06986d5432c92337dc2fc0bd81fa43640b48d1e2 02-Nov-2011 Petr Machata <pmachata@redhat.com> More robust fix of signal-before-singlestep problem

- On s390x, when we PTRACE_CONT the process, it will actually continue,
even though we ordered PTRACE_SINGLESTEP before. So always issue
PTRACE_SINGLESTEP when we get signal before singlestep.

- Also, simply queue the signal as usual.
ysdeps/linux-gnu/trace.c
d5d93c492fd7cec016f09883f1e9c09cf97c6fb5 21-Oct-2011 Petr Machata <pmachata@redhat.com> Signal event may arrive before we finish singlestepping
ysdeps/linux-gnu/trace.c
36d1982d45d54e455413a5c0959f87b1857940d6 21-Oct-2011 Petr Machata <pmachata@redhat.com> Remove "default" branch in the switch in task_stopped

- and a couple commentary changes
ysdeps/linux-gnu/trace.c
3797cd6f378d647583f15e2134cbcf9143f57f9c 03-Oct-2011 Petr Machata <pmachata@redhat.com> We have to insert breakpoint into parent, not into leader

- leader might be dead by the point this gets executed
ysdeps/linux-gnu/trace.c
bf6b270bf2b6268153efc88cc5808ffd9bcb596e 27-Sep-2011 Petr Machata <pmachata@redhat.com> Add a test case for thread/vfork scenario
estsuite/ltrace.torture/vfork-thread.c
estsuite/ltrace.torture/vfork-thread.exp
ba9911f3603473791163bf11dd1c59503faa4ff1 27-Sep-2011 Petr Machata <pmachata@redhat.com> Fix interplay between vfork and threads
andle_event.c
ysdeps/linux-gnu/trace.c
134a108693f8155d2167675ad8127ff6def1425e 27-Sep-2011 Petr Machata <pmachata@redhat.com> Trace vfork return in parent as well as in child
ysdeps/linux-gnu/trace.c
estsuite/ltrace.main/main-vfork.exp
9120e5f4dbfef8f0354df0876ca0e3af3c6ac179 27-Sep-2011 Petr Machata <pmachata@redhat.com> Fix memory error in destroy_library_symbol_chain
trace-elf.c
09e9ca1dd52c32b509952c8b0ec7079b420e5638 27-Sep-2011 Petr Machata <pmachata@redhat.com> Add a test case for vfork
estsuite/ltrace.main/main-vfork.c
estsuite/ltrace.main/main-vfork.exp
534e00fcdb63af352414f5bf180ec392157b1a2b 27-Sep-2011 Petr Machata <pmachata@redhat.com> Clone breakpoint dictionary as well as library symbols

- ... and do neither if it's not a leader thread. It that case we take all
this from the leader thread.
reakpoints.c
ommon.h
ict.c
ict.h
andle_event.c
trace-elf.c
cbe29c6c0ad01839a81272c4715ea73d17e89611 27-Sep-2011 Petr Machata <pmachata@redhat.com> Basic support for tracing vfork

- allow even individual tasks to have their event handlers. These are
called in precedence to the thread group event handlers.
- distinguish CLONE and VFORK events
- add methods for dynamic changes of leader
- add new process status ps_sleeping
ommon.h
andle_event.c
trace.h
roc.c
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.c
estsuite/ltrace.minor/trace-clone.c
02bd9eca0b439b6950ab72ba64b67181e5bf0fbd 21-Sep-2011 Petr Machata <pmachata@redhat.com> Check whether ABI is supported before we execute the binary

- this is fallout of the reorganization of open_program/execute_program.
I still think it makes better sense this wey, even though we need to
do the additional checking step now.
ibltrace.c
trace-elf.c
trace-elf.h
993f412c60e168e67e9b64fe5a300a2868c8d71d 15-Sep-2011 Petr Machata <pmachata@redhat.com> Fix reporting of failures in read_elf
trace-elf.c
8cda4344bf3d23bba06e45ed065cc0a6792a1034 15-Sep-2011 Petr Machata <pmachata@redhat.com> Fix threading test case
estsuite/ltrace.main/main-threaded.exp
f296e0141c062cc0fd8e3301460ba62c49829973 03-Sep-2011 Petr Machata <pmachata@redhat.com> Drop unused variable
ysdeps/linux-gnu/trace.c
73894bdb7ef4ea81a44a7b8b3ab896f6b3cab344 20-Aug-2011 Petr Machata <pmachata@redhat.com> Add explanatory comment to the ugly workaround
ysdeps/linux-gnu/trace.c
590c80862c009608fd70e976a282473234d92265 20-Aug-2011 Petr Machata <pmachata@redhat.com> Rewrite the whole detach logic to use stopping handler
ysdeps/linux-gnu/trace.c
ec85e84d2d3dc441dc2f1a6b403ed495cefd2c5b 20-Aug-2011 Petr Machata <pmachata@redhat.com> Don't get stuck on detach waiting for SIGSTOP to arrive to stopped process
ysdeps/linux-gnu/trace.c
3c9b6295c4d4f7424e84c2fbef2fc98bda5e672c 20-Aug-2011 Petr Machata <pmachata@redhat.com> More detach bugfixes
ysdeps/linux-gnu/trace.c
46d66ab6d7ef5d12e4d3dd3671450f77a776ea1b 20-Aug-2011 Petr Machata <pmachata@redhat.com> Work around some odd behavior of PTRACE_DETACH after PTRACE_SINGLESTEP

- this might turn out to be a bug in the kernel that I'm using right now.
The thing that when task is detached right after it was singlestepped
(and the singlestep is caught by waitpid), it's immediately killed by
the SIGTRAP signal. This goes away if we insert breakpoint right under
the IP, CONT the process, catch the breakpoint event, retract the
breakpoint, and detach _then_.
andle_event.c
ysdeps/linux-gnu/trace.c
4b9f4d956e125360d4860d6a8d7574a271c799a0 20-Aug-2011 Petr Machata <pmachata@redhat.com> Refine the logic for detach after singlestep
ysdeps/linux-gnu/trace.c
13d5df7743a79c8bceeb9be50d57f9b0f76fc4e8 19-Aug-2011 Petr Machata <pmachata@redhat.com> Undo breakpoints also for unqueued events
ysdeps/linux-gnu/trace.c
68abfea2bb3c5e57214929f773755dfcef63fe90 19-Aug-2011 Petr Machata <pmachata@redhat.com> Fix one source of SEGVs/TRAPs on detach

- we can't cont the process if the IP is mid-instruction due to the process
having hit a breakpoint recently
ysdeps/linux-gnu/trace.c
1974dbccbf10a2dd8e06724d2fb4eb61fd91076a 19-Aug-2011 Petr Machata <pmachata@redhat.com> Fix serious race in attach to many-threaded process

- the gist is that tasks continue running while we attach, so more tasks
come into existence, or the ones that we didn't attach to yet disappear,
etc.
- besides, we really can't enable breakpoints before we are done attaching,
otherwise the still-running tasks risk running into them and dying of
SIGTRAP.
reakpoints.c
ommon.h
trace-elf.c
roc.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.c
3c516d5ced53508d8df7d82914a3190a3235b62d 18-Aug-2011 Petr Machata <pmachata@redhat.com> Handle the race between reading list of tasks and attaching to those tasks

- For processes with many threads, we still get SIGTRAP on startup. This
only takes care of ltrace SIGSEGVing and/or giving out copious "cannot
attach" messages.
roc.c
ysdeps/linux-gnu/proc.c
28e80f65e2c808f715e466cdb8c0c53cfe78c756 09-Aug-2011 Petr Machata <pmachata@redhat.com> Move break_insn to function that's its sole consumer
ysdeps/linux-gnu/breakpoint.c
e21264ed3759f02fa4577bf9ac319d8dc36e248a 06-Oct-2011 Petr Machata <pmachata@redhat.com> Fix a race between disabling breakpoint and stopping all threads
ysdeps/linux-gnu/trace.c
75dcf7d73b6c19f7aeb932e4cb5e251b316a6c69 06-Oct-2011 Petr Machata <pmachata@redhat.com> Don't share arch_ptr on process clone
andle_event.c
roc.c
18c970711cd2597d52c2f146d97350d62980ec2c 06-Oct-2011 Petr Machata <pmachata@redhat.com> We need to check for exit earlier
ysdeps/linux-gnu/trace.c
750ca8c13f402a40b01802dcb5c88e092ff68125 06-Oct-2011 Petr Machata <pmachata@redhat.com> Fix a race between waiting for SIGSTOP delivery and task exit
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.c
617ff0bb228c64df4bb6682321338aecfec2d170 06-Oct-2011 Petr Machata <pmachata@redhat.com> Type the "process_status" interface properly

- and in implementation for linux-gnu, reflect that some kernels don't
distinguish job-control stop and tracing stop by different letter.
ommon.h
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.c
1e8f6fe9680c994b9c86753c3345a4579f726fc4 09-Jul-2011 Petr Machata <pmachata@redhat.com> Add a test case
estsuite/ltrace.main/main-threaded.c
estsuite/ltrace.main/main-threaded.exp
f2d2ba5ce96587f4cc0975441a5da4c6e672e8fa 09-Jul-2011 Petr Machata <pmachata@redhat.com> Fixes for process exit before doing checks for syscalls etc.
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/x86_64/trace.c
602330f458e8049ec07685c4e02f0368821a2d2c 09-Jul-2011 Petr Machata <pmachata@redhat.com> Handle multi-threaded attach/detach gracefully
hangeLog
ommon.h
andle_event.c
ibltrace.c
roc.c
ysdeps/linux-gnu/trace.c
98f0992f9c3fd5da41a4928407251d9f5a837702 09-Jul-2011 Petr Machata <pmachata@redhat.com> Use custom event handler for implementation of stop-the-world

- ... which itself is necessary for breakpoint re-enablement without races
hangeLog
ommon.h
andle_event.c
ysdeps/linux-gnu/trace.c
4007d74c2435ce4b50305d64ffe831627f989335 09-Jul-2011 Petr Machata <pmachata@redhat.com> Facility for custom event handler
hangeLog
ommon.h
andle_event.c
roc.c
ysdeps/linux-gnu/events.c
69a03e6f8c15fb0272089e387a658acad887fb9c 09-Jul-2011 Petr Machata <pmachata@redhat.com> Event queue
hangeLog
ommon.h
trace.h
roc.c
ysdeps/linux-gnu/events.c
9a5420c82a2fd81681572a2e3859ea1671c3bded 09-Jul-2011 Petr Machata <pmachata@redhat.com> Add a concept of tasks and leader thread
hangeLog
reakpoints.c
ommon.h
andle_event.c
ibltrace.c
roc.c
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.c
cebb88491e68bdf4d466b03970c9ca77f65615f8 09-Jul-2011 Petr Machata <pmachata@redhat.com> Conceal the list of processes behind an interface
hangeLog
ommon.h
andle_event.c
ibltrace.c
roc.c
ysdeps/linux-gnu/events.c
c7585b60235268e1f62bd91c5f040ef6df6e0ef3 08-Jul-2011 Petr Machata <pmachata@redhat.com> Add argument that defines whether we should enable breakpoints
hangeLog
reakpoints.c
ommon.h
andle_event.c
ibltrace.c
roc.c
ysdeps/linux-gnu/proc.c
6901b7e429f7e92440f3501df864ad74b39f66c2 09-Jul-2011 Petr Machata <pmachata@redhat.com> Cleanups in next_event

- always fetch instruction_pointer eagerly to simplify the code
- clarify that we can indeed get nen-SIGTRAP signals in certain cases
ysdeps/linux-gnu/events.c
f789c9c0d1f3301afad66e5f0520b9093665f242 09-Jul-2011 Petr Machata <pmachata@redhat.com> Pass Process * instead of pid to a couple functions
hangeLog
reakpoints.c
ommon.h
andle_event.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/trace.c
a06eb81c170a09ba6ca7e169ab4782b9fc7d4c03 08-Jul-2011 Petr Machata <pmachata@redhat.com> common.h: include config.h
hangeLog
ommon.h
1b17dbf4c3754018310f22e26effffdcffde47ab 08-Jul-2011 Petr Machata <pmachata@redhat.com> Streamline interfaces execute_program, open_program
hangeLog
ommon.h
xecute_program.c
ibltrace.c
roc.c
cc947516b7a76aa21095d8c3563a19a399bf628c 08-Jul-2011 Petr Machata <pmachata@redhat.com> Drop field type_being_displayed
hangeLog
ommon.h
utput.c
9a7f232879667bc4815831b8904436301a9b0156 08-Jul-2011 Petr Machata <pmachata@redhat.com> char* -> char const* one argument of output_left
hangeLog
utput.c
utput.h
2662768efe599f6bb43c4310177e30f56b601bb7 08-Jul-2011 Petr Machata <pmachata@redhat.com> Coding style nits
reakpoints.c
andle_event.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.c
3d7e4b8d6119c1cda159e2665b40b6dcd4052e85 08-Jul-2011 Petr Machata <pmachata@redhat.com> Plug a leak in breakpoints_init

- We assume that proc->breakpoints might be != NULL and proceed to clean
it up if it is. We should likewise assume that list_of_symbols might
be != NULL.
reakpoints.c
43d1de94c304f61f20d542a031bee907cd98c2e6 11-Aug-2011 Petr Machata <pmachata@redhat.com> Fix compilation
estsuite/ltrace.minor/trace-clone.c
c46448f4e5a4c124fbc75ca9b14697212e676893 07-Mar-2011 Michael K. Edwards <m.k.edwards@gmail.com> fix type punning in ARM arch_(dis|en)able_breakpoint
ysdeps/linux-gnu/arm/breakpoint.c
9bc4a9b46340209f774181f7e55ece1c47bd59d6 06-Mar-2011 Michael K. Edwards <m.k.edwards@gmail.com> Make PPC64 long-to-int conversions conditional on SIZEOF_LONG == 8
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/ppc/trace.c
ef4428ad284e7c10aaf04a6e62b41e8eb0cc2852 06-Mar-2011 Michael K. Edwards <m.k.edwards@gmail.com> Multiple-inclusion guard for common.h
ommon.h
e276cf41371cd5c5a722043658ccc15321aa15ac 08-May-2011 Andreas Schwab <schwab@linux-m68k.org> Correct fetching arguments beyond eighth arg on ppc/ppc64

The parameter save area starts at sp+8 on ppc32 and at sp+112 on ppc64.

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
ysdeps/linux-gnu/ppc/trace.c
9c9c605614763666ada12ec3181e143850ff0fe6 08-Aug-2011 Petr Machata <pmachata@redhat.com> Fix exec of stripped binary
trace-elf.c
1d31038c6880b77939eb4a7847e31869c8ad79f3 08-Aug-2011 Petr Machata <pmachata@redhat.com> Also save register arguments when return value is array of some sort
utput.c
df8f1ace6a13202bbbeffb0b4c000fe54f4afb95 20-May-2011 Petr Machata <pmachata@redhat.com> Fix wrong memory initialization
trace-elf.c
08677d0557284d36d3c898b1d876e65411069912 19-May-2011 Petr Machata <pmachata@redhat.com> Fix a buffer overrun bug
ysdeps/linux-gnu/proc.c
4649a4cbb3bd6bc516c093adefa5dc7da8141b92 16-Feb-2011 Petr Machata <pmachata@redhat.com> Add memmove prototype to etc/ltrace.conf
hangeLog
tc/ltrace.conf
5f30bc318e430a7c4ea843edeff798e80b5629c9 06-Jan-2011 Joe Damato <ice799@gmail.com> New version (0.6.0)
hangeLog
onfigure.ac
ebian/changelog
dbd8254e0214a805f23f2d887770e37645959c9a 17-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Add calls to setup_xfail in parameters.exp

Marks the expected failures on ARM and x86.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
estsuite/ltrace.main/parameters.exp
68621dbd097284a7a60318815399503c24518f12 17-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Make test suite work with non-standard installations

Augment LD_LIBRARY_PATH with alternate locations of libelf and libunwind
in ltrace_runtest. Also adds support for passing extra arguments, so
all tests can be rewritten to use that API calls. This patch makes the
test suite work (without any hacking) on systems that do not have those
libraries installed in standard locations.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
onfigure.ac
estsuite/Makefile.am
estsuite/lib/ltrace.exp
estsuite/ltrace.minor/trace-clone.exp
estsuite/ltrace.minor/trace-exec.exp
estsuite/ltrace.minor/trace-fork.exp
6188614fe288df30e9d7145106fc6350468d58f9 10-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Allow libelf to be found in non-standard locations

Adds '--with-libelf' option to configure, allowing users to specify
an alternate prefix for finding that library and its headers.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
onfigure.ac
3ba522fed3d34f476090da9349be96e15e0652cb 15-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Fix build for x86_64

Some ELF-related variables differ depending on the native host, so
this patch uses conditional compilation tricks to ensure everything
works out on both 32- and 64-bit hosts.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
trace-elf.c
trace-elf.h
ysdeps/linux-gnu/proc.c
97baa65bd20cf9b24f078406fbb622f51e3d45b7 08-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Fix regression caused by libdl patch

This change fixes a regression in the system_call.exp experienced
on ARMv7a. It also makes the libdl-simple.exp test pass.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
andle_event.c
ee5f68fee541bb11587196a8b144a03522262ca8 09-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Add ChangeLog entries for my recent changes

Provides a user-oriented list of changes for posterity.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
hangeLog
d0fafff5e3722daa00676b2f12111ffa77d57e16 09-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Switch CPPFLAGS and LDFLAGS to AM_ variants

Like CFLAGS, CPPFLAGS and LDFLAGS should not be set directly by the
configure script, because the user can override them during 'make' (and
that will break the build). Instead, the AM_CPPFLAGS and AM_LDFLAGS
variables must be used to set options from configure; so, make it so.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
akefile.am
onfigure.ac
dfb873a9182075176c9e161df155c57ac2590ce1 09-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Remove -O1/-O2/-g from configure script

The default CFLAGS are '-g -O2', so providing these options is either
redundant or conflicting. The user can specify their own CFLAGS to
override the defaults, so the configure script should not be setting
these itself. See the documentation for the AC_PROG_CC macro in the
autoconf manual for more information about these defaults.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
onfigure.ac
fe6c805d632052dd8038c4a4bfa24439c5eaf8aa 09-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Use more warnings by default and make them errors

Compiler warnings should not be limited to building with debugging,
so this patch enbles them for all builds. Since -Werror may cause
unforseen problems, it provides the --disable-werror option to allow
users to get around any possible problems that it may cause; however,
the proper solution will always be to fix the code to eliminate the
warning from occuring in the first place.

This patch also puts these flags in AM_CFLAGS, so they will not
be affected by the user providing their own CFLAGS settings.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
onfigure.ac
0a43b323c0e6a653613fb66360dc65480a02ea09 09-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Allow building against libelf and elfutils

Adds configure-time check to test the function signature of elf_hash
function, which may be provided by the libelf or elfutils packages.
In the former, the 'name' argument must be an unsigned char pointer.
In the later, the same argument must be a signed char pointer.
The check sets the ELF_HASH_TAKES_SIGNED_CHAR symbol in config.h,
and this is used at the existing call site to pass the proper type.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
onfigure.ac
trace-elf.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>
isplay_args.c
trace-elf.c
trace-elf.h
ptions.c
ptions.h
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.c
dd1352379a16ae982041f6be4fa62e3bf0dab7fb 07-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Include libdl-simple test in distribution tarball

Add libdl-simple source files and test script to EXTRA_DIST and
add binary to CLEANFILES.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
estsuite/ltrace.minor/Makefile.am
aae034cb7d3dcc5b47d1e0a722156f2a8e40dceb 07-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Update EXTRA_DIST for renamed file

Fixes 'make dist' to work with new Debian 'control' file name.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
akefile.am
a2ad619c24b3e9cf3edd8f3181a97022f0799fab 07-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Remove unused variable

Eliminate an unused variable to quench the compiler's warning.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
ysdeps/linux-gnu/trace.c
bfb26c745705a839f1ef5fc45e1b32135b9bc3e7 07-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Fix formatting specifiers for printing GElf_Addr

The use of GElf_Addr types was causing warnings when printed with %lx
format specifiers. This patch fixes the problem by using the portable
<inttypes.h> header and PRIx64 macro.

In a few places, added missing alternate form specifier ('#') to ensure
0x prefix is printed for the addresses in question.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
trace-elf.c
ysdeps/linux-gnu/proc.c
9c75697b5192065e01653bb2da3fba5139458370 07-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Fix spacing in test failure report

A space should follow a comma, not precede one.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
estsuite/lib/ltrace.exp
ded5ea818c11020add67308cb67c67c33eb52175 07-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Fix configure e-mail address

AC_INIT expects a simple e-mail address without a name; otherwise,
the following error will be produced several times during bootstrap:

configure.ac:5: warning: AC_INIT: not a literal:
ltrace-devel <ltrace-devel@lists.alioth.debian.org>

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
onfigure.ac
9aec788237d47e5f5d2bad2b8495a79fbe764649 03-Dec-2010 Joe Damato <ice799@gmail.com> Update debian build files to support autotools and new architectures.
hangeLog
ebian/control
ebian/control.in
ebian/rules
03037c8279c3e67a9a8334cdf1c061cc61d52462 19-Nov-2010 Petr Machata <pmachata@redhat.com> Allow ltrace_verify_output calls to use their own grep flavor

- sometimes we'd like extended regexps, but sometimes it's a hindrance
(like for example at the parameters.exp, where all the parens around
funcalls would have to be escaped).
hangeLog
estsuite/lib/ltrace.exp
421cfb52e0153a8898f79331645832d93c2dde92 19-Nov-2010 Petr Machata <pmachata@redhat.com> On s390x, names of mmap, fstat and stat system calls are different
hangeLog
estsuite/ltrace.main/system_calls.exp
679e4fe6bd3f433e7990e19617a3157ce733a9c7 09-Nov-2010 Joe Damato <ice799@gmail.com> Add a simple libdl test
gitignore
estsuite/ltrace.minor/libdl-simple-lib.c
estsuite/ltrace.minor/libdl-simple.c
estsuite/ltrace.minor/libdl-simple.exp
535e738ab59cab4fbe79270d7031b5580651349d 09-Nov-2010 Joe Damato <ice799@gmail.com> Cleanup and documentation.

- clean up options a bit to alphabetize things :)
- add documentation to the man page for added options which were missing docs
- removed the lib-dl caveat
hangeLog
EADME
trace.1
ptions.c
f0bd98b3e6753d8609a3054a61f2df6f9cdac10a 09-Nov-2010 Joe Damato <ice799@gmail.com> Add support for tracing functions in libraries loaded at runtime (via libdl).
ommon.h
efs.h
andle_event.c
trace-elf.c
ysdeps/README
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/proc.c
7a2bdf8e5bf49d2fbb700981efd1d0a8728340ed 09-Nov-2010 Joe Damato <ice799@gmail.com> Make some functions and datastructures global. Definitely a hack.
ommon.h
trace-elf.c
e2a8f57a3c16050e12290de2a8b6015d4252c3d5 09-Nov-2010 Joe Damato <ice799@gmail.com> Extend the -x option.

Searches for the specified symbol in the loaded libraries. This will only search
the dynamic symbol table (dynsym), but can probably be extended to also search
the symbol table, if one exists.
trace-elf.c
47cae1e251a212425cae5ac6e736de0cb0bbf714 09-Nov-2010 Joe Damato <ice799@gmail.com> Create a function find_dynamic_entry_addr.

This functions searches the DYNAMIC vector of an inferior process searching for
the first entry whose d_tag matches. An out parameter is provided to copy out
address stored in the matching entry.
trace-elf.h
ysdeps/linux-gnu/proc.c
3268c5aa2704162d3b4a8904d84b1a77807c1557 09-Nov-2010 Joe Damato <ice799@gmail.com> Adjust in_load_libraries to have an out parameter for a discovered symbol.
trace-elf.c
07581fb14f820fa7ade8ae9991700963ede8bc9f 09-Nov-2010 Joe Damato <ice799@gmail.com> Add base_addr to store the base address of an ELF object.
trace-elf.h
87f4f58320226cd20d317f488c7e6a92a3efa2dd 09-Nov-2010 Joe Damato <ice799@gmail.com> Store the address and size of the ELF object's DYNAMIC section
trace-elf.c
trace-elf.h
dfa3fa3879b12ca7307b42a3feb79f42e60a90b0 09-Nov-2010 Joe Damato <ice799@gmail.com> Add umovebytes to move a range of bytes from the traced process to ltrace
ommon.h
ysdeps/linux-gnu/trace.c
7b0a7dea2ca8f98bb530e60bf5ffd9d82f445cb5 09-Nov-2010 Joe Damato <ice799@gmail.com> Keep a count of the number of -x options passed on the command line.
ptions.c
ptions.h
afb4434390ffac04fdaa1afcc8c8cda80195994f 08-Nov-2010 Joe Damato <ice799@gmail.com> Fix libunwind support for other architectures

Signed-off-by: Joe Damato <ice799@gmail.com>
onfigure.ac
5fa1b12f88e5a9dae213089059b2da5460ddc29f 07-Nov-2010 Petr Machata <pmachata@redhat.com> Fill in change logs
hangeLog
83284b9514ed05f3d36575c469a2672dfdb8b634 01-Nov-2010 Petr Machata <pmachata@redhat.com> Remove leftover debug output
trace-elf.c
19062483b566329e88b658120cdf94760d9bbcaa 01-Nov-2010 Petr Machata <pmachata@redhat.com> Fix arch detection on powerpc64
onfigure.ac
fe1c171b8988a4e9a882b11291faf9d3fa09e944 27-Oct-2010 Petr Machata <pmachata@redhat.com> Fix tracing on PPC32 systems with glink
trace-elf.c
trace-elf.h
067322dc1737817000d646440a2b061fdf1c9f40 25-Oct-2010 Petr Machata <pmachata@redhat.com> Fix tracing on ppc
andle_event.c
87e1a5cc080cdab488a6c7076aa5c86dfe1c26f0 18-Nov-2010 Petr Machata <pmachata@redhat.com> Fix compilation issue on ppc32
hangeLog
ysdeps/linux-gnu/ppc/ptrace.h
ysdeps/linux-gnu/ppc/trace.c
fac99be277bd370852faadc7fdd8754e2efa26f6 25-Oct-2010 Petr Machata <pmachata@redhat.com> Fix save_register_args and related on ppc64
ysdeps/linux-gnu/ppc/ptrace.h
ysdeps/linux-gnu/ppc/trace.c
830e1f2b0d92d53f168f5825176ebdc09fe50552 07-Nov-2010 Joe Damato <ice799@gmail.com> Fix some ChangeLog whitespace issues.
hangeLog
141841674e527e21bfcd7e1401b5f571bbbb9e65 07-Nov-2010 Petr Machata <pmachata@redhat.com> Fill in change logs
hangeLog
211f0886c5aeceebacb44e3ae84d6b8f931cedf2 03-Nov-2010 Petr Machata <pmachata@redhat.com> Fix output of return arguments in nested calls on x86_64
hangeLog
ommon.h
andle_event.c
ysdeps/linux-gnu/x86_64/ptrace.h
ysdeps/linux-gnu/x86_64/trace.c
280f829ca87ff6b6c3a242a97fcef01d4488d2c8 03-Nov-2010 Petr Machata <pmachata@redhat.com> Add test for nested library calls
hangeLog
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
41fb5a60ec30a5bcb48c624a96a55abe7cddf79a 03-Nov-2010 Petr Machata <pmachata@redhat.com> Fix passing and returning float and double values
hangeLog
ysdeps/linux-gnu/x86_64/ptrace.h
ysdeps/linux-gnu/x86_64/trace.c
1607793a00298f9d5a857dac73de2dd6a6510725 03-Nov-2010 Petr Machata <pmachata@redhat.com> Better checking of float and double arguments and return values
hangeLog
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
8f64a6de2b7af7235e2ce1cfa973b83e28d67e11 06-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Add ChangeLog entries for recent changes.

Describes my recent improvments for users.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
hangeLog
bc7a4a9a66214892d7ceecb0428f2da731238ed9 05-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Change --enable-libunwind back to --with-libunwind

Allows libunwind to be installed in non-standard locations.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
onfigure.ac
694fe14d4b7f11d374e76a1cd5f8445da73c4a4d 05-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Cover test suite in .gitignore

Adds patterns and file names for artifacts produced by the test suite.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
gitignore
b2d628bb1f9dd190a3dc2cf2131b37662f530a79 05-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Add test suite files to EXTRA_DIST variables

Permits 'make distcheck' (and users) to run all of the tests.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
estsuite/Makefile.am
estsuite/ltrace.main/Makefile.am
estsuite/ltrace.minor/Makefile.am
estsuite/ltrace.torture/Makefile.am
4627fc493db8459e6ef0597a4155a06b7d120d20 05-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Make test suite work for out-of-tree builds.

Use 'objdir' instead of 'srcdir' for building executables and saving
the .ltrace output files.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
estsuite/ltrace.main/main-internal.exp
estsuite/ltrace.main/main.exp
estsuite/ltrace.main/parameters.exp
estsuite/ltrace.main/signals.exp
estsuite/ltrace.main/system_calls.exp
estsuite/ltrace.minor/attach-process.exp
estsuite/ltrace.minor/count-record.exp
estsuite/ltrace.minor/demangle.exp
estsuite/ltrace.minor/print-instruction-pointer.exp
estsuite/ltrace.minor/time-record-T.exp
estsuite/ltrace.minor/time-record-tt.exp
estsuite/ltrace.minor/time-record-ttt.exp
estsuite/ltrace.minor/trace-clone.exp
estsuite/ltrace.minor/trace-exec.exp
estsuite/ltrace.minor/trace-fork.exp
estsuite/ltrace.torture/signals.exp
3a9d1e753b6228347fc04c1f0a7a7fbb7147ec9a 05-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Convert testsuite to use autotools

Punts all of the dejagnu magic into automake.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
akefile.am
onfigure.ac
estsuite/Makefile
estsuite/Makefile.am
estsuite/ltrace.main/Makefile
estsuite/ltrace.main/Makefile.am
estsuite/ltrace.minor/Makefile
estsuite/ltrace.minor/Makefile.am
estsuite/ltrace.torture/Makefile
estsuite/ltrace.torture/Makefile.am
80a259b496ec3a7dd964fa7afbe6c265f8ce931e 05-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Add config.h.in{, ~} to MAINTAINERCLEANFILES

These artifacts are created/updated by running 'autoreconf'.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
akefile.am
37abc90c3ff3393ed077bbfd82a0b76b6d04630e 05-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Remove superfluous files from distribution

The autogen.sh script is only required when working out of the
Git repository, so it should not be distributed. Likewise, the
.gitignore file does not serve any purpose in the distribution.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
akefile.am
d91528913adb057d0681a98a959836f93ab564fe 05-Nov-2010 Zachary T Welch <zwelch@codesourcery.com> Provide automake maintainer mode

Add the AM_MAINTAINER_MODE macro to give --enable-maintainer-mode
for use by developers working on the build system.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
onfigure.ac
00fd6fed57aa24a73583f338dd7fb6e27895f17d 01-Nov-2010 Marc Kleine-Budde <mkl@pengutronix.de> configure: use AS_HELP_STRING to pretty print help text

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
onfigure.ac
8c4aa1f58a1dc9f7512acf666f44a05a85108532 03-Nov-2010 Petr Machata <pmachata@redhat.com> Don't assume that libelf comes with a .pc file
hangeLog
onfigure.ac
ab3b72cc5d2d3efb3542192f0d72ff2ea4b082f9 31-Oct-2010 Joe Damato <ice799@gmail.com> Add -w/--where to show backtraces of traced functions.

- add libunwind as a dep to configure
- add a command line option to show backtraces from traced library functions
- best guess at autoconf stuff, seems to work x86_64 and i686
- NOT TESTED ON ANY OTHER PLATFORMS!
hangeLog
akefile.am
ommon.h
onfigure.ac
xecute_program.c
ptions.c
ptions.h
utput.c
roc.c
401eee6f5e119b642d1f56380ff0414ad5cb669e 07-Oct-2010 Marc Kleine-Budde <mkl@pengutronix.de> ChangeLog: update to reflect autotools related changes

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
hangeLog
784ee68ae5a812d9cf92553f697b2d67aa2d4faa 04-Feb-2010 Marc Kleine-Budde <mkl@pengutronix.de> autogen.sh: create config/autoconf and config/m4

...old autoconf fails without it.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
utogen.sh
da8d291a85eb391a035595b206299abd7f6342c4 04-Feb-2010 Marc Kleine-Budde <mkl@pengutronix.de> configure.ac: lower libelf requirements to 0.8.6

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
onfigure.ac
7cae4e08639fcd0fcb0fd90a462f18c0a4fc0b23 04-Feb-2010 Marc Kleine-Budde <mkl@pengutronix.de> configure.ac: be libtool-1.5.x compatible

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
onfigure.ac
3a7d76d59227291b271bb12af25cb864b19b1b7c 04-Feb-2010 Marc Kleine-Budde <mkl@pengutronix.de> configure.ac: lower autoconf requirements to 2.59

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
onfigure.ac
1ce701e8d76c688f7ffd62c75672a2678510e55a 03-Feb-2010 Marc Kleine-Budde <mkl@pengutronix.de> added git ignore

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
gitignore
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.in
ERSION
clocal.m4
onfigure
kdist
ysdeps/linux-gnu/Makefile
ysdeps/linux-gnu/alpha/Makefile
ysdeps/linux-gnu/arm/Makefile
ysdeps/linux-gnu/i386/Makefile
ysdeps/linux-gnu/ia64/Makefile
ysdeps/linux-gnu/m68k/Makefile
ysdeps/linux-gnu/mipsel/Makefile
ysdeps/linux-gnu/ppc/Makefile
ysdeps/linux-gnu/s390/Makefile
ysdeps/linux-gnu/sparc/Makefile
ysdeps/linux-gnu/x86_64/Makefile
ysdeps/linux-gnu/x86_64/ffcheck.c
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
utogen.sh
onfigure.ac
ysdeps/Makefile.am
ysdeps/linux-gnu/Makefile.am
ysdeps/linux-gnu/alpha/Makefile.am
ysdeps/linux-gnu/arch_syscallent.h
ysdeps/linux-gnu/arm/Makefile.am
ysdeps/linux-gnu/i386/Makefile.am
ysdeps/linux-gnu/ia64/Makefile.am
ysdeps/linux-gnu/m68k/Makefile.am
ysdeps/linux-gnu/mipsel/Makefile.am
ysdeps/linux-gnu/ppc/Makefile.am
ysdeps/linux-gnu/s390/Makefile.am
ysdeps/linux-gnu/signalent1.h
ysdeps/linux-gnu/sparc/Makefile.am
ysdeps/linux-gnu/syscallent1.h
ysdeps/linux-gnu/x86_64/Makefile.am
ysdeps/sysdep.h
747c73d5b7d66d312a1b1a293e67f9ddf2f17d93 03-Feb-2010 Marc Kleine-Budde <mkl@pengutronix.de> rename elf.{c,h} into ltrace-elf.{c,h}

This patch renames these files to avoid a conflict with the header files
of the "libelfg0-dev" package. This avoids the "-iquote" magic.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
ommon.h
lf.c
lf.h
trace-elf.c
trace-elf.h
8ce5c492d5230e41e9f9800f76ab3b3971120647 31-Oct-2010 Petr Machata <pmachata@redhat.com> More cleanup from Fedora:
- Implement fetching of 5th and further function arguments on s390 (contributed
by Supriya Kannery)
- Support fork/exec syscalls on 31-bit s390
- Nit
hangeLog
utput.c
ysdeps/linux-gnu/s390/arch.h
ysdeps/linux-gnu/s390/trace.c
593ee323b97ed61f68c209205c2b365897696942 31-Oct-2010 Petr Machata <pmachata@redhat.com> Some cleanup from Fedora:
- In man page, don't claim that we only support 32-bit binaries
- Make the fork test suite more accurate
- note about the puts/printf: modern GCCs compile printf ("string\n") into
puts ("string"). Always use puts to make this at least deterministic.
- add more tests to make sure that the fork indeed was properly followed
hangeLog
trace.1
estsuite/ltrace.minor/trace-fork.c
estsuite/ltrace.minor/trace-fork.exp
59e3fb19c861f963270e81fc77fd497961ed5d49 07-Nov-2009 Joe Damato <ice799@gmail.com> Add -b, --no-signals to silence signal print outs.
hangeLog
andle_event.c
trace.1
ptions.c
ptions.h
fa2aefc32eb4196966a14d1e7def931652f40d46 31-Oct-2010 Joe Damato <ice799@gmail.com> Merge -g option which avoids tracing libraries linked at compile time.
hangeLog
lf.c
andle_event.c
trace.1
ptions.c
ptions.h
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>
hangeLog
ysdeps/linux-gnu/arm/plt.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>
hangeLog
ysdeps/linux-gnu/arm/regs.c
a2ff9d6db878e564caffef8807907aa0faedb7fd 08-Oct-2010 Zachary T Welch <zwelch@codesourcery.com> Fix insertion of breakpoints on Thumb code.

When a program has been built in Thumb mode, global symbols will
have their low bit set. Ensure that breakpoints are set at the
correct address and using Thumb instructions.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
hangeLog
reakpoints.c
799b01f5e3c3fdb6083ab00326f3dab4b3388b50 11-Oct-2010 Joe Damato <ice799@gmail.com> Add ChangeLog entry for Edgar E. Iglesias' changes.
hangeLog
b1dda4bc2c78429823a5ca7699f3207a7aea2371 19-Jul-2010 Edgar E. Iglesias <edgar.iglesias@gmail.com> Add support for cris-*-linux-gnu (v32) arch.

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
ysdeps/linux-gnu/cris/Makefile
ysdeps/linux-gnu/cris/arch.h
ysdeps/linux-gnu/cris/plt.c
ysdeps/linux-gnu/cris/ptrace.h
ysdeps/linux-gnu/cris/regs.c
ysdeps/linux-gnu/cris/signalent.h
ysdeps/linux-gnu/cris/syscallent.h
ysdeps/linux-gnu/cris/trace.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>
hangeLog
ysdeps/linux-gnu/arm/trace.c
1788f8ad6583035488c891ab13f0bf573e391b00 11-Oct-2010 Joe Damato <ice799@gmail.com> Add ChangeLog entry for Arnaud Patard's changes.
hangeLog
60b3b838ef3fa5fb62845945498e4151ccc4005c 08-Jan-2010 Arnaud Patard <apatard@mandriva.com> mipsel.h: add fp regs offset

Add fpregs offsets to be able to handle functions with fp args

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
ysdeps/linux-gnu/mipsel/mipsel.h
7a919b9236b06215af87eda135b71f69478b5c15 08-Jan-2010 Arnaud Patard <apatard@mandriva.com> x86_64/{trace.c, ptrace.h}: fix arguments handling

- handle floats
- fix arguments in function return. regs may have changed and stack
handling may (imho) become a nightmare so backup integer and fp regs
at function/syscall entry with save_register_args
- As we're now getting regs in get_arch_dep, remove other ptrace()
calls used to get registers

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
ysdeps/linux-gnu/x86_64/ptrace.h
ysdeps/linux-gnu/x86_64/trace.c
b2cf42cd6ef3beb471008da67e6fb681732b6586 08-Jan-2010 Arnaud Patard <apatard@mandriva.com> Fix mips

Makefile are using uname -m which return mips for mips and mipsel.
Easy fix: use a symlink. Better fix: git mv

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
ysdeps/linux-gnu/mips
8a115b6cedaf530e4589e6dc190bfb70b2c2619a 08-Jan-2010 Arnaud Patard <apatard@mandriva.com> mips: fix gimme_arg

- handle functions with fp regs as args
- handle arguments value at return
- try to handle more than 4 (int) args

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
ysdeps/linux-gnu/mipsel/trace.c
f3d1c535dd4d20d2fb7589ec019c4d3af24bb52a 08-Jan-2010 Arnaud Patard <apatard@mandriva.com> Don't use PTRACE_SINGLESTEP on mips

PTRACE_SINGLESTEP is not supported on mips

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
ysdeps/linux-gnu/trace.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>
ysdeps/linux-gnu/arm/trace.c
161193ff49250bfb819748ec6404e07957dc6ab5 08-Jan-2010 Arnaud Patard <apatard@mandriva.com> handle_event: fix build for mips case

handle_breakpoint() was broken for mips in several aspects.
This patch tries to solve them correctly

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
andle_event.c
634a9462c212effe3e5a2cea9180fc9b89851b9d 08-Jan-2010 Arnaud Patard <apatard@mandriva.com> plt, regs: fix includes

Fix build due to broken includes

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
ysdeps/linux-gnu/mipsel/plt.c
ysdeps/linux-gnu/mipsel/regs.c
2f1959ffbd213e61e96fffe9979443f873418301 08-Jan-2010 Arnaud Patard <apatard@mandriva.com> syscallent.h/signalent.h: update

update syscallent.h/signalent.h to match newer systems

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
ysdeps/linux-gnu/mipsel/signalent.h
ysdeps/linux-gnu/mipsel/syscallent.h
f16fcff75f62d44a49ad9c020622956bd2b8df45 08-Jan-2010 Arnaud Patard <apatard@mandriva.com> trace.c: fix (partially) umovelong

umovelong was always returning the full value read in ptrace'd process
memory (eg long) even if the type was not a long (eg int).
This patch add handling for at least int case.

[ found out with parameters test case on x86_64 as int is 32bit and long
64bit ]

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
ysdeps/linux-gnu/trace.c
16e2ba5d4f03af2f5c298201a12382762e526b51 08-Jan-2010 Arnaud Patard <apatard@mandriva.com> Add a .gitignore file

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
gitignore
91a1f32dcbbc043ddc20f10c46a6b7c07db88be4 08-Jan-2010 Arnaud Patard <apatard@mandriva.com> Abort on "call nesting too deep" error

It's better to abort() here, imho. Helped me while debugging too

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
andle_event.c
e0437fdca4afea870182e10fd119ab3af06df04f 08-Jan-2010 Arnaud Patard <apatard@mandriva.com> count-record.exp: don't use ltrace_saveoutput

Using ltrace_saveoutput results in a empty .ltrace file and breaks test
(side note: why ? ... )

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
estsuite/ltrace.minor/count-record.exp
26570086416bb988e84bc09be1f49c79d743074a 08-Jan-2010 Arnaud Patard <apatard@mandriva.com> handle_event: handle functions with no return

On mips, there are functions like atexit which are only a jump to an
other function.
eg:

atexit
goto _cxa_atexit

In this case, avoid incrementing stack depth as it's not going to be
decremented. This is breaks ltrace when there are too many functions of
this type.

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
andle_event.c
105adb6627b19be7208fe55c226cbcfbbeb2f00c 08-Jan-2010 Arnaud Patard <apatard@mandriva.com> Don't use signal number. Use constant

signal 10 is SIGBUS on mips not SIGUSR1

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
estsuite/ltrace.torture/signals.c
f872e349d7b7c707f4a5c957a4994f6f33babf83 08-Jan-2010 Arnaud Patard <apatard@mandriva.com> demangle-lib.cpp: fix build

Build failure due to missing include cstdlib for malloc/free

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
estsuite/ltrace.minor/demangle-lib.cpp
0aac3525a48a5485ee82f966e7a0af40420b99bf 08-Jan-2010 Arnaud Patard <apatard@mandriva.com> Add a script to create syscallent.h for mips

Add a modified version of mksyscallent which works on mips o32

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
ysdeps/linux-gnu/mksyscallent_mips
95623b28a7f4ea2b6f037dc46c2e340b398bf57c 08-Jan-2010 Arnaud Patard <apatard@mandriva.com> elf.c: make '-l' work on mips

Add missing check to filter symbols

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
lf.c
ca233087ebca08c826cc9f43f6ac01d6ff94243c 08-Jan-2010 Arnaud Patard <apatard@mandriva.com> debug.h: allow to #include it more than one time

It's easy to have debug.h #include'd multiple times. While it would be
better to fix that, getting a build failure is nasty. Avoid that.

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
ebug.h
4795087c406008f63de933755c87851acd6b9806 08-Jan-2010 Arnaud Patard <apatard@mandriva.com> breakpoints: fix mips

In the __mips__ case, make sure to copy the symbol structure and the
symbol name.

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
reakpoints.c
07fd38bd67b68d98018955dee586f3ed3387d199 23-Sep-2009 Juan Cespedes <cespedes@thehackers.org> sync with debian release 0.5.3-2
ebian/changelog
ebian/control.in
a7af00db2231e99a4506e4f5587f9dd00b9d1175 26-Jul-2009 Juan Cespedes <cespedes@thehackers.org> Fixed compilation problems in armel, ia64 and powerpc
ysdeps/linux-gnu/arm/breakpoint.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/ia64/breakpoint.c
ysdeps/linux-gnu/ia64/regs.c
ysdeps/linux-gnu/ppc/plt.c
163765561621a9127cee3243dd94011e70a2c580 25-Jul-2009 Juan Cespedes <cespedes@coco.thehackers.org> New version (0.5.3)
hangeLog
ERSION
ebian/changelog
ebian/control.in
3458456ffbf0b6d85e1818dea7cbeacc8b1d2298 25-Jul-2009 Juan Cespedes <cespedes@coco.thehackers.org> Make it work again in sparc
ysdeps/linux-gnu/Makefile
ysdeps/linux-gnu/sparc/ptrace.h
ysdeps/linux-gnu/sparc/regs.c
ysdeps/linux-gnu/sparc/trace.c
f670eea50e959eeb9da53d70cad8d43c19494ef0 25-Jul-2009 Juan Cespedes <cespedes@coco.thehackers.org> Finally got rid of GNU's Autoconf stuff
NSTALL
akefile.in
ODO
ERSION
reakpoints.c
onfig.guess
onfig.sub
onfigure
onfigure.ac
ebian/copyright
emangle.c
emangle.h
lf.c
xecute_program.c
andle_event.c
nstall-sh
ibltrace.c
kdist
ptions.c
utput.c
ead_config_file.c
ummary.c
ysdeps/linux-gnu/alpha/regs.c
ysdeps/linux-gnu/alpha/trace.c
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/i386/regs.c
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/ia64/regs.c
ysdeps/linux-gnu/ia64/trace.c
ysdeps/linux-gnu/m68k/regs.c
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/mipsel/regs.c
ysdeps/linux-gnu/mipsel/trace.c
ysdeps/linux-gnu/ppc/regs.c
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/s390/regs.c
ysdeps/linux-gnu/s390/trace.c
ysdeps/linux-gnu/sparc/regs.c
ysdeps/linux-gnu/sparc/trace.c
ysdeps/linux-gnu/x86_64/regs.c
ysdeps/linux-gnu/x86_64/trace.c
estsuite/Makefile
estsuite/Makefile.in
estsuite/ltrace.main/Makefile
estsuite/ltrace.main/Makefile.in
estsuite/ltrace.minor/Makefile
estsuite/ltrace.minor/Makefile.in
estsuite/ltrace.torture/Makefile
estsuite/ltrace.torture/Makefile.in
c5c744a3b5a6e0d1f4826fabb31ffab2ec0170f3 23-Jul-2009 Juan Cespedes <juan.cespedes@imdea.org> Clarified debug levels (try --debug=help)
EADME
ODO
ebug.h
trace.1
ptions.c
427b7811598f905b583ac86b35c72228fd415476 06-Jul-2009 Juan Cespedes <cespedes@coco.thehackers.org> Indentation, comments
UGS
trace.h
ysdeps/linux-gnu/events.c
2a61d19bd244dadcde5009f1632cf14b95623e3d 04-Jul-2009 Juan Cespedes <cespedes@coco.thehackers.org> Added set_return_addr() to sysdeps/linux-gnu/*/regs.c
ommon.h
trace.h
ysdeps/linux-gnu/alpha/plt.c
ysdeps/linux-gnu/alpha/regs.c
ysdeps/linux-gnu/arm/plt.c
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/i386/plt.c
ysdeps/linux-gnu/i386/regs.c
ysdeps/linux-gnu/ia64/plt.c
ysdeps/linux-gnu/ia64/regs.c
ysdeps/linux-gnu/m68k/plt.c
ysdeps/linux-gnu/m68k/regs.c
ysdeps/linux-gnu/mipsel/plt.c
ysdeps/linux-gnu/mipsel/regs.c
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/ppc/regs.c
ysdeps/linux-gnu/s390/plt.c
ysdeps/linux-gnu/s390/regs.c
ysdeps/linux-gnu/sparc/plt.c
ysdeps/linux-gnu/sparc/regs.c
ysdeps/linux-gnu/x86_64/plt.c
ysdeps/linux-gnu/x86_64/regs.c
61da33723c5fb09762e38bd39a26ee15d62ffebc 03-Jul-2009 Juan Cespedes <cespedes@coco.thehackers.org> Added different callback handlers for each event
andle_event.c
ibltrace.c
trace.h
ain.c
utput.h
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/ppc/regs.c
8d1b92ba755f6d6229f5e230fc43d958b13836f8 03-Jul-2009 Juan Cespedes <cespedes@coco.thehackers.org> Some minor fixes
akefile.in
reakpoints.c
ommon.h
ebug.c
efs.h
emangle.c
ict.c
ict.h
isplay_args.c
lf.c
lf.h
xecute_program.c
andle_event.c
ibltrace.c
ptions.c
ptions.h
utput.c
utput.h
roc.c
ead_config_file.c
ummary.c
ysdeps/README
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/trace.c
03192f890af95bf9abf5ea1c3dc0998f6b12550d 03-Jul-2009 Juan Cespedes <cespedes@coco.thehackers.org> fixed configure.ac, renamed process_event -> handle_event
akefile.in
ommon.h
onfigure.ac
andle_event.c
ibltrace.c
rocess_event.c
ysdeps/linux-gnu/mipsel/regs.c
40dc6353a443f2eed64fcada3bcf305e56855b15 25-Jun-2009 Juan Cespedes <cespedes@debian.org> Added support for callbacks to libltrace
akefile.in
ommon.h
ibltrace.c
trace.h
ain.c
f728123bd75a65a6a1536e198c3c30719e494e71 25-Jun-2009 Juan Cespedes <cespedes@debian.org> Re-organize file names
reakpoints.c
ommon.h
isplay_args.c
lf.c
lf.h
xecute_program.c
ibltrace.c
trace.c
ain.c
ain.h
ptions.c
utput.c
utput.h
roc.c
rocess_event.c
ead_config_file.c
ummary.c
ysdeps/linux-gnu/alpha/plt.c
ysdeps/linux-gnu/alpha/regs.c
ysdeps/linux-gnu/alpha/trace.c
ysdeps/linux-gnu/arm/plt.c
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/i386/plt.c
ysdeps/linux-gnu/i386/regs.c
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/ia64/plt.c
ysdeps/linux-gnu/ia64/regs.c
ysdeps/linux-gnu/ia64/trace.c
ysdeps/linux-gnu/m68k/plt.c
ysdeps/linux-gnu/m68k/regs.c
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/mipsel/plt.c
ysdeps/linux-gnu/mipsel/regs.c
ysdeps/linux-gnu/mipsel/trace.c
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/ppc/regs.c
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/s390/plt.c
ysdeps/linux-gnu/s390/regs.c
ysdeps/linux-gnu/s390/trace.c
ysdeps/linux-gnu/sparc/plt.c
ysdeps/linux-gnu/sparc/ptrace.h
ysdeps/linux-gnu/sparc/regs.c
ysdeps/linux-gnu/sparc/trace.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/x86_64/plt.c
ysdeps/linux-gnu/x86_64/regs.c
ysdeps/linux-gnu/x86_64/trace.c
3df476b28e4a9cdb43cf29fff8e89481310eb30d 28-May-2009 Juan Cespedes <cespedes@debian.org> Created library "libltrace.a" and a simple program that calls it
akefile.in
reakpoints.c
isplay_args.c
lf.c
lf.h
xecute_program.c
trace.c
trace.h
ain.c
ain.h
ptions.c
utput.c
utput.h
roc.c
rocess_event.c
ead_config_file.c
ummary.c
ysdeps/linux-gnu/alpha/plt.c
ysdeps/linux-gnu/alpha/regs.c
ysdeps/linux-gnu/alpha/trace.c
ysdeps/linux-gnu/arm/plt.c
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/i386/plt.c
ysdeps/linux-gnu/i386/regs.c
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/ia64/plt.c
ysdeps/linux-gnu/ia64/regs.c
ysdeps/linux-gnu/ia64/trace.c
ysdeps/linux-gnu/m68k/plt.c
ysdeps/linux-gnu/m68k/regs.c
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/mipsel/plt.c
ysdeps/linux-gnu/mipsel/regs.c
ysdeps/linux-gnu/mipsel/trace.c
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/ppc/regs.c
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/s390/plt.c
ysdeps/linux-gnu/s390/regs.c
ysdeps/linux-gnu/s390/trace.c
ysdeps/linux-gnu/sparc/plt.c
ysdeps/linux-gnu/sparc/ptrace.h
ysdeps/linux-gnu/sparc/regs.c
ysdeps/linux-gnu/sparc/trace.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/x86_64/plt.c
ysdeps/linux-gnu/x86_64/regs.c
ysdeps/linux-gnu/x86_64/trace.c
e12df4c65dfbd6d0e4a95ff90261b3b7c07298a2 28-May-2009 Juan Cespedes <cespedes@debian.org> Always display "[pid xxx]" output when using -f option
utput.c
6be8028492b29f68126ce413b7ef4b875c7bb017 28-May-2009 Juan Cespedes <cespedes@debian.org> wait for clone()s as well as for fork()s
ysdeps/linux-gnu/events.c
fea4a1285dc7bea02b0203845ad43117f091fc3e 28-May-2009 Juan Cespedes <cespedes@debian.org> misc typos
EADME
ODO
onfigure.ac
trace.1
ysdeps/linux-gnu/ia64/plt.c
ysdeps/linux-gnu/ia64/trace.c
ysdeps/linux-gnu/mipsel/plt.c
ysdeps/linux-gnu/mipsel/regs.c
ysdeps/linux-gnu/mipsel/trace.c
ysdeps/linux-gnu/trace.c
3e94cbf0d388a5b5b49f8dbc60f4b24900de89ae 22-May-2009 Juan Cespedes <cespedes@coco.thehackers.org> See syscalls as syscalls and not sysrets when we are a clone
ODO
ysdeps/linux-gnu/alpha/trace.c
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/ia64/trace.c
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/mipsel/trace.c
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/sparc/trace.c
ysdeps/linux-gnu/x86_64/trace.c
30439b42294d678f2066522aecdb664132170a41 22-May-2009 Juan Cespedes <cespedes@coco.thehackers.org> Make clone() work when child starts after parent finishes
ebian/changelog
rocess_event.c
ysdeps/linux-gnu/i386/trace.c
c547616e4f5d6cb40e188260df4d58ada3d2efab 21-May-2009 Juan Cespedes <cespedes@debian.org> updated configure.ac to show new release (0.5.2)
onfigure.ac
c693f02a01835a6fc603212d323a364a22a4fa26 21-May-2009 Juan Cespedes <cespedes@debian.org> Prepare for new Debian release
hangeLog
ODO
ebian/changelog
ebian/control.in
utput.c
e0660df7f943cc832694db3b8b6778c0ff65860d 21-May-2009 Juan Cespedes <cespedes@debian.org> Make exec() work again using PTRACE_O_TRACEEXEC
reakpoints.c
trace.h
roc.c
rocess_event.c
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.c
5c682047d0b03f53dc05d3bd80181e7f82121779 21-May-2009 Juan Cespedes <cespedes@debian.org> Obey -f option (added STATE_IGNORED to ignore some processes)
reakpoints.c
ebug.c
trace.h
rocess_event.c
2721e6adbc7399e1b621b896b4f5b864082fbf03 21-May-2009 Juan Cespedes <cespedes@debian.org> new fork() and clone() approach

used PTRACE_O_TRACE{FORK,VFORK,CLONE} to trace newly created
processes instead of figuring it out whether a given syscall
would create another process or not
ODO
trace.h
rocess_event.c
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/trace.c
85f7d7616f2736de79f6b7f77bceedbc97c83406 14-May-2009 Juan Cespedes <cespedes@debian.org> updated man page
trace.1
ysdeps/linux-gnu/trace.c
cd8976dbee947f152c3a322503a1063c6359da76 14-May-2009 Juan Cespedes <cespedes@debian.org> better debugging support (-d option)
reakpoints.c
ebug.c
ebug.h
emangle.c
ict.c
lf.c
trace.1
ptions.c
rocess_event.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/trace.c
7c3b431ca18bebd4b78e8e254ad389bc26d6bd57 14-May-2009 Juan Cespedes <cespedes@debian.org> removed calls to fork_p() (no longer needed)
rocess_event.c
bc8caf0ca16c8cb87bc8288c7a49ee164d075ead 07-May-2009 Juan Cespedes <cespedes@debian.org> NON-WORKING version of new fork() approach
reakpoints.c
ict.c
ict.h
lf.c
trace.h
rocess_event.c
8f6d1ecd5f4301f899927a553572c5089fd29bcf 07-May-2009 Juan Cespedes <cespedes@debian.org> New event: EVENT_NEW (received from a new process)
trace.h
rocess_event.c
ysdeps/linux-gnu/events.c
393f1d00c582058078cc238547f65202c438fb19 07-May-2009 Juan Cespedes <cespedes@debian.org> struct event -> Event
trace.h
rocess_event.c
ysdeps/linux-gnu/events.c
cde582642f959f69d436d435b504f50470af5db9 07-May-2009 Juan Cespedes <cespedes@debian.org> struct function -> Function
trace.h
utput.c
ead_config_file.c
ysdeps/linux-gnu/events.c
1dec217e47f998c03c642561d98753c32683985c 07-May-2009 Juan Cespedes <cespedes@debian.org> struct breakpoint -> Breakpoint
reakpoints.c
trace.h
rocess_event.c
ysdeps/linux-gnu/arm/breakpoint.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/ia64/breakpoint.c
ysdeps/linux-gnu/trace.c
c4e53a9c569cc0ca406ba947ddb97ca2cd0f32c0 06-May-2009 Juan Cespedes <cespedes@debian.org> almost there...
ODO
trace.1
trace.h
ptions.c
2c426c74d6e5e39e41c6c77c6f88ccea26748d72 06-May-2009 Juan Cespedes <cespedes@debian.org> adding Process_State to struct Process
UGS
ODO
trace.h
da2ad5abe848571754a796774548981e3a687711 28-Apr-2009 Juan Cespedes <cespedes@coco.thehackers.org> updated config.*
onfig.guess
onfig.sub
a8909f71e1421949c960f287217be6c42c286c0f 28-Apr-2009 Juan Cespedes <cespedes@coco.thehackers.org> struct process -> Process
reakpoints.c
isplay_args.c
lf.c
lf.h
xecute_program.c
trace.c
trace.h
utput.c
utput.h
roc.c
rocess_event.c
ysdeps/linux-gnu/alpha/plt.c
ysdeps/linux-gnu/alpha/regs.c
ysdeps/linux-gnu/alpha/trace.c
ysdeps/linux-gnu/arm/plt.c
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/i386/plt.c
ysdeps/linux-gnu/i386/regs.c
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/ia64/plt.c
ysdeps/linux-gnu/ia64/regs.c
ysdeps/linux-gnu/ia64/trace.c
ysdeps/linux-gnu/m68k/plt.c
ysdeps/linux-gnu/m68k/regs.c
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/mipsel/plt.c
ysdeps/linux-gnu/mipsel/regs.c
ysdeps/linux-gnu/mipsel/trace.c
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/ppc/regs.c
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/s390/plt.c
ysdeps/linux-gnu/s390/regs.c
ysdeps/linux-gnu/s390/trace.c
ysdeps/linux-gnu/sparc/plt.c
ysdeps/linux-gnu/sparc/regs.c
ysdeps/linux-gnu/sparc/trace.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/x86_64/plt.c
ysdeps/linux-gnu/x86_64/regs.c
ysdeps/linux-gnu/x86_64/trace.c
1e583132c95aa211fab9e0e0869b237adfa78304 07-Apr-2009 Juan Cespedes <cespedes@debian.org> Beginning support of PTRACE_O_TRACE* (doesn't work yet)
rocess_event.c
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/trace.c
cc813cd481c74ee4861baa5dd6154c3f234c7901 07-Apr-2009 Juan Cespedes <cespedes@debian.org> More fields to struct "options", same output with or without -o

(opt_s, opt_f)
isplay_args.c
ptions.c
ptions.h
utput.c
rocess_event.c
da9b953284966b8c52de43713ebb5b503756e468 07-Apr-2009 Juan Cespedes <cespedes@debian.org> More fields to struct "options"

(opt_c, opt_d, opt_A)
ebug.c
isplay_args.c
trace.c
trace.h
ptions.c
ptions.h
utput.c
rocess_event.c
ysdeps/linux-gnu/ppc/plt.c
375ef8e667be88645f6af6bb099f04471c7f53cd 07-Apr-2009 Juan Cespedes <cespedes@debian.org> Fixed SEGFAULT when killing ltrace with SIGINT or SIGTERM
UGS
trace.c
rocess_event.c
714ee9df1696e696d5bd2e9d95c13e9f5051eb73 07-Apr-2009 Juan Cespedes <cespedes@debian.org> wait for new children to stop before assuming they have stopped
ysdeps/linux-gnu/trace.c
43739a69d0fb63011609af50f758fbe4734e0c67 07-Apr-2009 Juan Cespedes <cespedes@debian.org> Documentation, small fixes
UGS
ODO
ebug.h
ptions.c
e2023f721b66db48cc8a0f4ab6519460093c2cf1 07-Apr-2009 Juan Cespedes <cespedes@debian.org> wait_for_something.c -> sysdeps/linux-gnu/events.c
akefile.in
trace.c
trace.h
ysdeps/README
ysdeps/linux-gnu/Makefile
ysdeps/linux-gnu/events.c
ysdeps/linux-gnu/mipsel/trace.c
ait_for_something.c
ff9359a462b0cc129cde2156c1903905aa1db545 07-Apr-2009 Juan Cespedes <cespedes@coco.thehackers.org> updated TODO
ODO
138d41c7468ba77656170a869553e49b5409aa70 07-Apr-2009 Juan Cespedes <cespedes@coco.thehackers.org> LT_EV_* -> EVENT_*
trace.h
rocess_event.c
ait_for_something.c
1423f082d22fc77baff60789c51471c7ff244295 07-Apr-2009 Juan Cespedes <cespedes@coco.thehackers.org> Year of copyright change (2008 -> 2009)
EADME
ebian/copyright
ptions.c
e672ad1791aadbaab29cf4a5bdd4f21100acc739 11-Feb-2009 Juan Cespedes <cespedes@debian.org> Minor fixes from blackngel <blackngel1@gmail.com>
ebug.c
xecute_program.c
ead_config_file.c
e74c80de19a628cab68f10a1e7c92bef2988aafb 11-Feb-2009 Juan Cespedes <cespedes@coco.thehackers.org> Fixed segfault in traced process when receiving a signal

Specifically, when a signal was received while enabling a breakpoint
hangeLog
trace.h
roc.c
ysdeps/linux-gnu/trace.c
ait_for_something.c
53b474031edff156a855a1689abd4bd90f8f1510 11-Feb-2009 Juan Cespedes <cespedes@coco.thehackers.org> debian/changelog: merge with 0.5.1-2
ebian/changelog
b65bdc581f1ff747a53a1e2494d1cebb56453cb2 16-Dec-2008 Juan Cespedes <cespedes@debian.org> More fields to struct "options"

Substituted opt_* with options.indent, options.output
isplay_args.c
trace.c
ptions.c
ptions.h
utput.c
ummary.c
ysdeps/linux-gnu/sparc/trace.c
ce377d567ccc0b14693619b69ebe0ac6deb0ba90 16-Dec-2008 Juan Cespedes <cespedes@debian.org> Added global struct "options"

Substituted opt_* with options.align, options.user, options.syscalls,
options.libcalls, options.demangle
reakpoints.c
efs.h
xecute_program.c
trace.c
ptions.c
ptions.h
utput.c
rocess_event.c
ummary.c
f13505251e6402460f6cc7ec84e0d8ca91607b4f 16-Dec-2008 Juan Cespedes <cespedes@debian.org> Re-indent entry points to functions
reakpoints.c
ebug.c
emangle.c
ict.c
isplay_args.c
lf.c
xecute_program.c
trace.c
ptions.c
utput.c
roc.c
rocess_event.c
ead_config_file.c
ysdeps/linux-gnu/alpha/plt.c
ysdeps/linux-gnu/alpha/regs.c
ysdeps/linux-gnu/alpha/trace.c
ysdeps/linux-gnu/arm/breakpoint.c
ysdeps/linux-gnu/arm/plt.c
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/i386/plt.c
ysdeps/linux-gnu/i386/regs.c
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/ia64/breakpoint.c
ysdeps/linux-gnu/ia64/plt.c
ysdeps/linux-gnu/ia64/regs.c
ysdeps/linux-gnu/ia64/trace.c
ysdeps/linux-gnu/m68k/plt.c
ysdeps/linux-gnu/m68k/regs.c
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/mipsel/plt.c
ysdeps/linux-gnu/mipsel/regs.c
ysdeps/linux-gnu/mipsel/trace.c
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/ppc/regs.c
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/s390/plt.c
ysdeps/linux-gnu/s390/regs.c
ysdeps/linux-gnu/s390/trace.c
ysdeps/linux-gnu/sparc/plt.c
ysdeps/linux-gnu/sparc/regs.c
ysdeps/linux-gnu/sparc/trace.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/x86_64/plt.c
ysdeps/linux-gnu/x86_64/regs.c
ysdeps/linux-gnu/x86_64/trace.c
ait_for_something.c
7dd291227d81d3bc32c67e90fb7f7c51c76f39dd 16-Dec-2008 Juan Cespedes <cespedes@kermit.thehackers.org> Fix "ltrace -o -c"

* summary.c: Fix "ltrace -o -c"
* mkdist: rm -rf autom4te.cache
* debian/control.ini: re-added armel and armeb
hangeLog
ebian/control.in
kdist
ummary.c
28946486deb6eb8e50a14ad6dab7616d484c08ef 10-Dec-2008 Juan Cespedes <cespedes@debian.org> Version 0.5.1

Trying to simplify distribution a bit
hangeLog
NSTALL
akefile.in
ODO
utogen.sh
onfigure.ac
ebian/changelog
ebian/control.in
ebian/copyright
kdist
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
hangeLog
akefile.in
reakpoints.c
ebian/changelog
trace.c
trace.h
rocess_event.c
ysdeps/linux-gnu/Makefile
ysdeps/linux-gnu/arch_mksyscallent
ysdeps/linux-gnu/arm/Makefile
ysdeps/linux-gnu/arm/arch.h
ysdeps/linux-gnu/arm/arch_syscallent.h
ysdeps/linux-gnu/arm/breakpoint.c
ysdeps/linux-gnu/arm/ptrace.h
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/arm/trace.c
estsuite/ltrace.minor/Makefile.in
estsuite/ltrace.minor/trace-clone.c
ait_for_something.c
9c32e6f584737e5d3d7ece187e61d8ffd1da6e59 10-Dec-2008 Juan Cespedes <cespedes@debian.org> Updated year in copyright (2007 -> 2008)
EADME
ebian/copyright
ptions.c
55c5feba87bbb8d9190a71ec5ddc38380a384bf7 12-Mar-2008 Luis Machado <luisgpm@br.ibm.com> PPC argument handling improvements

* sysdeps/linux-gnu/ppc/trace.c (arch_umovelong): New function.
* sysdeps/linux-gnu/ppc/regs.c (get_instruction): New function.
(get_count_register): New function.
* sysdeps/linux-gnu/ppc/arch.h (ARCH_HAVE_UMOVELONG): New define.
* sysdeps/linux-gnu/trace.c (umovelong): Create arch-specific
variant.
* ltrace.h (umovelong): Change prototype.
* process_event.c (process_breakpoint): Handle specifics of ppc3
* display_args.c: Call umovelong with info parameter.
hangeLog
isplay_args.c
trace.h
rocess_event.c
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/regs.c
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/trace.c
a413e5b8880de643a83ad124d078091c0956fe1d 04-Sep-2007 Juan Cespedes <cespedes@debian.org> Take arg_num out of arg_type_info
hangeLog
EADME
reakpoints.c
ebug.c
ebug.h
isplay_args.c
lf.c
lf.h
tc/ltrace.conf
trace.c
trace.h
utput.c
rocess_event.c
ead_config_file.c
ysdeps/linux-gnu/alpha/trace.c
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/ia64/trace.c
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/mipsel/trace.c
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/s390/trace.c
ysdeps/linux-gnu/sparc/trace.c
ysdeps/linux-gnu/x86_64/trace.c
ait_for_something.c
aee093126654f722523b47848a0c5449e39cf4bb 31-Aug-2007 Juan Cespedes <cespedes@debian.org> Some random fixes

* General: Small fixes (indentation, typos, clean-up of code)
* ltrace.c: Close output file on exit
* ltrace.c: use getenf("HOME") instead of getpwuid(geteuid())->pw_dir
* read_config_file.c, display_args.c: remove "ignore" argtype;
that's what "void" is for
* packaging/debian/: misc fixes, sync with version 0.5-1
* etc/ltrace.conf: added more system calls
* testsuite/ltrace.minor/trace-clone.c: sleep(1) to avoid earlier
termination of process
* sysdeps/linux-gnu/trace.c: trace_pid(): reverted Petr's patch
to wait for child to stop, as it stopped following clone()
* process_event.c: Disable breakpoints before doing fork() (again!),
to make children work as expected
UGS
hangeLog
ODO
ebian/changelog
ebian/control.in
ebian/copyright
ebian/rules
ebug.c
ebug.h
isplay_args.c
tc/ltrace.conf
trace.1
trace.c
trace.h
ptions.c
ptions.h
roc.c
rocess_event.c
ead_config_file.c
ysdeps/linux-gnu/trace.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
estsuite/ltrace.minor/attach-process.exp
estsuite/ltrace.minor/count-record.exp
estsuite/ltrace.minor/demangle.exp
estsuite/ltrace.minor/print-instruction-pointer.exp
estsuite/ltrace.minor/time-record-T.exp
estsuite/ltrace.minor/time-record-tt.exp
estsuite/ltrace.minor/time-record-ttt.exp
estsuite/ltrace.minor/trace-clone.c
estsuite/ltrace.minor/trace-clone.exp
estsuite/ltrace.minor/trace-exec.exp
estsuite/ltrace.minor/trace-fork.exp
55ed83b24df9c6d671091a8c75caab33ffecd40e 17-May-2007 Petr Machata <pmachata@redhat.com> Fixes from Supriya Kannery <supriyak@in.ibm.com>

* wait_for_something.c, process_event.c: Tracing across exec.
* sysdeps/linux-gnu/trace.c, ltrace.h: New interface was_exec.
* testsuite/ltrace.minor/trace-exec.c,
testsuite/ltrace.minor/trace-exec.exp,
testsuite/ltrace.minor/trace-exec1.c: Testcase for same.
hangeLog
reakpoints.c
trace.h
rocess_event.c
ysdeps/linux-gnu/trace.c
estsuite/ltrace.minor/trace-exec.c
estsuite/ltrace.minor/trace-exec.exp
estsuite/ltrace.minor/trace-exec1.c
ait_for_something.c
ef46b3e70e54059a7a8bf32af7361bb262ccc8d1 09-May-2007 Petr Machata <pmachata@redhat.com> Interpret SIGILL, SIGEMT and SIGSEGV as valid breakpoint signals
hangeLog
estsuite/ltrace.torture/ia64-sigill.exp
estsuite/ltrace.torture/ia64-sigill.s
ait_for_something.c
89a536028ab3b699b7f953b6b0fd7607917fc303 25-Jan-2007 Petr Machata <pmachata@redhat.com> Fix -p and -L behavior

* wait for process to stop after PTRACE_ATTACH
* always initialize the breakpoint dictionary,
and thus avoid NULL dereference.
hangeLog
reakpoints.c
roc.c
ysdeps/linux-gnu/trace.c
1228a91e6560c5e5ac4fdd051adc9b34bf9fc047 28-Dec-2006 Eric Vaitl <evaitl@cisco.com> Added mipsel support
hangeLog
reakpoints.c
ebug.h
lf.c
lf.h
rocess_event.c
ysdeps/linux-gnu/mipsel/Doxyfile
ysdeps/linux-gnu/mipsel/Makefile
ysdeps/linux-gnu/mipsel/arch.h
ysdeps/linux-gnu/mipsel/mipsel.h
ysdeps/linux-gnu/mipsel/plt.c
ysdeps/linux-gnu/mipsel/ptrace.h
ysdeps/linux-gnu/mipsel/regs.c
ysdeps/linux-gnu/mipsel/signalent.h
ysdeps/linux-gnu/mipsel/syscallent.h
ysdeps/linux-gnu/mipsel/trace.c
07bc4d1b9f224f263e5b4a09d27a84ba3f04a606 30-Nov-2006 Petr Machata <pmachata@redhat.com> elf.c (elf_gnu_hash): renamed to private_elf_gnu_hash
hangeLog
lf.c
b3f8fef12fccb0914b7b28725f42192c279d31c9 30-Nov-2006 Petr Machata <pmachata@redhat.com> Fix .opd handling on IA64, few cleanups.
hangeLog
reakpoints.c
lf.c
ysdeps/linux-gnu/ia64/arch.h
ysdeps/linux-gnu/ppc/arch.h
e948e58fd295693a572355875acf536fa16ce2bb 12-Oct-2006 Olaf Hering <olh@suse.de> options.c: fix up typo for config file
hangeLog
ptions.c
03c087bc6eca8bea69be23c232e90e1a8e7fda39 25-Sep-2006 Olaf Hering <olh@suse.de> little SHT_GNU_HASH fixups
hangeLog
lf.c
lf.h
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
hangeLog
isplay_args.c
trace.h
utput.c
rocess_event.c
ead_config_file.c
ysdeps/README
ysdeps/linux-gnu/alpha/trace.c
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/ia64/trace.c
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/s390/trace.c
ysdeps/linux-gnu/sparc/trace.c
ysdeps/linux-gnu/x86_64/trace.c
a841f6592e75d78620ee9e645af22a58c9e3bbf9 15-Sep-2006 Olaf Hering <olh@suse.de> Some fixes...

* Makefile.in : allow installation as non-root user, print out
some debugging information before running test suite.
* summary.c : allow compilation without USE_DEMANGLE
* sysdeps/linux-gnu/ppc/plt.c : fix warning in sym2addr
* sysdeps/linux-gnu/ia64/regs.c : fix warning when finding
instruction slot
* elf.c : fix up error created in 2006-07-26 refactor
hangeLog
akefile.in
lf.c
ummary.c
ysdeps/linux-gnu/ia64/regs.c
ysdeps/linux-gnu/ppc/plt.c
761ef382780586bc052a1c0993f113f5a2b141f5 14-Aug-2006 Steve Fink <sphink@gmail.com> demangle.c: remove my_demagle_dict_clear()
hangeLog
emangle.c
e4b3263fb2b32eb5ee0f693fc223ed8c363fbd69 07-Aug-2006 Steve Fink <sphink@gmail.com> Add pointers to structs

* Allow parameters to be pointers to structs, which themselves
can contain (nearly) any other type, including other structs
or pointers to structs.
hangeLog
isplay_args.c
tc/ltrace.conf
trace.h
ead_config_file.c
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
1150bc4b812f0150e832607b8724b023d6d7d575 07-Aug-2006 Steve Fink <sphink@gmail.com> array arguments
hangeLog
efs.h
isplay_args.c
tc/ltrace.conf
trace.1
trace.h
ptions.c
ptions.h
ead_config_file.c
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
e22411dd33d2d55fd5c6510390954f13fd502d3a 07-Aug-2006 Steve Fink <sphink@gmail.com> add ability to typedef
hangeLog
tc/ltrace.conf
ead_config_file.c
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
6fa27c330f9e07c5be553614b9c6e2f08461780f 07-Aug-2006 Steve Fink <sphink@gmail.com> short, ushort and float types
hangeLog
isplay_args.c
tc/ltrace.conf
trace.h
ead_config_file.c
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
6a3e24dc1709530e59dd6ae3e91ced1c221fe1b9 07-Aug-2006 Steve Fink <sphink@gmail.com> implement enumerated parameters
hangeLog
isplay_args.c
tc/ltrace.conf
trace.h
ead_config_file.c
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
b2c254573fbf30189293be6b7f2ef307c499704c 07-Aug-2006 Steve Fink <sphink@gmail.com> update testsuite for new parameters
hangeLog
estsuite/ltrace.main/Makefile.in
estsuite/ltrace.main/parameters-lib.c
estsuite/ltrace.main/parameters.c
estsuite/ltrace.main/parameters.conf
estsuite/ltrace.main/parameters.exp
7bafff09cc66e23519512a54e2d1ebd3664a1a70 07-Aug-2006 Steve Fink <sphink@gmail.com> pass values instead of argument numbers to fetch
hangeLog
isplay_args.c
tc/ltrace.conf
trace.h
ead_config_file.c
ysdeps/README
ysdeps/linux-gnu/trace.c
6b17583208a9297a2e2054422399ec3265e38f8b 07-Aug-2006 Steve Fink <sphink@gmail.com> implement ignored arguments
hangeLog
isplay_args.c
tc/ltrace.conf
trace.h
ead_config_file.c
6a48a6d7f428cd7f0796477a3892603a83fcce99 07-Aug-2006 Steve Fink <sphink@gmail.com> implement string[argN] and string[N] parameter descriptors
hangeLog
isplay_args.c
tc/ltrace.conf
trace.h
ead_config_file.c
b0315a0acbd219de2c7f02228d7fda5c14fb47ef 07-Aug-2006 Steve Fink <sphink@gmail.com> prepare types for further changes
hangeLog
trace.h
utput.c
ead_config_file.c
3fc0189c9b07744f7c1224e1472a922495eb0139 07-Aug-2006 Steve Fink <sphink@gmail.com> testsuite/lib/ltrace.exp: better quoting and error detection
hangeLog
estsuite/lib/ltrace.exp
estsuite/ltrace.minor/count-record.exp
7ab8df1eda488624da126156c5533d2478a495d6 07-Aug-2006 Steve Fink <sphink@gmail.com> ltrace.1: update bug email addr
hangeLog
trace.1
4bfceddf0096d945e27baabf8edb52e43154c116 07-Aug-2006 Ian Wienand <ianw@ieee.org> elf.c: refactor opd2addr to not pass void* (fix warnings)
hangeLog
lf.c
7003feea8035a3c4ee661dc2556d158e9ba41d39 18-Jul-2006 Petr Machata <pmachata@redhat.com> Compile-time fixes for ppc32.
hangeLog
lf.c
ysdeps/linux-gnu/ppc/arch.h
35fe51898b3599000963ac4820bd43f967cc1e09 18-Jul-2006 Petr Machata <pmachata@redhat.com> .gnu.hash ELF support
hangeLog
lf.c
lf.h
28aab0a66f57a93581d805cf0875aced928310a2 18-Jul-2006 Petr Machata <pmachata@redhat.com> options.c: don't hardcode version number
hangeLog
ptions.c
2aa86bcd8a4429d1024e8612fa0b87a8452fd501 18-Jul-2006 Ian Wienand <ianw@ieee.org> preparing for new release
ebian/changelog
ebian/control.in
fda2c6f9add5cdb1cdb83774ccca6ec0e3cc5071 18-Jul-2006 Justin Pryzby <justinpryzby@users.sourceforge.net> ltrace.1: make demagle clearer
hangeLog
trace.1
58c73a7a905ddcb0521178c6fe8f693c6096612e 17-Jul-2006 Steve Fink <sphink@gmail.com> add -F option to read in config files
hangeLog
tc/ltrace.conf
trace.1
trace.c
ptions.c
ptions.h
c53309ef99c205a2e9ae7ccbdf6557adcd52d24e 19-Jun-2006 Ian Wienand <ianw@ieee.org> Version 0.5

update syscalls to 2.6.17
hangeLog
ysdeps/linux-gnu/arm/signalent.h
ysdeps/linux-gnu/arm/syscallent.h
ysdeps/linux-gnu/i386/signalent.h
ysdeps/linux-gnu/i386/syscallent.h
ysdeps/linux-gnu/ia64/signalent.h
ysdeps/linux-gnu/ia64/syscallent.h
ysdeps/linux-gnu/m68k/signalent.h
ysdeps/linux-gnu/m68k/syscallent.h
ysdeps/linux-gnu/mksyscallent
ysdeps/linux-gnu/s390/syscalls31.h
ysdeps/linux-gnu/s390/syscalls64.h
2fa4530b4300fdfbf977cd0bc3963be18c45cc30 16-Jun-2006 Ian Wienand <ianw@ieee.org> prepare for 0.5 release
ebian/changelog
1b98b34d709b20f61bc1197910921b173fa0d2b3 16-Jun-2006 Justin Pryzby <justinpryzby@users.sourceforge.net> spelling fixes
hangeLog
ODO
trace.1
76c61f15d7989bf7adffed2e46a44c34a80bd927 14-Jun-2006 Paul Gilliam <pgilliam@us.ibm.com> Added Paul Gilliam's secure PLT patch
hangeLog
reakpoints.c
onfigure.ac
lf.c
lf.h
trace.h
utput.c
rocess_event.c
ysdeps/linux-gnu/alpha/plt.c
ysdeps/linux-gnu/arm/plt.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/i386/plt.c
ysdeps/linux-gnu/ia64/plt.c
ysdeps/linux-gnu/m68k/plt.c
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/s390/plt.c
ysdeps/linux-gnu/sparc/plt.c
ysdeps/linux-gnu/x86_64/plt.c
dcbfb8ee67323014098df9fb5a535d1099e2e2ec 11-May-2006 Heiko Carstens <heiko.carstens@de.ibm.com> update s390 syscalls, add script
hangeLog
ysdeps/linux-gnu/README
ysdeps/linux-gnu/mksyscallent_s390
ysdeps/linux-gnu/s390/syscalls31.h
ysdeps/linux-gnu/s390/syscalls64.h
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
hangeLog
lf.c
trace.1
ptions.c
rocess_event.c
ysdeps/linux-gnu/alpha/arch.h
ysdeps/linux-gnu/arm/arch.h
ysdeps/linux-gnu/i386/arch.h
ysdeps/linux-gnu/ia64/arch.h
ysdeps/linux-gnu/m68k/arch.h
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/s390/arch.h
ysdeps/linux-gnu/sparc/arch.h
ysdeps/linux-gnu/x86_64/arch.h
3f1219f7803599df8556e7fc096a6a239f9a04fd 24-Apr-2006 Paul Gilliam <pgilliam@us.ibm.com> Adds some casts that keeps a more picky version of GCC happy.
hangeLog
lf.c
trace.h
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/trace.c
20212f80124d358e2f2f5fb74f4825f5389dcb05 24-Apr-2006 Paul Gilliam <pgilliam@us.ibm.com> summary.c: Correct a typo prevented the inclusion of "demangle.h"
hangeLog
ummary.c
2b2507aa5e8b681f247c01c20cd1a8421b09d538 07-Apr-2006 Paul Gilliam <pgilliam@us.ibm.com> Did not get type changed from opt_e_t to opt_x_t when making the -x fix.

Did so now.
lf.c
c93af498204f36700a95d2b67574f7234bbed98e 16-Mar-2006 Paul Gilliam <pgilliam@us.ibm.com> use __clone2() for ia64 clone test
hangeLog
estsuite/ltrace.minor/trace-clone.c
98d884bfd78ea7a37f46515c6e9e3635a95d8cbc 14-Mar-2006 Paul Gilliam <pgilliam@us.ibm.com> Add a dejagnu-based testsuite.
hangeLog
akefile.in
onfigure.ac
estsuite/Makefile.in
estsuite/README
estsuite/config/unix.exp
estsuite/lib/compiler.c
estsuite/lib/compiler.cc
estsuite/lib/ltrace.exp
estsuite/ltrace.main/Makefile.in
estsuite/ltrace.main/main-internal-1.c
estsuite/ltrace.main/main-internal.c
estsuite/ltrace.main/main-internal.exp
estsuite/ltrace.main/main-lib.c
estsuite/ltrace.main/main.c
estsuite/ltrace.main/main.exp
estsuite/ltrace.main/signals.c
estsuite/ltrace.main/signals.exp
estsuite/ltrace.main/system_calls.c
estsuite/ltrace.main/system_calls.exp
estsuite/ltrace.minor/Makefile.in
estsuite/ltrace.minor/attach-process.c
estsuite/ltrace.minor/attach-process.exp
estsuite/ltrace.minor/count-record.c
estsuite/ltrace.minor/count-record.exp
estsuite/ltrace.minor/demangle-lib.cpp
estsuite/ltrace.minor/demangle.cpp
estsuite/ltrace.minor/demangle.exp
estsuite/ltrace.minor/demangle.h
estsuite/ltrace.minor/print-instruction-pointer.c
estsuite/ltrace.minor/print-instruction-pointer.exp
estsuite/ltrace.minor/time-record-T.exp
estsuite/ltrace.minor/time-record-tt.exp
estsuite/ltrace.minor/time-record-ttt.exp
estsuite/ltrace.minor/time-record.c
estsuite/ltrace.minor/trace-clone.c
estsuite/ltrace.minor/trace-clone.exp
estsuite/ltrace.minor/trace-fork.c
estsuite/ltrace.minor/trace-fork.exp
estsuite/ltrace.torture/Makefile.in
estsuite/ltrace.torture/signals.c
estsuite/ltrace.torture/signals.exp
estsuite/run-my-tests.sh
e6e34943e6e228a14c73cae2eee28bc05a1513eb 13-Mar-2006 Paul Gilliam <pgilliam@us.ibm.com> Update ChangeLog for last change:

* options.h: New structure for opt_x list elements, now with 'found'.
* options.c: Use new opt_x_t structure, initializing 'found' to 0.
* elf.c: Use new 'found' field for better error checking.
hangeLog
24e643aceb96789baf3a6e2872807670f8dbf97a 13-Mar-2006 Paul Gilliam <pgilliam@us.ibm.com> fix the -x processing to get rid of bad waring.
lf.c
ptions.c
ptions.h
6b38367e9846783b7d3f54dd0f8cc7386349c2fe 05-Mar-2006 Ian Wienand <ianw@ieee.org> Version 0.4-1

make note of ppc64 support
ebian/changelog
ed223ed0bef28bfa23eec2c7e08694c88efaaefb 05-Mar-2006 Ian Wienand <ianw@ieee.org> add ppc64
ebian/control.in
c4c7694475a9bea27041f4fdd8a04030a8bf8eb0 05-Mar-2006 Ian Wienand <ianw@ieee.org> use -f flag for rm
akefile.in
48c37d15b392ffe2796a58c8e3ee62d3b0b2fa81 05-Mar-2006 Ian Wienand <ianw@ieee.org> remove autogen dirs from make dist

use rm not $(RM)
hangeLog
akefile.in
bb2b8c600d78a925013aef6f4994070660ee11e4 21-Feb-2006 Ian Wienand <ianw@ieee.org> update ChangeLog
hangeLog
9e749b89ef2ec95907e1d97fb3584b9b264170a0 21-Feb-2006 Ian Wienand <ianw@ieee.org> make make dist smarter
akefile.in
1a8366ba5940580394f7a82db912419e01f32b14 21-Feb-2006 Ian Wienand <ianw@ieee.org> update standards ver (3.6.2.2)
ebian/control.in
56fc690015b05ecbb35a7f01873cae16833a0e05 21-Feb-2006 Ian Wienand <ianw@ieee.org> fix up to other email addr
ebian/changelog
3af508c6637ba2b4c68ab332c1d700d6b57e170a 21-Feb-2006 Ian Wienand <ianw@ieee.org> remove not needed conffiles file
ebian/conffiles
5887deab511a89a5db1f1649bfd6578e6534ac20 21-Feb-2006 Ian Wienand <ianw@ieee.org> debian/compat: 4 -> 5
ebian/compat
db872d189c99b7e4f5bf70187cb209c5cb8125f0 21-Feb-2006 Ian Wienand <ianw@ieee.org> fix missing debian/compat file
ebian/compat
d75eb1116218c9b1e26a721cd37aad9a920c9a13 21-Feb-2006 Ian Wienand <ianw@ieee.org> update postal address in debian/copyright
ebian/copyright
d598c1fc62a75d64d7e532fdfbca62e8176b4f0d 21-Feb-2006 Ian Wienand <ianw@ieee.org> update FSF postal address
OPYING
cdade1c23720e66f945ceda1c476c5217d2e5f6c 21-Feb-2006 Ian Wienand <ianw@ieee.org> update README
hangeLog
EADME
cdc7f138c7a31e8c707be7aff39ffd83838906f7 21-Feb-2006 Ian Wienand <ianw@ieee.org> Bumped Debian Standards-Version to 3.6.2
ebian/control.in
e9cb050943a6b28b01b85da6ac180218bb0a6738 21-Feb-2006 Ian Wienand <ianw@ieee.org> typo
ummary.c
61ebaf794666ff48b79bd5ea9bc52158a3fd7375 21-Feb-2006 Ian Wienand <ianw@ieee.org> update to note rebase from redhat

* Rebase from RedHat 0.3.36-4.2 package. Forward port most
of the below changes that weren't already there. Bump version to
0.4. All changes from this point on should be reflected in this
file.
hangeLog
bf312a166ca648d5552b9aff0f2d226dc30602f6 20-Feb-2006 Ian Wienand <ianw@ieee.org> reference reportbug
trace.1
36cbccec77a07fd0017179993cbf3f68a937f18c 20-Feb-2006 Ian Wienand <ianw@ieee.org> Updated debian/changelog
ebian/changelog
5ba0f817dc5977dff1022a7eefc4d022e605824e 20-Feb-2006 Ian Wienand <ianw@ieee.org> bump version (0.4), I think it has had more than enough changes

point to alioth mailing list
onfigure.ac
67d3700d56fcee1914e17e80f9f0c901c11a674a 20-Feb-2006 Ian Wienand <ianw@ieee.org> start GNU style changelog
hangeLog
b14a6a3470cac8eb5832231a8ce33d5db899c849 20-Feb-2006 Ian Wienand <ianw@ieee.org> pass through some build flags

* add dist target that exports from currrent svn
akefile.in
bfdaacb835f3dbaed88242100bd8604b5fc7d67f 20-Feb-2006 Ian Wienand <ianw@ieee.org> make -c demangle names when used with -C
ummary.c
ee86a7327df10a561952d87ef521277ed1c20e4f 20-Feb-2006 Ian Wienand <ianw@ieee.org> putsenv -> putenv
tc/ltrace.conf
4128b9df402fe48dfd74b2cd21271a8b4bf22229 20-Feb-2006 Ian Wienand <ianw@ieee.org> fix up typos, add not on dlopened() libs
trace.1
2d45b1a8e26a36a9f85dc49e721c4390ca93dc40 20-Feb-2006 Ian Wienand <ianw@ieee.org> run Lindent over source to get everything looking about the same
reakpoints.c
ebug.c
ebug.h
efs.h
emangle.c
emangle.h
ict.c
ict.h
isplay_args.c
lf.c
lf.h
xecute_program.c
trace.c
trace.h
ptions.c
ptions.h
utput.c
utput.h
roc.c
rocess_event.c
ead_config_file.c
ead_config_file.h
ummary.c
ysdeps/linux-gnu/alpha/plt.c
ysdeps/linux-gnu/alpha/regs.c
ysdeps/linux-gnu/alpha/signalent.h
ysdeps/linux-gnu/alpha/syscallent.h
ysdeps/linux-gnu/alpha/trace.c
ysdeps/linux-gnu/arm/plt.c
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/arm/signalent.h
ysdeps/linux-gnu/arm/syscallent.h
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/i386/plt.c
ysdeps/linux-gnu/i386/regs.c
ysdeps/linux-gnu/i386/signalent.h
ysdeps/linux-gnu/i386/syscallent.h
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/ia64/breakpoint.c
ysdeps/linux-gnu/ia64/plt.c
ysdeps/linux-gnu/ia64/regs.c
ysdeps/linux-gnu/ia64/signalent.h
ysdeps/linux-gnu/ia64/syscallent.h
ysdeps/linux-gnu/ia64/trace.c
ysdeps/linux-gnu/m68k/plt.c
ysdeps/linux-gnu/m68k/regs.c
ysdeps/linux-gnu/m68k/signalent.h
ysdeps/linux-gnu/m68k/syscallent.h
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/ppc/regs.c
ysdeps/linux-gnu/ppc/signalent.h
ysdeps/linux-gnu/ppc/syscallent.h
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/s390/plt.c
ysdeps/linux-gnu/s390/regs.c
ysdeps/linux-gnu/s390/signalent.h
ysdeps/linux-gnu/s390/syscalls31.h
ysdeps/linux-gnu/s390/syscalls64.h
ysdeps/linux-gnu/s390/trace.c
ysdeps/linux-gnu/sparc/plt.c
ysdeps/linux-gnu/sparc/regs.c
ysdeps/linux-gnu/sparc/signalent.h
ysdeps/linux-gnu/sparc/syscallent.h
ysdeps/linux-gnu/sparc/trace.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/x86_64/plt.c
ysdeps/linux-gnu/x86_64/regs.c
ysdeps/linux-gnu/x86_64/signalent.h
ysdeps/linux-gnu/x86_64/syscallent.h
ysdeps/linux-gnu/x86_64/trace.c
ait_for_something.c
9a2ad351a1c3215dc596ff3e2e3fd4bc24445a6b 20-Feb-2006 Ian Wienand <ianw@ieee.org> Switched to SVN (initial import)
hangeLog
akefile.in
EADME
clocal.m4
reakpoints.c
onfig.guess
onfig.sub
onfigure.ac
ebian/copyright
ebug.c
ebug.h
emangle.c
ict.c
isplay_args.c
lf.c
lf.h
tc/ltrace.conf
xecute_program.c
nstall-sh
trace.1
trace.c
trace.h
trace.spec
ptions.c
ptions.h
utput.c
roc.c
rocess_event.c
ead_config_file.c
ummary.c
ysdeps/linux-gnu/Makefile
ysdeps/linux-gnu/alpha/arch.h
ysdeps/linux-gnu/alpha/plt.c
ysdeps/linux-gnu/alpha/regs.c
ysdeps/linux-gnu/alpha/trace.c
ysdeps/linux-gnu/arm/arch.h
ysdeps/linux-gnu/arm/plt.c
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/i386/arch.h
ysdeps/linux-gnu/i386/plt.c
ysdeps/linux-gnu/i386/regs.c
ysdeps/linux-gnu/i386/syscallent.h
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/ia64/arch.h
ysdeps/linux-gnu/ia64/plt.c
ysdeps/linux-gnu/ia64/syscallent.h
ysdeps/linux-gnu/ia64/trace.c
ysdeps/linux-gnu/m68k/arch.h
ysdeps/linux-gnu/m68k/plt.c
ysdeps/linux-gnu/m68k/regs.c
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/ppc/regs.c
ysdeps/linux-gnu/ppc/syscallent.h
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/s390/arch.h
ysdeps/linux-gnu/s390/plt.c
ysdeps/linux-gnu/s390/regs.c
ysdeps/linux-gnu/s390/signalent.h
ysdeps/linux-gnu/s390/signalent1.h
ysdeps/linux-gnu/s390/syscallent.h
ysdeps/linux-gnu/s390/syscallent1.h
ysdeps/linux-gnu/s390/syscalls31.h
ysdeps/linux-gnu/s390/syscalls64.h
ysdeps/linux-gnu/s390/trace.c
ysdeps/linux-gnu/sparc/arch.h
ysdeps/linux-gnu/sparc/plt.c
ysdeps/linux-gnu/sparc/regs.c
ysdeps/linux-gnu/sparc/syscallent.h
ysdeps/linux-gnu/sparc/trace.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/x86_64/arch.h
ysdeps/linux-gnu/x86_64/plt.c
ysdeps/linux-gnu/x86_64/regs.c
ysdeps/linux-gnu/x86_64/signalent1.h
ysdeps/linux-gnu/x86_64/syscallent.h
ysdeps/linux-gnu/x86_64/syscallent1.h
ysdeps/linux-gnu/x86_64/trace.c
ait_for_something.c
5570a7769869a4df25ef85f302f74a7feb6c0cd3 17-Feb-2006 Ian Wienand <ianw@ieee.org> Version 0.3.38-1

* Added ia64 port
* elf.h: add extra field for PLT size
* elf.c: put in PLT size
* sysdeps/linux-gnu/breakpoint.c: add arch breakpoint override
* sysdeps/linux-gnu/trace.c: don't single step after breakpoin for ia64
* configure.ac: add version to AC_INIT, bump version to 0.3.38
* options.c: use PACKAGE_VERSION
hangeLog
EADME
onfigure.ac
ebian/changelog
ebian/control.in
ebian/copyright
lf.c
lf.h
ptions.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/ia64/Makefile
ysdeps/linux-gnu/ia64/arch.h
ysdeps/linux-gnu/ia64/breakpoint.c
ysdeps/linux-gnu/ia64/plt.c
ysdeps/linux-gnu/ia64/ptrace.h
ysdeps/linux-gnu/ia64/regs.c
ysdeps/linux-gnu/ia64/signalent.h
ysdeps/linux-gnu/ia64/syscallent.h
ysdeps/linux-gnu/ia64/trace.c
ysdeps/linux-gnu/trace.c
52de129116a43dbaa7d64495d7bd2ae3390b3f0a 16-Feb-2006 Ian Wienand <ianw@ieee.org> Version 0.3.37-2

* Convert to use CDBS
* Use CDBS to build control; you need to run
DEB_AUTO_UPDATE_DEBIAN_CONROL=yes ./debian/rules clean
to make the control file if you checkout from CVS
* Remove autoconf from build-deps, fix up upstream dist target so we don't
need it.
hangeLog
akefile.in
ebian/changelog
ebian/control
ebian/control.in
e1cae5bc98bdc27e6915fce7b206093b654e4dab 16-Feb-2006 Ian Wienand <ianw@ieee.org> Version 0.3.37-1

* Non-maintainer upload
* Makefile.in: install documentation into share/doc
* Create non-native package.
* Add autoconf to build-deps
hangeLog
akefile.in
onfig.h.in
ebian/changelog
ebian/rules
35d233e30be3ffff698b1847fb7fc3fd28259357 16-Feb-2006 Rajeev V. Pillai <rajeevvp@yahoo.com> Makefile.in: pass through CPP and LD FLAGS
hangeLog
akefile.in
ebian/changelog
trace.1
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
hangeLog
akefile.in
reakpoints.c
ebian/changelog
ebug.c
emangle.c
ict.c
isplay_args.c
lf.c
xecute_program.c
trace.c
ptions.c
utput.c
roc.c
rocess_event.c
ead_config_file.c
ummary.c
ysdeps/linux-gnu/alpha/plt.c
ysdeps/linux-gnu/alpha/regs.c
ysdeps/linux-gnu/alpha/trace.c
ysdeps/linux-gnu/arm/plt.c
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/i386/plt.c
ysdeps/linux-gnu/i386/regs.c
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/m68k/plt.c
ysdeps/linux-gnu/m68k/regs.c
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/ppc/regs.c
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/s390/plt.c
ysdeps/linux-gnu/s390/regs.c
ysdeps/linux-gnu/s390/trace.c
ysdeps/linux-gnu/sparc/plt.c
ysdeps/linux-gnu/sparc/regs.c
ysdeps/linux-gnu/sparc/trace.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/x86_64/plt.c
ysdeps/linux-gnu/x86_64/regs.c
ysdeps/linux-gnu/x86_64/trace.c
ait_for_something.c
e1dd50cdd23a11bf7be6c81b3a2acbe35f19fdea 16-Feb-2006 Ian Wienand <ianw@ieee.org> Version 0.3.37.1

* Non-maintainer upload
* Start a "friendly takeover" from Juan
* Closes: #127503,#280608 -- update man page typos
* Closes: #339348 -- fix putenv typo in ltrace.conf
* Closes: #257903 -- incorporate variable length args patch
* See "upstream" ChangeLog for other changes (mostly warning fixes)
* Update README to point to Alioth home: http://ltrace.alioth.debian.org
hangeLog
akefile.in
ebian/changelog
ebian/control
ebug.c
ebug.h
ead_config_file.c
5df6269b86c84f9e5d311aeb142cfe85f8db8db8 16-Feb-2006 Richard Kettlewell <rjk@nchiper.com> update to handle variable length strings arguments
hangeLog
isplay_args.c
nstall-sh
trace.h
utput.c
ead_config_file.c
dab12d48f97776c2e35f6c6e25142df6daf8f7e8 16-Feb-2006 Colin S. Miller <csmiller@iname.com> Fixed some typos
hangeLog
tc/ltrace.conf
trace.1
458c00f658fec84d2c78dd3fbbb11d33ba8afba0 16-Feb-2006 Ian Wienand <ianw@ieee.org> Updated README
hangeLog
EADME
utogen.sh
onfig.guess
onfig.sub
ebian/copyright
cd4c267370f632506d609df1304a8ed25b2c58da 16-Feb-2006 Ian Wienand <ianw@debian.org> Switched to CVS
37b9b9f51c0473e8cb50c8b690f7547a50ff5252 10-Nov-2004 Juan Cespedes <cespedes@debian.org> Debian Release 0.3.36-2

* Corrected path for Debian changelog
ebian/changelog
ebian/rules
70d146049cd473654edebb1d5de45771d0732fa0 10-Nov-2004 Juan Cespedes <cespedes@debian.org> Debian Release 0.3.36-1

* Changed distribution to pristine source
* New Standards-Version (3.6.1)
* Fixed "--indent" option (closes: Bug#265185)
ebian/changelog
ebian/conffiles
ebian/control
ebian/copyright
ebian/rules
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
hangeLog
akefile.in
EADME
clocal.m4
onfig.h.in
onfigure
onfigure.ac
onfigure.in
ebian/changelog
ebian/conffiles
ebian/control
ebian/copyright
ebian/patches/0064bit.dpatch
ebian/patches/00list
ebian/patches/01elf-rewrite.dpatch
ebian/patches/02demangle.dpatch
ebian/patches/03syscallent-update.dpatch
ebian/rules
emangle.c
ict.c
isplay_args.c
lf.c
lf.h
tc/ltrace.conf
trace.h
trace.spec.in
ptions.c
ptions.h
utput.c
ead_config_file.c
ysdeps/linux-gnu/Makefile
ysdeps/linux-gnu/alpha/Makefile
ysdeps/linux-gnu/alpha/arch.h
ysdeps/linux-gnu/alpha/plt.c
ysdeps/linux-gnu/alpha/syscallent.h
ysdeps/linux-gnu/arm/Makefile
ysdeps/linux-gnu/arm/arch.h
ysdeps/linux-gnu/arm/plt.c
ysdeps/linux-gnu/i386/Makefile
ysdeps/linux-gnu/i386/arch.h
ysdeps/linux-gnu/i386/plt.c
ysdeps/linux-gnu/i386/syscallent.h
ysdeps/linux-gnu/m68k/Makefile
ysdeps/linux-gnu/m68k/arch.h
ysdeps/linux-gnu/m68k/plt.c
ysdeps/linux-gnu/ppc/Makefile
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/plt.c
ysdeps/linux-gnu/ppc/syscallent.h
ysdeps/linux-gnu/s390/Makefile
ysdeps/linux-gnu/s390/arch.h
ysdeps/linux-gnu/s390/plt.c
ysdeps/linux-gnu/s390/syscallent.h
ysdeps/linux-gnu/sparc/Makefile
ysdeps/linux-gnu/sparc/arch.h
ysdeps/linux-gnu/sparc/plt.c
ysdeps/linux-gnu/sparc/syscallent.h
ysdeps/linux-gnu/x86_64/Makefile
ysdeps/linux-gnu/x86_64/arch.h
ysdeps/linux-gnu/x86_64/ffcheck.c
ysdeps/linux-gnu/x86_64/plt.c
ysdeps/linux-gnu/x86_64/syscallent.h
337ea4581657020f6e9ae93e30cb4a7ddd993903 22-Oct-2004 Andrew Pollock <apollock@debian.org> Version 0.3.35.1

* Non-maintainer upload
* Applied patch from Jakub Jelinek <jakub@redhat.com> to fix problems
* with
binaries built with recent binutils (closes: #274955)
* Applied patch from Jakub Jelinek to add long/ulong types to
* ltrace.conf
for amd64
* Applied patch from Jakub Jelinek to fix -C
* Applied patch from Jakub Jelinek to update syscallent.h
* debian/control: build-depend on dpatch and libelfg0-dev
* debian/rules: add dpatch support
* debian/changelog: convert to utf-8
onfig.h.in
onfigure
ebian/changelog
ebian/control
ebian/patches/0064bit.dpatch
ebian/patches/00list
ebian/patches/01elf-rewrite.dpatch
ebian/patches/02demangle.dpatch
ebian/patches/03syscallent-update.dpatch
ebian/rules
5464e8d9900fd098f197e58df4a5d99c1217d20c 16-Jul-2004 Juan Cespedes <cespedes@debian.org> Version 0.3.35

* Fixed include line in m68k, caused build problems
ebian/changelog
ysdeps/linux-gnu/m68k/regs.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)
EADME
ebian/changelog
ebian/control
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/m68k/regs.c
ysdeps/linux-gnu/ppc/regs.c
ysdeps/linux-gnu/s390/regs.c
ysdeps/linux-gnu/sparc/regs.c
ysdeps/linux-gnu/x86_64/regs.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
EADME
ODO
ebian/changelog
ebian/control
ebian/copyright
ebian/postinst
ebian/prerm
ebian/rules
isplay_args.c
lf.c
trace.1
trace.h
ptions.c
utput.c
roc.c
rocess_event.c
ysdeps/linux-gnu/alpha/Makefile
ysdeps/linux-gnu/alpha/arch.h
ysdeps/linux-gnu/alpha/ptrace.h
ysdeps/linux-gnu/alpha/regs.c
ysdeps/linux-gnu/alpha/signalent.h
ysdeps/linux-gnu/alpha/syscallent.h
ysdeps/linux-gnu/alpha/trace.c
ysdeps/linux-gnu/arm/ptrace.h
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/i386/ptrace.h
ysdeps/linux-gnu/i386/regs.c
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/m68k/ptrace.h
ysdeps/linux-gnu/m68k/regs.c
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/ppc/ptrace.h
ysdeps/linux-gnu/ppc/regs.c
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/s390/ptrace.h
ysdeps/linux-gnu/s390/regs.c
ysdeps/linux-gnu/s390/trace.c
ysdeps/linux-gnu/sparc/Makefile
ysdeps/linux-gnu/sparc/arch.h
ysdeps/linux-gnu/sparc/ptrace.h
ysdeps/linux-gnu/sparc/regs.c
ysdeps/linux-gnu/sparc/signalent.h
ysdeps/linux-gnu/sparc/syscallent.h
ysdeps/linux-gnu/sparc/trace.c
ysdeps/linux-gnu/trace.c
ysdeps/linux-gnu/x86_64/ptrace.h
ysdeps/linux-gnu/x86_64/regs.c
ysdeps/linux-gnu/x86_64/trace.c
ait_for_something.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
ODO
ebian/changelog
ebian/copyright
ict.c
isplay_args.c
lf.c
lf.h
tc/ltrace.conf
trace.1
trace.h
trace.spec.in
pt_c.c
ptions.c
rocess_event.c
ead_config_file.c
ysdeps/README
ysdeps/linux-gnu/arm/arch.h
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/ppc/arch.o
ysdeps/linux-gnu/ppc/regs.o
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/ppc/trace.o
ysdeps/linux-gnu/s390/Makefile
ysdeps/linux-gnu/s390/regs.c
ysdeps/linux-gnu/s390/syscallent.h
ysdeps/linux-gnu/s390/trace.c
ysdeps/linux-gnu/x86_64/Makefile
ysdeps/linux-gnu/x86_64/arch.h
ysdeps/linux-gnu/x86_64/ffcheck.c
ysdeps/linux-gnu/x86_64/regs.c
ysdeps/linux-gnu/x86_64/signalent.h
ysdeps/linux-gnu/x86_64/syscallent.h
ysdeps/linux-gnu/x86_64/trace.c
504a385858a49352bcfceca444ba4f1a7bfd20cd 04-Feb-2003 Juan Cespedes <cespedes@debian.org> Version 0.3.31

* Added a lot of functions to ltrace.conf,
thanks to Jakub Jelinek <jakub@redhat.com> (closes: Bug#144518)
* Fixed off-by-one problem in checking syscall number
* Removed some warnings
ebian/changelog
tc/ltrace.conf
xecute_program.c
trace.c
trace.h
roc.c
rocess_event.c
ummary.c
ysdeps/linux-gnu/i386/regs.c
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/trace.c
d65efa37b1fd73305ce4469841dc760514d74202 03-Feb-2003 Juan Cespedes <cespedes@debian.org> Version 0.3.30

* Implemented -T option (show time spent inside each call)
* Alphabetically sort options in help and manual page
* Added -c option (summary of calls on program exit)
akefile.in
ebian/changelog
trace.1
trace.c
trace.h
pt_c.c
ptions.c
ptions.h
utput.c
rocess_event.c
ummary.c
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
ODO
reakpoints.c
ebian/changelog
efs.h
ict.c
tc/ltrace.conf
trace.1
trace.c
ptions.c
utput.c
ysdeps/linux-gnu/arm/syscallent.h
ysdeps/linux-gnu/i386/syscallent.h
ysdeps/linux-gnu/m68k/syscallent.h
ysdeps/linux-gnu/ppc/syscallent.h
ysdeps/linux-gnu/s390/syscallent.h
7186e2af704f4458e6383e8a92482594db29b597 31-Jan-2003 Juan Cespedes <cespedes@debian.org> Version 0.3.28

* Fixed memory corruption when using execve() in a traced program
(closes: Bug#160341, Bug#165626)
reakpoints.c
ebian/changelog
ict.c
trace.h
ptions.c
roc.c
rocess_event.c
cac15c3f170b5ec2cc6304c8c0763a78103e1778 31-Jan-2003 Juan Cespedes <cespedes@debian.org> Version 0.3.27

* Removed dependency on libdl (it is no longer needed)
* Wrote generic dictionary, used in demangle.c and breakpoints.c
* Added debug.c for better debugging output
UGS
akefile.in
EADME
reakpoints.c
onfig.h.in
onfigure
onfigure.in
ebian/changelog
ebian/control
ebian/copyright
ebian/rules
ebug.c
ebug.h
emangle.c
ict.c
ict.h
lf.c
xecute_program.c
trace.c
trace.h
ptions.c
roc.c
rocess_event.c
ead_config_file.c
ait_for_something.c
de5a7eb873c05a698e4267b554e25124dc92e7f4 31-Mar-2002 Juan Cespedes <cespedes@debian.org> Version 0.3.26

* Fixed `ltrace -L' in powerpc
EADME
reakpoints.c
ebian/changelog
ptions.c
5bfb061c4c7cfac6e1882a586cf36c849d95fcea 31-Mar-2002 Juan Cespedes <cespedes@debian.org> Version 0.3.25

* Finally added powerpc support (Anton Blanchard <anton@samba.org>)
EADME
reakpoints.c
ebian/changelog
ebian/control
ebian/copyright
ptions.c
rocess_event.c
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/regs.c
ysdeps/linux-gnu/ppc/syscallent.h
ysdeps/linux-gnu/ppc/trace.c
f1bfe203f5f1c0e11a614f9d593a68406f5cb47e 27-Mar-2002 Juan Cespedes <cespedes@debian.org> Version 0.3.24

* Fixed 2 minor buffer overflows (closes: Bug#130746)
* Obey --prefix, --sysconfdir, --mandir options in configure
* Adding powerpc support (doesn't work yet)
(Anton Blanchard <anton@linuxcare.com.au>)
akefile.in
EADME
ODO
reakpoints.c
ebian/changelog
ebian/copyright
ebian/rules
trace.c
trace.spec.in
ptions.c
rocess_event.c
ysdeps/linux-gnu/ppc/Makefile
ysdeps/linux-gnu/ppc/arch.h
ysdeps/linux-gnu/ppc/arch.o
ysdeps/linux-gnu/ppc/regs.c
ysdeps/linux-gnu/ppc/regs.o
ysdeps/linux-gnu/ppc/signalent.h
ysdeps/linux-gnu/ppc/syscallent.h
ysdeps/linux-gnu/ppc/trace.c
ysdeps/linux-gnu/ppc/trace.o
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...)
ebian/changelog
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/i386/regs.c
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/m68k/regs.c
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/s390/regs.c
ysdeps/linux-gnu/s390/trace.c
ysdeps/linux-gnu/trace.c
96c3fd0c58f7f57a0d8b317ba9b43dffc03a18a1 03-Mar-2002 Juan Cespedes <cespedes@debian.org> Version 0.3.22

* S/390: Removed extra target in sysdeps/linux-gnu/s390 which avoided
compiling...
ebian/changelog
ebian/copyright
ysdeps/linux-gnu/s390/Makefile
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
ebian/changelog
trace.spec
ptions.h
ysdeps/linux-gnu/Makefile
ysdeps/linux-gnu/arm/Makefile
ysdeps/linux-gnu/arm/arch.h
ysdeps/linux-gnu/arm/breakpoint.c
ysdeps/linux-gnu/breakpoint.c
ysdeps/linux-gnu/i386/Makefile
ysdeps/linux-gnu/i386/breakpoint.c
ysdeps/linux-gnu/m68k/Makefile
ysdeps/linux-gnu/m68k/arch.h
ysdeps/linux-gnu/m68k/breakpoint.c
ysdeps/linux-gnu/s390/arch.h
ysdeps/linux-gnu/s390/breakpoint.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>)
akefile.in
EADME
onfig.guess
onfig.h.in
onfig.sub
onfigure
onfigure.in
ebian/changelog
ebian/control
ebian/copyright
trace.1
trace.spec
trace.spec.in
ptions.c
rocess_event.c
ysdeps/linux-gnu/Makefile
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/s390/Makefile
ysdeps/linux-gnu/s390/arch.h
ysdeps/linux-gnu/s390/breakpoint.c
ysdeps/linux-gnu/s390/regs.c
ysdeps/linux-gnu/s390/signalent.h
ysdeps/linux-gnu/s390/syscallent.h
ysdeps/linux-gnu/s390/trace.c
6ff816fb8f8c76f9f603ca0ce006e8f980950db6 01-Mar-2002 Juan Cespedes <cespedes@debian.org> Version: 0.3.19

* Fixed small bug: "<unifinished...>" lines were sometimes incorrectly
displayed
* Added new functions to /etc/ltrace.conf (thanks to James R. Van Zandt
<jrv@vanzandt.mv.com>) (closes: Bug#91349)
ODO
ebian/changelog
tc/ltrace.conf
trace.spec
utput.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...)
reakpoints.c
ebian/changelog
ebian/control
emangle.c
isplay_args.c
lf.c
xecute_program.c
trace.c
trace.spec
ptions.c
utput.c
roc.c
rocess_event.c
ead_config_file.c
ysdeps/linux-gnu/arm/breakpoint.c
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/arm/syscallent.h
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/i386/regs.c
ysdeps/linux-gnu/i386/syscallent.h
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/m68k/breakpoint.c
ysdeps/linux-gnu/m68k/regs.c
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.c
5916fda0d07da90cac8a78cbfa73374d81b150be 25-Feb-2002 Juan Cespedes <cespedes@debian.org> Version: 0.3.17

* Added a bit more debugging
* Fixed display of return address in nested functions
* Added posibility to exit from a function different from the last
* called
one (this fixes "ltrace gnome-terminal", for example)
ODO
ebian/changelog
trace.spec
utput.c
rocess_event.c
ysdeps/linux-gnu/i386/breakpoint.c
ysdeps/linux-gnu/trace.c
53eabb1effd85e837bb2c5a43acd5a66712e5184 10-Dec-2001 Juan Cespedes <cespedes@debian.org> Version: 0.3.16

* 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)
ebian/changelog
ebian/control
tc/ltrace.conf
trace.spec
rocess_event.c
3f0b62e9df224dbdc20a8fa91afe8a0c81a230e9 09-Jul-2001 Juan Cespedes <cespedes@debian.org> Version: 0.3.15

* Fixed `-n' option so that it displays correct output even when
tracing several processes
ebian/changelog
trace.spec
utput.c
rocess_event.c
21c63a1469bc049d93444b8a15afd685ee251392 07-Jul-2001 Juan Cespedes <cespedes@debian.org> Version: 0.3.14

* Assume a syscall is always immediatly followed by a sysret
in i386 (fixes bug which prevented ltrace to work properly
in any program using signals); I will have to rethink all
this and fix it correctly or port it to non-i386 archs
* Fixed -n option: now it is done in output.c (this still has
problems when tracing more than one process at a time)
cconfig.h
ebian/changelog
trace.1
trace.spec
ptions.c
utput.c
utput.h
rocess_event.c
ysdeps/linux-gnu/i386/breakpoint.c
ysdeps/linux-gnu/i386/trace.c
ait_for_something.c
76040edfd4a9a4cf49ef5b9e0a9a9e28660ae444 03-Jul-2001 Juan Cespedes <cespedes@debian.org> Version: 0.3.13

* Fixed "ltrace -i", broken since version 0.3.11
ODO
ebian/changelog
trace.h
trace.spec
rocess_event.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)
EADME
ebian/changelog
ebian/copyright
lf.c
lf.h
trace.1
trace.h
trace.spec
ptions.c
utput.c
ysdeps/linux-gnu/arm/signalent.h
ysdeps/linux-gnu/arm/syscallent.h
ysdeps/linux-gnu/i386/signalent.h
ysdeps/linux-gnu/i386/syscallent.h
ysdeps/linux-gnu/m68k/signalent.h
ysdeps/linux-gnu/m68k/syscallent.h
ysdeps/linux-gnu/mksyscallent
ait_for_something.c
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)
ODO
reakpoints.c
ebian/changelog
ebian/control
ebian/copyright
ebian/rules
lf.c
tc/ltrace.conf
trace.1
trace.c
trace.h
trace.spec
ptions.c
ptions.h
utput.c
utput.h
roc.c
rocess_event.c
ead_config_file.c
ysdeps/linux-gnu/arm/breakpoint.c
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/i386/breakpoint.c
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/m68k/breakpoint.c
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/trace.c
2f93d96a05b3d2b38a777ff0333e803cc84f8feb 23-Dec-1999 Juan Cespedes <cespedes@debian.org> Version: 0.3.10

* Added C++ demangle (again)
* Added correct Build-Depends
ebian/changelog
ebian/control
trace.spec
9efdbb7fe77c7723fb467802ed0123d6c0fcd4c4 23-Dec-1999 Juan Cespedes <cespedes@debian.org> Version: 0.3.9

* New Standards-Version (3.1.1)
* Fixed Lintian bugs
onfig.h.in
onfigure
onfigure.in
ebian/changelog
ebian/control
ebian/postinst
ebian/prerm
ebian/rules
tc/ltrace.conf
trace.spec
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.in
EADME
onfig.guess
onfig.sub
onfigure
onfigure.in
ebian/changelog
ebian/control
ebian/copyright
ebian/rules
emangle.c
emangle.h
lf.c
tc/ltrace.conf
trace.spec
ptions.c
utput.c
ead_config_file.c
ysdeps/Linux/Makefile
ysdeps/Linux/README
ysdeps/Linux/arm/Makefile
ysdeps/Linux/arm/arch.h
ysdeps/Linux/arm/breakpoint.c
ysdeps/Linux/arm/regs.c
ysdeps/Linux/arm/signalent.h
ysdeps/Linux/arm/syscallent.h
ysdeps/Linux/arm/trace.c
ysdeps/Linux/i386/Makefile
ysdeps/Linux/i386/arch.h
ysdeps/Linux/i386/breakpoint.c
ysdeps/Linux/i386/regs.c
ysdeps/Linux/i386/signalent.h
ysdeps/Linux/i386/syscallent.h
ysdeps/Linux/i386/trace.c
ysdeps/Linux/m68k/Makefile
ysdeps/Linux/m68k/arch.h
ysdeps/Linux/m68k/breakpoint.c
ysdeps/Linux/m68k/regs.c
ysdeps/Linux/m68k/signalent.h
ysdeps/Linux/m68k/syscallent.h
ysdeps/Linux/m68k/trace.c
ysdeps/Linux/mksignalent
ysdeps/Linux/mksyscallent
ysdeps/Linux/proc.c
ysdeps/Linux/trace.c
ysdeps/linux-gnu/Makefile
ysdeps/linux-gnu/README
ysdeps/linux-gnu/arm/Makefile
ysdeps/linux-gnu/arm/arch.h
ysdeps/linux-gnu/arm/breakpoint.c
ysdeps/linux-gnu/arm/regs.c
ysdeps/linux-gnu/arm/signalent.h
ysdeps/linux-gnu/arm/syscallent.h
ysdeps/linux-gnu/arm/trace.c
ysdeps/linux-gnu/i386/Makefile
ysdeps/linux-gnu/i386/arch.h
ysdeps/linux-gnu/i386/breakpoint.c
ysdeps/linux-gnu/i386/regs.c
ysdeps/linux-gnu/i386/signalent.h
ysdeps/linux-gnu/i386/syscallent.h
ysdeps/linux-gnu/i386/trace.c
ysdeps/linux-gnu/m68k/Makefile
ysdeps/linux-gnu/m68k/arch.h
ysdeps/linux-gnu/m68k/breakpoint.c
ysdeps/linux-gnu/m68k/regs.c
ysdeps/linux-gnu/m68k/signalent.h
ysdeps/linux-gnu/m68k/syscallent.h
ysdeps/linux-gnu/m68k/trace.c
ysdeps/linux-gnu/mksignalent
ysdeps/linux-gnu/mksyscallent
ysdeps/linux-gnu/proc.c
ysdeps/linux-gnu/trace.c
e3eb9aa37086f16c0c8c2778dcd8020a39a92564 03-Apr-1999 Juan Cespedes <cespedes@debian.org> Version: 0.3.7

* Minor fixes
* Added minor patch from Alex Buell <alex.buell@tahallah.demon.co.uk>
to be able to compile under glibc 2.1
* Additions to config file from David Dyck <dcd@tc.fluke.com>
* Clean-up Makefile a bit
* Changed `LT_PT_*' with `ARGTYPE_*'
* Display '\\' instead of '\'
* Updated list of syscalls and signals to linux-2.2.5
* Compiled against glibc-2.1
akefile.in
EADME
ODO
ebian/changelog
ebian/copyright
ebian/rules
isplay_args.c
lf.c
tc/ltrace.conf
xecute_program.c
trace.1
trace.h
trace.spec
ptions.c
utput.c
ead_config_file.c
ysdeps/Linux/README
ysdeps/Linux/arm/signalent.h
ysdeps/Linux/arm/syscallent.h
ysdeps/Linux/i386/signalent.h
ysdeps/Linux/i386/syscallent.h
ysdeps/Linux/m68k/signalent.h
ysdeps/Linux/m68k/syscallent.h
ysdeps/Linux/m68k/syscallent.h-
ysdeps/Linux/mksignalent
ysdeps/Linux/mksyscallent
ysdeps/Linux/mksyscalls
ysdeps/Linux/sparc/Makefile
ysdeps/Linux/sparc/arch.h
ysdeps/Linux/sparc/breakpoint.c
ysdeps/Linux/sparc/regs.c
ysdeps/Linux/sparc/signalent.h
ysdeps/Linux/sparc/syscallent.h
ysdeps/Linux/sparc/trace.c
ysdeps/Linux/trace.c
ysdeps/README
d44c6b8b090b8b7aa9d971d9e0bfd848732a3071 25-Sep-1998 Juan Cespedes <cespedes@debian.org> Version: 0.3.6

* Added m68k port (Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>) (Bug#27075)
* Changed "int pid" with "pid_t pid" everywhere
* Fixed return type of some functions from "int" to "void *" (thanks, Roman)
UGS
EADME
reakpoints.c
ebian/changelog
ebian/control
ebian/copyright
emangle.h
isplay_args.c
lf.c
xecute_program.c
trace.1
trace.c
trace.h
roc.c
rocess_event.c
ead_config_file.c
ysdeps/Linux/arm/arch.h
ysdeps/Linux/arm/breakpoint.c
ysdeps/Linux/arm/regs.c
ysdeps/Linux/arm/syscallent.h
ysdeps/Linux/arm/trace.c
ysdeps/Linux/i386/arch.h
ysdeps/Linux/i386/breakpoint.c
ysdeps/Linux/i386/regs.c
ysdeps/Linux/i386/syscallent.h
ysdeps/Linux/i386/trace.c
ysdeps/Linux/m68k/Makefile
ysdeps/Linux/m68k/arch.h
ysdeps/Linux/m68k/breakpoint.c
ysdeps/Linux/m68k/regs.c
ysdeps/Linux/m68k/signalent.h
ysdeps/Linux/m68k/syscallent.h
ysdeps/Linux/m68k/syscallent.h-
ysdeps/Linux/m68k/trace.c
ysdeps/Linux/mksyscalls
ysdeps/Linux/proc.c
ysdeps/Linux/sparc/arch.h
ysdeps/Linux/sparc/breakpoint.c
ysdeps/Linux/sparc/regs.c
ysdeps/Linux/sparc/syscallent.h
ysdeps/Linux/sparc/trace.c
ait_for_something.c
8e3e082c27716245619721207cd5067d8c6271f9 24-Sep-1998 Juan Cespedes <cespedes@debian.org> Version: 0.3.5

* Added ARMLinux port (Pat Beirne <pbeirne@home.com>) (Bug#27040)
* Fixed minor things in options.c
UGS
EADME
ebian/changelog
ebian/control
ebian/copyright
trace.1
trace.spec
ptions.c
ysdeps/Linux/Makefile
ysdeps/Linux/arm/Makefile
ysdeps/Linux/arm/arch.h
ysdeps/Linux/arm/breakpoint.c
ysdeps/Linux/arm/regs.c
ysdeps/Linux/arm/signalent.h
ysdeps/Linux/arm/syscallent.h
ysdeps/Linux/arm/trace.c
f666d191986d3b342cfa8b2e96ed90a49edf4303 20-Sep-1998 Juan Cespedes <cespedes@debian.org> Version: 0.3.4

* Added "ltrace.spec" to build a .rpm binary file.
* Added "-r" option
hangeLog
akefile.in
onfigure
onfigure.in
ebian/changelog
ebian/rules
tc/ltrace.conf
trace.1
trace.spec
ptions.c
ptions.h
utput.c
370c8e68abbb8fb80959d9132ebb0fadd6b5e1ed 06-Sep-1998 Juan Cespedes <cespedes@debian.org> Version: 0.3.3

* Fixed a little bug in display_string
* A few more functions added to /etc/ltrace.conf
ODO
ebian/changelog
isplay_args.c
tc/ltrace.conf
64c6dfbb936b476b0e674901831c9c4dafb975a5 14-Jul-1998 Juan Cespedes <cespedes@debian.org> Version: 0.3.2

* Make the output line-buffered (Bug#22874)
* New Standards-Version (2.4.1)
* Make it compile cleanly with glibc 2.0.7
ebian/changelog
ebian/control
ptions.c
ysdeps/Linux/i386/regs.c
ysdeps/Linux/i386/trace.c
666da8b03c6ba375606fff621f8dc4866a818531 29-Apr-1998 Juan Cespedes <cespedes@debian.org> Version: 0.3.1

* setgid programs had their uid and gid swapped! Fixed.
ebian/changelog
tc/ltrace.conf
xecute_program.c
ac3db297f7c6f08b02a7edfb32e441875fd7c1d7 25-Apr-1998 Juan Cespedes <cespedes@debian.org> Version: 0.3.0

* Preliminary autoconf support
* Switched to getopt()
* New option: -C (demangle C++ names)
* New options: --help, --version
* Display "format" (printf-like) argument types
* Updated manual page
* New option: -e
akefile
akefile.in
ODO
cconfig.h
onfig.h.in
onfigure
onfigure.in
ebian/changelog
ebian/copyright
ebian/rules
emangle.c
emangle.h
isplay_args.c
tc/ltrace.conf
nstall-sh
trace.1
trace.c
ptions.c
ptions.h
utput.c
roc.c
28f60197b93b45422a73e5d1a6aa581584d6c4a5 12-Apr-1998 Juan Cespedes <cespedes@debian.org> Version 0.2.9

* Bug#20616 wasn't completely fixed; it didn't work with some programs (Fixed)
* Stopping ltrace with ^C DIDN'T WORK if -p option is not used!! (Fixed)
* Option -f caused program to segfault; fixed
* Fixed nasty bug about executing set[ug]id binaries:
When executing a program fails, don't left the program STOPPED.
* Make ltrace work with all setuid and setgid binaries when invoked as root
UGS
akefile
ODO
onfig_file.c
onfig_file.h
ebian/changelog
ebian/rules
tc/ltrace.conf
xecute_program.c
trace.c
trace.h
utput.c
rocess_event.c
ead_config_file.c
ead_config_file.h
ait_for_something.c
5e0acdb26c98f0d95a5266e579669b5c19eb02ce 04-Apr-1998 Juan Cespedes <cespedes@debian.org> Version: 0.2.8

* Fix important bug regarding -p: disable all breakpoints on exit (Bug#20616)
* Compile cleanly on libc5
* Added `-t' option (Bug#20615)
ODO
reakpoints.c
ebian/changelog
tc/ltrace.conf
trace.1
trace.c
ptions.c
ptions.h
utput.c
rocess_event.c
ysdeps/Linux/i386/regs.c
ysdeps/Linux/i386/trace.c
35d70634aacdf85a3cdf85792ce68989e27bc9c2 15-Mar-1998 Juan Cespedes <cespedes@debian.org> Version 0.2.7

* Some minor fixes
UGS
ODO
ebian/changelog
tc/ltrace.conf
trace.h
roc.c
rocess_event.c
ysdeps/Linux/i386/trace.c
ait_for_something.c
273ea6d18164e35ee40524e853a6f04706d3bdff 14-Mar-1998 Juan Cespedes <cespedes@debian.org> Version 0.2.6

* Option `-f' now works (but it fails to attach some processes...)
* Output is now more similar to strace's
UGS
akefile
ODO
ebian/changelog
tc/ltrace.conf
trace.c
trace.h
utput.c
roc.c
rocess_event.c
ysdeps/Linux/proc.c
ysdeps/Linux/trace.c
81690ef1a83d7a093daaebc1a87cdb9ec6f74589 13-Mar-1998 Juan Cespedes <cespedes@debian.org> Version 0.2.5

* After a successful execve(), library calls are now logged
* Enhanced displaying of non-printable chars
* Added some functions to /etc/ltrace.conf
UGS
ODO
ebian/changelog
isplay_args.c
tc/ltrace.conf
trace.1
trace.h
utput.c
rocess_event.c
ysdeps/Linux/trace.c
1fe93d5b55ad2b8d4009a63e343db19cc1f21bb0 13-Mar-1998 Juan Cespedes <cespedes@debian.org> Version 0.2.4

* Option `-p' now works (but programs fail when ltrace is interrupted)
UGS
K
akefile
ODO
ebian/changelog
tc/ltrace.conf
trace.c
trace.h
ptions.c
rocess_event.c
ysdeps/Linux/Makefile
ysdeps/Linux/proc.c
ysdeps/Linux/trace.c
2c4a8cbb737f8752e100f8905bd23c4029c83f83 11-Mar-1998 Juan Cespedes <cespedes@debian.org> Version 0.2.3

* Don't display `...' in strings when limit of bytes is reached
* Added some functions to /etc/ltrace.conf
K
ODO
ebian/changelog
isplay_args.c
tc/ltrace.conf
f0fdae9e2444c2fb7764774088c574ab53c787f4 11-Mar-1998 Juan Cespedes <cespedes@debian.org> Version 0.2.2

* After a successful execve(), syscalls are now correctly logged
UGS
onfig_file.c
ebian/changelog
trace.h
rocess_event.c
ysdeps/Linux/i386/trace.c
ait_for_something.c
e188705c4f1c5c8e377c2438114a99acaeaf8a3a 10-Mar-1998 Juan Cespedes <cespedes@debian.org> Version 0.2.1

* Added -u option (run command as other username)
* Updated manual page a bit
K
ODO
ebian/changelog
xecute_program.c
trace.1
ptions.c
ptions.h
5e01f654d83a95f2acffa86df57a4c2db9b0cae9 08-Mar-1998 Juan Cespedes <cespedes@debian.org> Version 0.2.0

* First Debian unstable release
* Complete re-structured all the code to be able to add support for
different architectures (but only i386 arch is supported in this
version)
* Log also return values
* Log arguments (and return values) for syscalls
* Added preliminary support for various simultaneous processes
* getopt-like options
* New option: -a (alignment column)
* New option: -L (don't display library calls)
* New option: -s (maximum # of chars in strings)
* Now it reads config files with function names and parameter types
* Programs using clone() should work ok now
* debian/rules: gzipped only big files in /usr/doc/ltrace
* Debian: New Standards-Version: 2.4.0.0
* beginning to work on sparc port (not yet done)
UGS
OPYING
K
akefile
EADME
HOUGHTS
ODO
ll.h
reakpoints.c
onfig_file.c
onfig_file.h
ebian/changelog
ebian/conffiles
ebian/control
ebian/copyright
ebian/rules
efs.h
isplay_args.c
lf.c
lf.h
tc/ltrace.conf
tc/ltrace.rc
xecute_program.c
unctions.c
unctions.h
386.c
386.h
trace.1
trace.c
trace.h
ptions.c
ptions.h
utput.c
utput.h
rocess.c
rocess.h
rocess_event.c
ignal.c
ignal.h
ymbols.c
ymbols.h
yscall.c
yscall.h
ysdeps/Linux/Makefile
ysdeps/Linux/i386/Makefile
ysdeps/Linux/i386/arch.h
ysdeps/Linux/i386/breakpoint.c
ysdeps/Linux/i386/regs.c
ysdeps/Linux/i386/signalent.h
ysdeps/Linux/i386/syscallent.h
ysdeps/Linux/i386/trace.c
ysdeps/Linux/sparc/Makefile
ysdeps/Linux/sparc/arch.h
ysdeps/Linux/sparc/breakpoint.c
ysdeps/Linux/sparc/regs.c
ysdeps/Linux/sparc/signalent.h
ysdeps/Linux/sparc/syscallent.h
ysdeps/Linux/sparc/trace.c
ysdeps/Linux/trace.c
ests/execl
ests/execl.c
ests/fork
ests/fork.c
ests/hello
ests/hello.c
ests/int
ests/int.c
ests/kill
ests/kill.c
ests/kill.s
ests/kill2
ests/kill2.o
ests/kill2.s
ests/kill3.o
ests/kill3.s
ests/trap
ests/trap.c
ait_for_something.c
c40e64afa6a897bb7eb6fd4dc21f622632ae215a 26-Oct-1997 Juan Cespedes <cespedes@debian.org> Version 0.1.7

* Debian: New Standards-Version (2.3.0.1)
* Clean up structures a bit
* Trying to log return values...
HOUGHTS
ll.h
ebian/changelog
lf.c
386.c
386.h
trace.h
utput.c
rocess.c
rocess.h
ymbols.c
ymbols.h
64e793b75491217a25c20fab874c87e994cbb8bd 11-Sep-1997 Juan Cespedes <cespedes@debian.org> Version 0.1.6

* Use <cespedes@debian.org> as maintainer address
* Some clean-ups
EADME
ODO
ebian/changelog
ebian/control
ebian/copyright
ebian/rules
tc/ltrace.rc
trace.1
rocess.c
23658aa159730be559201e7e25fdade5853efa0e 27-Aug-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.1.5

* `command' is now searched in the PATH
ODO
ebian/changelog
trace.c
3268a165cbb4d5b63d2cd7d9e63ccffc40d969e1 25-Aug-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.1.4

* Updated execute_process()
* No longer uses signals to wait for children. Should be a little faster.
* Now every function uses output.c:send_*() instead of `FILE * output'
UGS
EADME
ODO
ebian/changelog
lf.c
unctions.c
386.c
trace.1
trace.c
utput.c
rocess.c
rocess.h
5e4455bffd7cd5c4a948ce7f7f4be9da55c67fb4 24-Aug-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.1.3

* Added options `-i', `-S'
* Added syscall names
* Added signal names
* Added `output.c', `signal.c'
akefile
ODO
ebian/changelog
trace.1
trace.c
trace.h
utput.c
utput.h
rocess.c
rocess.h
ignal.c
ignal.h
yscall.c
1afec6996a994ac3734dad50e925437da064647a 23-Aug-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.1.2

* Updated ``TODO''
* Added process.c:execute_process
* Added i386.c:type_of_stop
* Hopefully, system dependent stuff is now only in i386.[ch] and process.[ch]
* `-d' can now be used many times: many levels of debug
* removed breakpoint for children detecting fork()s.
Now, *every* program should work ok
* struct process now also has a field for the process filename
* Added "syscall.c" with a list of system call names in Linux/i386
akefile
EADME
ODO
ebian/changelog
ebian/copyright
lf.c
386.c
386.h
trace.1
trace.c
trace.h
rocess.c
rocess.h
ymbols.h
yscall.c
yscall.h
ests/execl
ests/execl.c
ef04ba484536ab0517fabbbbf4bfbb32c249453b 22-Aug-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.1.1

* Added "BUGS", "TODO"
* Added symbols.c:disable_all_breakpoints
* Added ``process.[ch]'': init_sighandler, pid2proc
* Removed ``trace.c''
* Added rudimentary support for multiple processes
* Now tracing syscalls (fork() needs a special treatment)
UGS
akefile
ODO
ebian/changelog
ebian/rules
386.c
386.h
trace.c
rocess.c
rocess.h
ymbols.c
ymbols.h
ests/execl
ests/execl.c
ests/fork
ests/fork.c
ests/hello
ests/hello.c
ests/int
ests/int.c
ests/kill
ests/kill.c
ests/kill.s
ests/kill2
ests/kill2.o
ests/kill2.s
ests/kill3.o
ests/kill3.s
ests/trap
ests/trap.c
race.c
race.h
07461b65ef8d6795f09f799cbb83929577223a58 22-Aug-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.1.0

* Some clean-ups
* Added simple manual page
akefile
EADME
ebian/changelog
ebian/rules
unctions.c
unctions.h
386.c
386.h
trace.1
trace.c
ymbols.h
race.c
c9a48b96c47fb70ff3126c866809a3ce664a5756 17-Aug-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.0.1997.08.15

New file: symbols.c
akefile
ebian/changelog
ebian/conffiles
ebian/rules
lf.c
386.c
386.h
trace.c
ymbols.c
ymbols.h
race.c
race.h
6ddb1da004135b85d4c0d0b5bd523f93024db162 11-Aug-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.0.1997.08.10
OPYING
akefile
ebian/changelog
ebian/copyright
ebian/rules
trace.c
96935a9fe2af57e089cbd2e32a69caba5b3f2458 09-Aug-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.0.1997.08.09

* Added Debian files
* Re-structured most of the code; new files: elf.c, i386.c, trace.c
* Added README
* Renamed "functions.cfg" to "etc/ltrace.rc"
K
akefile
EADME
ebian/changelog
ebian/control
ebian/copyright
ebian/rules
lf.c
lf.h
tc/ltrace.rc
unctions.c
unctions.cfg
unctions.h
unctions.o
386.c
386.h
trace
trace.c
trace.h
trace.o
race.c
race.h
5b2f98182fc7fbf909f45a766b62a8eaa229eed3 17-Jul-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.0.1997.07.17

Added configuration file: functions.cfg
K
akefile
EADME
unctions.c
unctions.cfg
unctions.h
unctions.o
trace
trace.c
trace.o
24c8253c7bdb2f069f0320f1a6109402720f6d44 25-Jun-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.0.1997.06.25

I think I've found the optimal format for config files:
C prototypes! For example:
void * malloc(unsigned int size);
EADME
unctions.c
unctions.h
unctions.o
trace
trace.c
trace.o
d3ac65fdee629adf2a429cd9987022f0bd141dfa 16-Jun-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.0.1997.06.16
akefile
unctions.c
unctions.o
trace
trace.c
trace.o
155a408d0ab713ca4d5110ffaeb09199d7bd781a 11-Jun-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.0.1997.06.11
trace
trace.c
ad7836215eecdc6700b2207f2c6b8294936bbe39 10-Jun-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.0.1997.06.10
akefile
akefile2
EADME
trace
trace.c
1c2be91d7491940c8f8edea251b10bfca704771b 09-Jun-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.0.1997.06.09

Completely new approach: use software breakpoints (INT 3, CC) in process
using ptrace(), just like gdb and strace do
akefile
akefile2
EADME
nclude/hck/ctype.h
nclude/hck/syscall.h
ib/libtrace.so.1
trace.c
rc/libtrace/Makefile
rc/libtrace/TODO
rc/libtrace/atoi.c
rc/libtrace/bcopy.c
rc/libtrace/getenv.c
rc/libtrace/init_libtrace-old.c
rc/libtrace/init_libtrace.c
rc/libtrace/libtrace.c
rc/libtrace/libtrace.s
rc/libtrace/print_results-old.c
rc/libtrace/print_results.c
rc/libtrace/printf.c
rc/libtrace/sprintf.c
rc/libtrace/strcat.c
rc/libtrace/strcmp.c
rc/libtrace/strlen.c
rc/libtrace/strncmp.c
rc/libtrace/strnlen.c
rc/libtrace/unsetenv.c
rc/libtrace/vsprintf.c
rc/ltrace/Makefile
rc/ltrace/ltrace.c
rc/test/Makefile
rc/test/hacks.c
rc/test/kk.c
rc/test/kk.s
rc/test/kk.so
rc/test/libtest.c
rc/test/libtest.s
rc/test/show-elf.c
bda1dbf1cc9db66580f5afd58195d27e8edcf94b 01-May-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.0.1997.05.01
ib/libtrace.so.1
rc/libtrace/init_libtrace.c
2e30b822baec77a8464b3719919cb1313685c0c2 23-Apr-1997 Juan Cespedes <cespedes@thehackers.org> Version 1997.04.23

Compile with debugging info
ib/libtrace.so.1
rc/libtrace/Makefile
rc/libtrace/init_libtrace.c
c9dcf60e5ad9964fb930910f1b2a519bb7053d7c 21-Apr-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.0.1997.04.21

Use section 'ctors' to initialize libtrace.
There are no exported functions anymore.
EADME
nclude/hck/syscall.h
ib/libtrace.so.1
rc/libtrace/Makefile
rc/libtrace/TODO
rc/libtrace/init_libtrace-old.c
rc/libtrace/init_libtrace.c
rc/libtrace/libtrace.c
rc/libtrace/print_results-old.c
rc/libtrace/printf.c
rc/libtrace/vsprintf.c
rc/ltrace/ltrace.c
802aa0ac85d59f97db6621db12865058c9549ba0 17-Apr-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.0.1997.04.17
ib/libtrace.so.1
rc/libtrace/TODO
rc/libtrace/init_libtrace.c
rc/libtrace/print_results.c
562c710d35406481be1c52ff2acf7200d2e85e6f 16-Apr-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.0.1997.04.16
ib/libtrace.so.1
rc/libtrace/TODO
rc/libtrace/init_libtrace.c
rc/libtrace/print_results.c
aa584fbcce20ee35175ad29a12875afb19b3ca01 06-Apr-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.0.1997.04.06
ib/libtrace.so.1
rc/libtrace/Makefile
rc/libtrace/init_libtrace.c
rc/libtrace/libtrace.c
rc/libtrace/print_results.c
rc/libtrace/unsetenv.c
f784be2640e2c27d337e1ad2ea4471e80057434f 04-Apr-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.0.1997.04.04
ib/libtrace.so.1
rc/libtrace/Makefile
rc/libtrace/__setfpucw.c
rc/libtrace/init_libtrace.c
rc/libtrace/libtrace.c
rc/libtrace/libtrace.s
rc/libtrace/print_results.c
rc/test/Makefile
rc/test/kk.c
rc/test/kk.s
rc/test/kk.so
rc/test/libtest.c
rc/test/libtest.s
rc/test/show-elf.c
rc/test/test.c
aee9b3e407b31f236cf60462f00e918c77381dae 01-Apr-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.0.1997.04.01
ib/libtrace.so.1
rc/libtrace/init_libtrace.c
rc/libtrace/print_results.c
e2ca89923bc7207583b8688f8f0c11e77c23f8c1 29-Mar-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.0.1997.03.29
nclude/hck/syscall.h
ib/libtrace.so.1
rc/libtrace/Makefile
rc/libtrace/__setfpucw.c
rc/libtrace/atoi.c
rc/libtrace/bcopy.c
rc/libtrace/getenv.c
rc/libtrace/init_libtrace.c
rc/libtrace/libtrace.c
rc/libtrace/print_results.c
rc/libtrace/sprintf.c
rc/libtrace/strcat.c
rc/libtrace/strcmp.c
rc/libtrace/strlen.c
rc/libtrace/strncmp.c
rc/libtrace/strnlen.c
rc/libtrace/vsprintf.c
rc/ltrace/ltrace.c
1519dd0c0d81a2de425403593ffb0da8b245ef82 28-Mar-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.0.1997.03.27
akefile
ib/libtrace.so.1
rc/Makefile
rc/__setfpucw.c
rc/init_libtrace.c
rc/libtrace/Makefile
rc/libtrace/__setfpucw.c
rc/libtrace/init_libtrace.c
rc/ltrace/Makefile
rc/ltrace/ltrace.c
rc/test/Makefile
rc/test/hacks.c
rc/test/test.c
est/Makefile
est/hacks.c
est/test.c
est/test2
est/test2.c
f77decfea4b4c666bbf1d5d56426e70e729fd060 26-Mar-1997 Juan Cespedes <cespedes@thehackers.org> Version 0.0.1997.03.26
akefile
EADME
nclude/hck/ctype.h
nclude/hck/syscall.h
rc/Makefile
rc/__setfpucw.c
rc/init_libtrace.c
est/Makefile
est/hacks.c
est/test.c
est/test2
est/test2.c