summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-10-18 19:53:50 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-10-18 19:53:50 +0000
commitc12144b3b9cb5eab023fc39f6d29a9aabbd3f639 (patch)
treecc23f978626e8aeb624d2c27b4158be0e2d0529b /Completion
parenta252b6110d84fd64d72be435b9370e0f241a1128 (diff)
downloadzsh-c12144b3b9cb5eab023fc39f6d29a9aabbd3f639.tar.gz
zsh-c12144b3b9cb5eab023fc39f6d29a9aabbd3f639.tar.xz
zsh-c12144b3b9cb5eab023fc39f6d29a9aabbd3f639.zip
Mikael: 27312: valgrind option changes
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Linux/Command/_valgrind8
1 files changed, 7 insertions, 1 deletions
diff --git a/Completion/Linux/Command/_valgrind b/Completion/Linux/Command/_valgrind
index 3da65e99a..34d2f774a 100644
--- a/Completion/Linux/Command/_valgrind
+++ b/Completion/Linux/Command/_valgrind
@@ -20,6 +20,10 @@ common=(
   '--alignment=-[set minimum alignment of allocations]:number'
 )
 
+common_read_varinfo=(
+  '--read-var-info=-[read DWARF3 debug info]:enable:(yes no)'
+)
+
 common_mem_null=(
   '--xml=-[output everything in XML]:enable:(yes no)'
   '--xml-user-comment=-[copy specified string verbatim to XML output]:string'
@@ -31,13 +35,14 @@ args_addrcheck=(
   '--partial-loads-ok=-:enable:(yes no)'
   '--freelist-vol=-[volume of freed blocks queue]:blocks'
   '--leak-check=-[search for memory leaks at exit]:enable:(yes no)'
-  '--leak-resolution=-[how much bt merging in leak check]:(low med high)'
+  '--leak-resolution=-[how much bt merging in leak check]:level:(low med high)'
   '--show-reachable=-[show reachable blocks in leak check]:enable:(yes no)'
   '--workaround-gcc296-bugs=-:enable:(yes no)'
 )
 
 args_memcheck=(
   $args_addrcheck
+  $common_read_varinfo
 )
 
 args_cachegrind=(
@@ -48,6 +53,7 @@ args_cachegrind=(
 
 args_helgrind=(
   $common
+  $common_read_varinfo
   '--private-stacks=-[assume thread stacks are used privately]:enable:(yes no)'
   '--show-last-access=-[show location of last word access on error]:locations:(no some all)'
 )