aboutsummaryrefslogtreecommitdiff
path: root/defs.h
diff options
context:
space:
mode:
authorJuan Cespedes <cespedes@debian.org>1998-03-08 22:31:44 +0100
committerJuan Cespedes <cespedes@debian.org>1998-03-08 22:31:44 +0100
commit5e01f654d83a95f2acffa86df57a4c2db9b0cae9 (patch)
tree52440efff51fc1473c436939f4505225ee7edaeb /defs.h
parentc40e64afa6a897bb7eb6fd4dc21f622632ae215a (diff)
downloadltrace-5e01f654d83a95f2acffa86df57a4c2db9b0cae9.tar.gz
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)
Diffstat (limited to 'defs.h')
-rw-r--r--defs.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/defs.h b/defs.h
new file mode 100644
index 0000000..85986f3
--- /dev/null
+++ b/defs.h
@@ -0,0 +1,13 @@
+
+#ifndef DEFAULT_ACOLUMN
+#define DEFAULT_ACOLUMN 50 /* default alignment column for results */
+#endif /* (-a switch) */
+
+#ifndef MAX_ARGS
+#define MAX_ARGS 32 /* maximum number of args to a syscall */
+#endif
+
+#ifndef DEFAULT_STRLEN
+#define DEFAULT_STRLEN 32 /* default maximum # of bytes printed in */
+#endif /* strings (-s switch) */
+