aboutsummaryrefslogtreecommitdiff
path: root/display_args.c
AgeCommit message (Collapse)Author
2012-04-19Move process-related functions and structures to proc.hPetr Machata
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>
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-04-28struct process -> ProcessJuan 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)
2008-12-16More fields to struct "options"Juan Cespedes
Substituted opt_* with options.indent, options.output
2008-12-16Re-indent entry points to functionsJuan Cespedes
2008-03-12PPC argument handling improvementsLuis Machado
* sysdeps/linux-gnu/ppc/trace.c (arch_umovelong): New function. * sysdeps/linux-gnu/ppc/regs.c (get_instruction): New function. (get_count_register): New function. * sysdeps/linux-gnu/ppc/arch.h (ARCH_HAVE_UMOVELONG): New define. * sysdeps/linux-gnu/trace.c (umovelong): Create arch-specific variant. * ltrace.h (umovelong): Change prototype. * process_event.c (process_breakpoint): Handle specifics of ppc3 * display_args.c: Call umovelong with info parameter.
2007-09-04Take arg_num out of arg_type_infoJuan 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-09-25Large IA64 fix...Steve Fink
* display_args.c: store arg_num in arg_type_info * display_args.c: support 'double' parameters * display_args.c: fix implementation of float,double params for ia64 * output.c, process_event.c: store arg_num in arg_type_info * read_config_file.c: support 'double' parameters * read_config_file.c: store arg_num in arg_type_info, and as a result, stop using singleton objects for any of the arg_type_info's. * read_config_file.c: improve support for struct field alignments * read_config_file.c: count floating-point parameters to support ia64 float parameter passing * sysdeps/README, sysdeps/linux-gnu/*/trace.c: pass in the full arg_type_info to gimme_arg rather than just the arg_num (necessary for float params on some architectures) * sysdeps/linux-gnu/ia64/trace.c: accommodate register renaming when fetching the parameters of a function after it has returned * sysdeps/linux-gnu/ia64/trace.c: support floating point parameters
2006-08-07Add pointers to structsSteve Fink
* Allow parameters to be pointers to structs, which themselves can contain (nearly) any other type, including other structs or pointers to structs.
2006-08-07array argumentsSteve Fink
2006-08-07short, ushort and float typesSteve Fink
2006-08-07implement enumerated parametersSteve Fink
2006-08-07pass values instead of argument numbers to fetchSteve Fink
2006-08-07implement ignored argumentsSteve Fink
2006-08-07implement string[argN] and string[N] parameter descriptorsSteve Fink
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-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
2006-02-16update to handle variable length strings argumentsRichard Kettlewell
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
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...)
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
1998-09-25Version: 0.3.6Juan Cespedes
* Added m68k port (Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>) (Bug#27075) * Changed "int pid" with "pid_t pid" everywhere * Fixed return type of some functions from "int" to "void *" (thanks, Roman)
1998-09-06Version: 0.3.3Juan Cespedes
* Fixed a little bug in display_string * A few more functions added to /etc/ltrace.conf
1998-04-25Version: 0.3.0Juan Cespedes
* Preliminary autoconf support * Switched to getopt() * New option: -C (demangle C++ names) * New options: --help, --version * Display "format" (printf-like) argument types * Updated manual page * New option: -e
1998-03-13Version 0.2.5Juan Cespedes
* After a successful execve(), library calls are now logged * Enhanced displaying of non-printable chars * Added some functions to /etc/ltrace.conf
1998-03-11Version 0.2.3Juan Cespedes
* Don't display `...' in strings when limit of bytes is reached * Added some functions to /etc/ltrace.conf
1998-03-08Version 0.2.0Juan Cespedes
* 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)