History log of /external/ltrace/handle_event.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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.
/external/ltrace/handle_event.c
e7746d3a8916449630893e7b08374b6de0e4f5b6 30-Oct-2013 Petr Machata <pmachata@redhat.com> If breakpoint_get_return_bp yields NULL breakpoint, don't try to add it
/external/ltrace/handle_event.c
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.
/external/ltrace/handle_event.c
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.
/external/ltrace/handle_event.c
b94407705ecddffd7820ee61bcad3f0d72ee87c1 14-Oct-2013 Petr Machata <pmachata@redhat.com> Split part of delete_breakpoint into delete_breakpoint_at
/external/ltrace/handle_event.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.
/external/ltrace/handle_event.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.
/external/ltrace/handle_event.c
02a796e5e49c147982020c78b0066930e979f3e4 11-Oct-2013 Petr Machata <pmachata@redhat.com> Rename insert_breakpoint to insert_breakpoint_at
/external/ltrace/handle_event.c
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.
/external/ltrace/handle_event.c
f9d93c50bd246ea7fd42e0c8ad24aa01467e76ac 30-Jan-2013 Petr Machata <pmachata@redhat.com> Fix tracing Thumb mode on ARM

- Drop what amounts to global variable thumb_mode from struct process
- Thumb mode is encoded to address. That means that the code in
callstack_push_symfunc and insert_breakpoint has to assume that
what comes from get_return_address is mangled, and needs to go
through creating the breakpoint and then looking at its address.
That's awkward, and we should come up with a better API.
/external/ltrace/handle_event.c
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.
/external/ltrace/handle_event.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.
/external/ltrace/handle_event.c
9978de4b7dace794a7e353fdf9985114fada5add 08-Jan-2013 Petr Machata <pmachata@redhat.com> Put asserts to branches of handle_event switch where this ought to hold
/external/ltrace/handle_event.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.
/external/ltrace/handle_event.c
057caa59fc0063bd73568b0ae19bbf668b572737 30-Jan-2013 Petr Machata <pmachata@redhat.com> Introduce continue_after_exec

This needs to be handled differently on non-Linux platforms.
/external/ltrace/handle_event.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.
/external/ltrace/handle_event.c
7c4d311cdfd0bc3594abeb79ed30a36ac6f12597 09-Dec-2012 Petr Machata <pmachata@redhat.com> Don't rely on availability of strsignal
/external/ltrace/handle_event.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.
/external/ltrace/handle_event.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>
/external/ltrace/handle_event.c
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>
/external/ltrace/handle_event.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>
/external/ltrace/handle_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>
/external/ltrace/handle_event.c
8ae3673880056b5da0bf9a5fbf9b37276adae56e 30-Apr-2012 Petr Machata <pmachata@redhat.com> Fix memory errors
/external/ltrace/handle_event.c
1e0b9dc0d527afddab645232658bd67e19ad81b0 28-Apr-2012 Petr Machata <pmachata@redhat.com> Pass proper TOF value to backend fetch_return_value
/external/ltrace/handle_event.c
ba1664b062414481d0f37d06bb01a19874c8d481 28-Apr-2012 Petr Machata <pmachata@redhat.com> Fix compilation
/external/ltrace/handle_event.c
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.
/external/ltrace/handle_event.c
642626096a694c6af279d25d2b1b2fba5b10ddfb 07-Jan-2012 Petr Machata <pmachata@redhat.com> Add backend.h for backend interfaces
/external/ltrace/handle_event.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
/external/ltrace/handle_event.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.
/external/ltrace/handle_event.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.
/external/ltrace/handle_event.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.
/external/ltrace/handle_event.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.
/external/ltrace/handle_event.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.
/external/ltrace/handle_event.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.)
/external/ltrace/handle_event.c
9e1e969838d9cc520abb96038aa98520c08c80b9 19-Apr-2012 Petr Machata <pmachata@redhat.com> Fix rebase fallout
/external/ltrace/handle_event.c
218c5ff26841f5bbd188c42ccbd67422a7a20556 15-Apr-2012 Petr Machata <pmachata@redhat.com> Nits
/external/ltrace/handle_event.c
3d0c91c0c7b425e2866f9c65f655d399693328a5 14-Apr-2012 Petr Machata <pmachata@redhat.com> Fixes for tracing across exec
/external/ltrace/handle_event.c
70619b0e59cdb5a7cea81c1eaea751cc9daaa7e9 14-Apr-2012 Petr Machata <pmachata@redhat.com> Drop unused include
/external/ltrace/handle_event.c
9847abed1f8a4d01466e9c2a6011b59ea11f6d2f 14-Apr-2012 Petr Machata <pmachata@redhat.com> Change a comment
/external/ltrace/handle_event.c
4e6c437e54f8308f12c4b09dd38515a0e9b895c6 13-Apr-2012 Petr Machata <pmachata@redhat.com> Drop dead code for breakpoint cloning
/external/ltrace/handle_event.c
cb39a404fcf944e0ae6ec58da9e0448bf49ff290 13-Apr-2012 Petr Machata <pmachata@redhat.com> Wait for initial event from process after exec
/external/ltrace/handle_event.c
ebfe7d6facfed331239a641b5ac9e5281108c288 13-Apr-2012 Petr Machata <pmachata@redhat.com> Improve debug messages in handle_event
/external/ltrace/handle_event.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
/external/ltrace/handle_event.c
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
/external/ltrace/handle_event.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
/external/ltrace/handle_event.c
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
/external/ltrace/handle_event.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
/external/ltrace/handle_event.c
db30b10a6af9b206ac829b9003db9c9600120986 28-Mar-2012 Petr Machata <pmachata@redhat.com> Fix compilation on ppc64
/external/ltrace/handle_event.c
9df15016447915a61526af8cb81c588913bcf44c 20-Feb-2012 Petr Machata <pmachata@redhat.com> Remove "enable" flag from insert_breakpoint
/external/ltrace/handle_event.c
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
/external/ltrace/handle_event.c
e6523e69b0230fef8dddbf628e0511a004203eb8 24-Mar-2012 Petr Machata <pmachata@redhat.com> Don't require target library as part of symbol init
/external/ltrace/handle_event.c
be04d6b478ecc51902f34672e4c3c1516d502c23 24-Mar-2012 Petr Machata <pmachata@redhat.com> Drop library_symbol.is_weak
/external/ltrace/handle_event.c
464026f85d934c858602cd5a620b48173a179131 02-Mar-2012 Petr Machata <pmachata@redhat.com> remove_proc shouldn't free proc itselt

