diff options
author | Juan Cespedes <cespedes@debian.org> | 2009-04-07 13:10:08 +0200 |
---|---|---|
committer | Juan Cespedes <cespedes@debian.org> | 2009-04-07 13:10:08 +0200 |
commit | 43739a69d0fb63011609af50f758fbe4734e0c67 (patch) | |
tree | 2d15099466a84f4e63c5344f3a848c376e90c1ae | |
parent | e2023f721b66db48cc8a0f4ab6519460093c2cf1 (diff) | |
download | ltrace-43739a69d0fb63011609af50f758fbe4734e0c67.tar.gz |
Documentation, small fixes
-rw-r--r-- | BUGS | 4 | ||||
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | debug.h | 2 | ||||
-rw-r--r-- | options.c | 2 |
4 files changed, 7 insertions, 3 deletions
@@ -3,3 +3,7 @@ * Doesn't work with threads * Doesn't do inter-library calls (BP is in the executable's PLT) * It lacks support for several Linux archs, and many operating systems +* 2008-12-29: this line in config file does not work (2nd argument not used): + string setlocale(enum(LC_ALL=6), string); +* 2009-04-07 fork() and clone() are not always followed +* 2009-04-07 ltrace segfaults when killed with SIGTERM @@ -1,7 +1,5 @@ -* fork(), clone() does not work sometimes * EVENT_FORK, EVENT_EXEC instead of fork_p() and exec_p() * Get rid of EVENT_ARCH_SYSCALL and EVENT_ARCH_SYSRET -* ltrace segfaults when killed with SIGTERM * BFD: + New executable formats + Read list of libraries needed @@ -18,6 +18,6 @@ int xinfdump(long, void *, int); # if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L # define DEBUG_FUNCTION __func__ # else -# define DEBUG_FUNCTION ((__const char *) 0) +# define DEBUG_FUNCTION "???" # endif # endif @@ -195,6 +195,8 @@ guess_cols(void) { } } else if (ioctl(1, TIOCGWINSZ, &ws) != -1 && ws.ws_col > 0) { options.align = ws.ws_col * 5 / 8; + } else if (ioctl(2, TIOCGWINSZ, &ws) != -1 && ws.ws_col > 0) { + options.align = ws.ws_col * 5 / 8; } } |