diff options
author | liljencrantz <liljencrantz@gmail.com> | 2007-10-29 04:47:22 +1000 |
---|---|---|
committer | liljencrantz <liljencrantz@gmail.com> | 2007-10-29 04:47:22 +1000 |
commit | 48d56371787c236de622f72d480bc3bd60713e67 (patch) | |
tree | de0a54cbfd2dddd965ae8145bbb3ba562390fc9d /share/completions/gdb.fish | |
parent | d724b160eaf7ed6d460fd6b9009356b34bfded47 (diff) |
Add command specific comlpetions for gdb
darcs-hash:20071028184722-75c98-a2822e20d772dde73ef13a6ce7ca56339b13864f.gz
Diffstat (limited to 'share/completions/gdb.fish')
-rw-r--r-- | share/completions/gdb.fish | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/share/completions/gdb.fish b/share/completions/gdb.fish new file mode 100644 index 00000000..c496b672 --- /dev/null +++ b/share/completions/gdb.fish @@ -0,0 +1,24 @@ +# +# Command specific completions for the gdb command. +# These completions where generated from the commands +# man page by the make_completions.py script, but may +# have been hand edited since. +# + +complete -c gdb -o help -s h --description 'List all options, with brief explanations' +complete -c gdb -o symbols -s s --description 'Read symbol table from file file' -r +complete -c gdb -o write --description 'Enable writing into executable and core files' +complete -c gdb -o exec -s e --description 'Use file file as the executable file to execute when appropri ate, and for examining pure data in conjunction with a core dump' -r +complete -c gdb -o se --description 'Read symbol table from file file and use it as the executable file' -r +complete -c gdb -o core -s c --description 'Use file file as a core dump to examine' -r +complete -c gdb -o command -s x --description 'Execute GDB commands from file file' -r +complete -c gdb -o directory -s d --description 'Add directory to the path to search for source files' -x -a '(__fish_complete_directories (commandline -ct))' +complete -c gdb -o nx -s n --description 'Do not execute commands from any .gdbinit files' +complete -c gdb -o quiet -s q --description 'Quiet' +complete -c gdb -o batch --description 'Run in batch mode' +complete -c gdb -o cd --description 'Run GDB using directory as its working directory, instead of the current directory' -x -a '(__fish_complete_directories (commandline -ct))' +complete -c gdb -o fullname -s f --description 'Emacs sets this option when it runs GDB as a subprocess' +complete -c gdb -s b --description 'Bps Set the line speed (baud rate or bits per second) of any serial interface used by GDB for remote debugging' +complete -c gdb -o tty --description 'Run using device for your programs standard input and output' -r +complete -c gdb -l args --description 'Pass arguments after the program name to the program when it is run' +complete -c gdb -o tui --description 'Run GDB using a text (console) user interface' |