Add completion for crosstool-NG.
To be sourced by a bash-compatible shell startup script; ideally, to be installed in /etc/bash_completion.d/
/trunk/ct-ng.comp | 30 30 0 0 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
8 Enable gdb for the target
18 Build and install a cross-gdb for the target, to run on host.
20 config GDB_CROSS_STATIC
22 prompt "Build a static cross gdb"
26 A static cross gdb can be usefull if you debug on a machine that is
27 not the one that is used to compile the toolchain.
29 That way, you can share the cross-gdb without installing a toolchain
30 on every machine that will be used to debug target programs.
32 config GDB_CROSS_INSIGHT
34 prompt "Use Insight instead (EXPERIMENTAL)"
37 depends on EXPERIMENTAL
39 If you say 'Y' here, then Insight will be used to build the cross
40 debugger, instead of the plain gdb.
42 Insight is gdb plus a TCL/TK GUI: http://sourceware.org/insight/
49 Build and install a native gdb for the target, to run on the target.
51 config GDB_NATIVE_STATIC
53 prompt "Build a static native gdb"
57 In case you have trouble with dynamic loading of shared libraries,
58 you will find that a static gdb comes in handy.
60 config GDB_NATIVE_USE_GMP_MPFR
62 prompt "Use GMP and MPFR"
66 select GMP_MPFR_TARGET
68 gdb can make use of the GMP and MPFR libraries.
70 While the cross-gdb (above) can use the libraries compiled for the
71 host, the native gdb needs the libraries for the target (where it will
74 Setting this option will force building the GMP and MPFR libraries for
75 the target, and configure the native gdb to use them.
82 Build and install a gdbserver for the target, to run on the target.
84 config GDB_GDBSERVER_STATIC
86 prompt "Build a static gdbserver"
88 depends on GDB_GDBSERVER
90 In case you have trouble with dynamic loading of shared libraries,
91 you will find that a static gdbserver comes in handy.
96 depends on GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
100 prompt "snapshot (EXPERIMENTAL)"
101 depends on EXPERIMENTAL
102 depends on ! GDB_CROSS_INSIGHT
106 prompt "6.4 (OBSOLETE)"
111 prompt "6.5 (OBSOLETE)"
120 prompt "6.7 (EXPERIMENTAL)"
121 depends on EXPERIMENTAL
125 prompt "6.7.1 (EXPERIMENTAL)"
126 depends on EXPERIMENTAL
132 # CT_INSERT_VERSION_ABOVE
133 # Don't remove above line!
138 default "snapshot" if GDB_V_snapshot
139 default "6.4" if GDB_V_6_4
140 default "6.5" if GDB_V_6_5
141 default "6.6" if GDB_V_6_6
142 default "6.7" if GDB_V_6_7
143 default "6.7.1" if GDB_V_6_7_1
144 default "6.8" if GDB_V_6_8
145 # CT_INSERT_VERSION_STRING_ABOVE
146 # Don't remove above line!
150 comment "Native gdb needs the ncurses library on the target"
154 prompt "ncurses version"
162 config NCURSES_VERSION
164 default "5.6" if NCURSES_V_5_6
166 endif # GDB_NATIVE --> ncurses