mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-20 05:53:52 +01:00
(17021) Added _valgrind, completion function for Julian Seward's Linux-based memory checking tool.
This commit is contained in:
parent
2b00a61628
commit
bfc32be424
@ -1,3 +1,9 @@
|
|||||||
|
2002-05-20 Felix Rosencrantz <f_rosencrantz@yahoo.com>
|
||||||
|
|
||||||
|
* 17021: Completion/Unix/Command/.distfiles,
|
||||||
|
Completion/Unix/Command/_valgrind: Function for Julian Seward's
|
||||||
|
memory checking tool.
|
||||||
|
|
||||||
2002-05-20 Felix Rosencrantz <f_rosencrantz@yahoo.com>
|
2002-05-20 Felix Rosencrantz <f_rosencrantz@yahoo.com>
|
||||||
|
|
||||||
* 16836: Completion/Unix/Command/.distfiles,
|
* 16836: Completion/Unix/Command/.distfiles,
|
||||||
|
@ -17,5 +17,5 @@ _diff _gs _make _psutils _tin _apm _mail
|
|||||||
_last _loadkeys _modutils _ruby _sysctl _links _samba
|
_last _loadkeys _modutils _ruby _sysctl _links _samba
|
||||||
_user_admin _rsync _arping _spamassassin _mtools _ifconfig
|
_user_admin _rsync _arping _spamassassin _mtools _ifconfig
|
||||||
_fsh _chkconfig _cdcd _irssi _mysqldiff _sccs
|
_fsh _chkconfig _cdcd _irssi _mysqldiff _sccs
|
||||||
_netcat _larch
|
_netcat _larch _valgrind
|
||||||
'
|
'
|
||||||
|
48
Completion/Unix/Command/_valgrind
Normal file
48
Completion/Unix/Command/_valgrind
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
#compdef valgrind
|
||||||
|
#Generated by
|
||||||
|
# simple2long.xsl
|
||||||
|
# args.xsl
|
||||||
|
# Post-handedits
|
||||||
|
# For details see:
|
||||||
|
# http://www.geocities.com/f_rosencrantz/xml_completion.htm
|
||||||
|
|
||||||
|
local context state line
|
||||||
|
typeset -A opt_args
|
||||||
|
_arguments \
|
||||||
|
'--help[show this message]' \
|
||||||
|
'--version[show version]' \
|
||||||
|
'(--quiet)-q[run silently; only print error msgs]' \
|
||||||
|
'(-q)--quiet[run silently; only print error msgs]' \
|
||||||
|
'(--verbose)-v[be more verbose, incl counts of errors]' \
|
||||||
|
'(-v)--verbose[be more verbose, incl counts of errors]' \
|
||||||
|
'--gdb-attach=-:start GDB when errors detected? [no]:(no yes)' \
|
||||||
|
'--demangle=-:automatically demangle C++ names? [yes]:(no yes)' \
|
||||||
|
'--num-callers=-:show <num> callers in stack traces [4]:' \
|
||||||
|
'--partial-loads-ok=-:too hard to explain here; see manual [yes]:(no yes)' \
|
||||||
|
'--leak-check=-:search for memory leaks at exit? [no]:(no yes)' \
|
||||||
|
'--leak-resolution=-:amount of bt merging in leak check [low]:(low med high)' \
|
||||||
|
'--show-reachable=-:show reachable blocks in leak check? [no]:(no yes)' \
|
||||||
|
'--sloppy-malloc=-:round malloc sizes to next word? [no]:(no yes)' \
|
||||||
|
'--trace-children=-:Valgrind-ise child processes? [no]:(no yes)' \
|
||||||
|
'--logfile-fd=-:file descriptor for messages [2=stderr]:_file_descriptors' \
|
||||||
|
'--freelist-vol=-:volume of freed blocks queue [1000000]:' \
|
||||||
|
'--workaround-gcc296-bugs=-:self explanatory [no]:(no yes)' \
|
||||||
|
'--suppressions=-:suppress errors described in suppressions file <filename>:_files' \
|
||||||
|
'--client-perms=-:handle client VG_MAKE_* requests? [no]:(no yes)' \
|
||||||
|
"--check-addrVs=-:experimental lighterweight checking? [yes] yes == Valgrind's original behaviour:(no yes)" \
|
||||||
|
'--sanity-level=-:level of sanity checking to do [1]:' \
|
||||||
|
'--single-step=-:translate each instr separately? [no]:(no yes)' \
|
||||||
|
'--optimise=-:improve intermediate code? [yes]:(no yes)' \
|
||||||
|
'--instrument=-:actually do memory checks? [yes]:(no yes)' \
|
||||||
|
'--cleanup=-:improve after instrumentation? [yes]:(no yes)' \
|
||||||
|
'--trace-syscalls=-:show all system calls? [no]:(no yes)' \
|
||||||
|
'--trace-signals=-:show signal handling details? [no]:(no yes)' \
|
||||||
|
'--trace-symtab=-:show symbol table details? [no]:(no yes)' \
|
||||||
|
'--trace-malloc=-:show client malloc details? [no]:(no yes)' \
|
||||||
|
'--trace-sched=-:show thread scheduler details? [no]:(no yes)' \
|
||||||
|
'--trace-pthread=-:show pthread event details? [no]:(no yes)' \
|
||||||
|
'--stop-after=-:switch to real CPU after executing <number> basic blocks [infinity]:' \
|
||||||
|
"--dump-error=-:show translation for basic block associated with <number>'th error context [0=don't show any]:" \
|
||||||
|
'1:Command name:_command_names -e' \
|
||||||
|
'*::Args :_normal' \
|
||||||
|
&& return 0
|
Loading…
Reference in New Issue
Block a user