]> granicus.if.org Git - strace/commit
Output format fixes, improving the situation after recent
authorDenys Vlasenko <dvlasenk@redhat.com>
Tue, 6 Jan 2009 21:45:06 +0000 (21:45 +0000)
committerDenys Vlasenko <dvlasenk@redhat.com>
Tue, 6 Jan 2009 21:45:06 +0000 (21:45 +0000)
commitef2fbf856cf775981b52278c80ce2a74a44019f4
treeaf98ffe7b109b97cfe6ba38cd5800cb7ae29fa4c
parent30b5e5ab67ad13a37cb2b010332c2b434d887fe2
Output format fixes, improving the situation after recent
change which added better handling of processes suddenly
disappearing. Now we often do not finish last line
before exiting in those cases.
The only change affecting something other than output
is change in umovestr where we were calling
abort() on ptrace error.

* strace.c (trace): If trace_syscall() failed with ESRCH,
finish current output line with " <unfinished ...>".
(mp_ioctl): While we are at it, fix gross style mismatch
in this function definition. No code chages.
* syscall.c (trace_syscall): If decode fails on syscall exit,
finish current output line with "= ? <unavailable>".
* util.c (umoven): Do not complain if error is ESRCH.
(umovestr): Do not complain and do not abort() if error is ESRCH.
* defs.h: Remove unused tcp parameter from printtrailer().
* process.c: Adjust printtrailer() calls accordingly.
* strace.c: Adjust printtrailer() calls accordingly.
* syscall.c: Adjust printtrailer() calls accordingly.
ChangeLog
defs.h
process.c
strace.c
syscall.c
util.c