- because this is reciprocal to add_process
/external/ltrace/handle_event.c
29add4fdf852b10ddd22cac0d1390f6d01577bc2 18-Feb-2012 Petr Machata <pmachata@redhat.com> Support bias, display library name on breakpoint

- syscall support very hacky right now
/external/ltrace/handle_event.c
2b46cfc1127d390eddd9593fe5ce5399c1f68130 18-Feb-2012 Petr Machata <pmachata@redhat.com> The first crude version of tracing across libraries

- the patch will be sliced later
/external/ltrace/handle_event.c
366c2f46d844f040458df9b7e35fc3b8527ed2d3 09-Feb-2012 Petr Machata <pmachata@redhat.com> Move process-related functions and structures to proc.h
/external/ltrace/handle_event.c
92acf752a592f7c4ce60d99914d9ccb59f8119eb 07-Feb-2012 Petr Machata <pmachata@redhat.com> Another PPC-related bit to remove
/external/ltrace/handle_event.c
bc37326ace5c70e57928c000162cffbcca9afb77 07-Feb-2012 Petr Machata <pmachata@redhat.com> Remove Breakpoint typedef
/external/ltrace/handle_event.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.
/external/ltrace/handle_event.c
02648a119092bb5b64918063521237f257283c72 07-Feb-2012 Petr Machata <pmachata@redhat.com> Drop most of start-up magic and use startup callback instead
/external/ltrace/handle_event.c
a9fd8f45e97edc629bdc218d95ce0d0a9e3de401 07-Feb-2012 Petr Machata <pmachata@redhat.com> Add callbacks to breakpoints
/external/ltrace/handle_event.c
9294d82f67e20f5f2b61f317ad04f5cb717c7d27 07-Feb-2012 Petr Machata <pmachata@redhat.com> Create breakpoint.h with decls related to breakpoints
/external/ltrace/handle_event.c
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).
/external/ltrace/handle_event.c
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.
/external/ltrace/handle_event.c
ffe4cd25089680daf1bd1ec0114d177ec3e0cf95 11-Apr-2012 Petr Machata <pmachata@redhat.com> Handle detach from sleeping or unresponsive processes
/external/ltrace/handle_event.c
fed1e8d33ab050df892a88110e1a316d285ee650 07-Feb-2012 Petr Machata <pmachata@redhat.com> Cleanups
/external/ltrace/handle_event.c
c185affc3b88d93f78847e5188969dc70105e449 09-Nov-2011 Petr Machata <pmachata@redhat.com> Leader might be stopped at this point
/external/ltrace/handle_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.
/external/ltrace/handle_event.c
ba9911f3603473791163bf11dd1c59503faa4ff1 27-Sep-2011 Petr Machata <pmachata@redhat.com> Fix interplay between vfork and threads
/external/ltrace/handle_event.c
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.
/external/ltrace/handle_event.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
/external/ltrace/handle_event.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_.
/external/ltrace/handle_event.c
75dcf7d73b6c19f7aeb932e4cb5e251b316a6c69 06-Oct-2011 Petr Machata <pmachata@redhat.com> Don't share arch_ptr on process clone
/external/ltrace/handle_event.c
602330f458e8049ec07685c4e02f0368821a2d2c 09-Jul-2011 Petr Machata <pmachata@redhat.com> Handle multi-threaded attach/detach gracefully
/external/ltrace/handle_event.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
/external/ltrace/handle_event.c
4007d74c2435ce4b50305d64ffe831627f989335 09-Jul-2011 Petr Machata <pmachata@redhat.com> Facility for custom event handler
/external/ltrace/handle_event.c
9a5420c82a2fd81681572a2e3859ea1671c3bded 09-Jul-2011 Petr Machata <pmachata@redhat.com> Add a concept of tasks and leader thread
/external/ltrace/handle_event.c
cebb88491e68bdf4d466b03970c9ca77f65615f8 09-Jul-2011 Petr Machata <pmachata@redhat.com> Conceal the list of processes behind an interface
/external/ltrace/handle_event.c
c7585b60235268e1f62bd91c5f040ef6df6e0ef3 08-Jul-2011 Petr Machata <pmachata@redhat.com> Add argument that defines whether we should enable breakpoints
/external/ltrace/handle_event.c
f789c9c0d1f3301afad66e5f0520b9093665f242 09-Jul-2011 Petr Machata <pmachata@redhat.com> Pass Process * instead of pid to a couple functions
/external/ltrace/handle_event.c
2662768efe599f6bb43c4310177e30f56b601bb7 08-Jul-2011 Petr Machata <pmachata@redhat.com> Coding style nits
/external/ltrace/handle_event.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>
/external/ltrace/handle_event.c
f0bd98b3e6753d8609a3054a61f2df6f9cdac10a 09-Nov-2010 Joe Damato <ice799@gmail.com> Add support for tracing functions in libraries loaded at runtime (via libdl).
/external/ltrace/handle_event.c
067322dc1737817000d646440a2b061fdf1c9f40 25-Oct-2010 Petr Machata <pmachata@redhat.com> Fix tracing on ppc
/external/ltrace/handle_event.c
211f0886c5aeceebacb44e3ae84d6b8f931cedf2 03-Nov-2010 Petr Machata <pmachata@redhat.com> Fix output of return arguments in nested calls on x86_64
/external/ltrace/handle_event.c
59e3fb19c861f963270e81fc77fd497961ed5d49 07-Nov-2009 Joe Damato <ice799@gmail.com> Add -b, --no-signals to silence signal print outs.
/external/ltrace/handle_event.c
fa2aefc32eb4196966a14d1e7def931652f40d46 31-Oct-2010 Joe Damato <ice799@gmail.com> Merge -g option which avoids tracing libraries linked at compile time.
/external/ltrace/handle_event.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>
/external/ltrace/handle_event.c
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>
/external/ltrace/handle_event.c
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>
/external/ltrace/handle_event.c
f670eea50e959eeb9da53d70cad8d43c19494ef0 25-Jul-2009 Juan Cespedes <cespedes@coco.thehackers.org> Finally got rid of GNU's Autoconf stuff
/external/ltrace/handle_event.c
61da33723c5fb09762e38bd39a26ee15d62ffebc 03-Jul-2009 Juan Cespedes <cespedes@coco.thehackers.org> Added different callback handlers for each event
/external/ltrace/handle_event.c
8d1b92ba755f6d6229f5e230fc43d958b13836f8 03-Jul-2009 Juan Cespedes <cespedes@coco.thehackers.org> Some minor fixes
/external/ltrace/handle_event.c
03192f890af95bf9abf5ea1c3dc0998f6b12550d 03-Jul-2009 Juan Cespedes <cespedes@coco.thehackers.org> fixed configure.ac, renamed process_event -> handle_event
/external/ltrace/handle_event.c