aboutsummaryrefslogtreecommitdiff
path: root/options.c
AgeCommit message (Collapse)Author
2012-04-19The first crude version of tracing across librariesPetr Machata
- the patch will be sliced later
2010-12-10Fix building with --enable-debugZachary T Welch
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>
2010-11-28Cleanup and documentation.Joe Damato
- 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
2010-11-28Keep a count of the number of -x options passed on the command line.Joe Damato
2010-11-28Add -w/--where to show backtraces of traced functions.Joe Damato
- 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!
2010-11-28Add -b, --no-signals to silence signal print outs.Joe Damato
2010-11-28Merge -g option which avoids tracing libraries linked at compile time.Joe Damato
2009-07-25Finally got rid of GNU's Autoconf stuffJuan Cespedes
2009-07-23Clarified debug levels (try --debug=help)Juan Cespedes
2009-07-03Some minor fixesJuan Cespedes
2009-06-25Re-organize file namesJuan Cespedes
2009-05-28Created library "libltrace.a" and a simple program that calls itJuan Cespedes
2009-05-14better debugging support (-d option)Juan Cespedes
2009-05-06almost there...Juan Cespedes
2009-04-07More fields to struct "options", same output with or without -oJuan Cespedes
(opt_s, opt_f)
2009-04-07More fields to struct "options"Juan Cespedes
(opt_c, opt_d, opt_A)
2009-04-07Documentation, small fixesJuan Cespedes
2009-04-07Year of copyright change (2008 -> 2009)Juan Cespedes
2008-12-16More fields to struct "options"Juan Cespedes
Substituted opt_* with options.indent, options.output
2008-12-16Added global struct "options"Juan Cespedes
Substituted opt_* with options.align, options.user, options.syscalls, options.libcalls, options.demangle
2008-12-16Re-indent entry points to functionsJuan Cespedes
2008-12-10Updated year in copyright (2007 -> 2008)Juan Cespedes
2007-08-31Some random fixesJuan Cespedes
* 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
2006-10-12options.c: fix up typo for config fileOlaf Hering
2006-08-07array argumentsSteve Fink
2006-07-18options.c: don't hardcode version numberPetr Machata
2006-07-17add -F option to read in config filesSteve Fink
2006-04-24Use e_entry if "_start" can't be found on architectures where it is neededPaul Gilliam
2006-03-13fix the -x processing to get rid of bad waring.Paul Gilliam
2006-02-20run Lindent over source to get everything looking about the sameIan Wienand
2006-02-20Switched to SVN (initial import)Ian Wienand
2006-02-17Version 0.3.38-1Ian Wienand
* 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
2006-02-16Some fixes...Ian Wienand
* read_config_file.c: initialise pt stack argument to stop warning * summary.c: make show_summary() obey -C for demangaling function names
2004-11-10Version: 0.3.36Juan Cespedes
* Fixed "--indent" option * Got rid of Debian and RedHat specific parts in tarball
2004-06-14Version 0.3.33Juan Cespedes
* 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
2004-04-04Version 0.3.32Juan Cespedes
* 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
2003-02-03Version 0.3.30Juan Cespedes
* 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)
2003-02-01Version 0.3.29Juan Cespedes
* 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
2003-01-31Version 0.3.28Juan Cespedes
* Fixed memory corruption when using execve() in a traced program (closes: Bug#160341, Bug#165626)
2003-01-31Version 0.3.27Juan Cespedes
* 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
2002-03-31Version 0.3.26Juan Cespedes
* Fixed `ltrace -L' in powerpc
2002-03-31Version 0.3.25Juan Cespedes
* Finally added powerpc support (Anton Blanchard <anton@samba.org>)
2002-03-27Version 0.3.24Juan Cespedes
* 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>)
2002-03-03Version 0.3.20Juan Cespedes
* 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>)
2002-03-01Version: 0.3.18Juan Cespedes
* 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...)
2001-07-07Version: 0.3.14Juan Cespedes
* 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)
2001-07-03Version: 0.3.12Juan Cespedes
* 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)
2001-07-02Version: 0.3.11Juan Cespedes
* 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)
1999-08-30Version: 0.3.8Juan Cespedes
* 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)
1999-04-03Version: 0.3.7Juan Cespedes
* 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