From 622d3e7f1d222cd97422ebea6f176714a3305579 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Fri, 29 Jun 2007 08:51:57 +0000 Subject: 23611: new completions for ldd and LD_DEBUG on Solaris and Linux --- Completion/Unix/Type/_ld_debug | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Completion/Unix/Type/_ld_debug (limited to 'Completion/Unix/Type/_ld_debug') diff --git a/Completion/Unix/Type/_ld_debug b/Completion/Unix/Type/_ld_debug new file mode 100644 index 000000000..94593eff0 --- /dev/null +++ b/Completion/Unix/Type/_ld_debug @@ -0,0 +1,39 @@ +#compdef -value-,LD_DEBUG,-default- + +local vals + +vals=( + 'libs[display library search paths]' + 'files[show processing of files and libraries]' + 'bindings[display symbol binding]' + 'reloc[display relocation processing]' + 'symbols[display symbol table processing]' + 'unused[show unused files]' + 'versions[show version processing]' + 'help[display help message]' +) + +case $OSTYPE in + solaris*) + vals+=( + 'basic[provide basic trace information/warnings]' + 'cap[display hardware/software capability processing]' + 'detail[provide more info in conjunction with other options]' + 'demangle[display C++ symbol names in their demangled form]' + 'init[display init and fini processing]' + 'long[display long object names without truncation]' + 'move[display move section processing]' + 'segments[display available output segments and address/offset processing]' + 'strtab[display information about string table compression]' + 'tls[display TLS processing info]' + ) + ;; + linux*) + vals+=( + 'all[combine all options]' + 'statistics[display relocation statistics]' + ) + ;; +esac +_values -s , capability $vals + -- cgit 1.4.1