yann@1849: # Menu for the native gdbserver yann@622: yann@583: config GDB_GDBSERVER yann@583: bool yann@583: prompt "gdbserver" yann@850: depends on ! BARE_METAL yann@583: help yann@583: Build and install a gdbserver for the target, to run on the target. yann@583: yann@1849: if GDB_GDBSERVER yann@1849: yann@2986: config GDB_GDBSERVER_HAS_IPA_LIB yann@2986: bool yann@2986: depends on GDB_7_2_or_later yann@2986: default y yann@2986: yann@583: config GDB_GDBSERVER_STATIC yann@175: bool yann@175: prompt "Build a static gdbserver" yann@622: default y yann@175: help yann@175: In case you have trouble with dynamic loading of shared libraries, yann@175: you will find that a static gdbserver comes in handy. yann@175: yann@2986: config GDB_GDBSERVER_BUILD_IPA_LIB yann@2986: bool yann@2986: prompt "Build the IPA library" yann@2986: depends on GDB_GDBSERVER_HAS_IPA_LIB && !GDB_GDBSERVER_STATIC yann@2986: help yann@2986: gdbserver >= 7.2 comes with an optional library to use tracepoints, yann@2986: the In Process Agent (IPA) library, libinproctrace.so. yann@2986: yann@2986: Say 'y' if you indend to use tracepoints when debugging your yann@2986: programs with gdbserver. yann@2986: yann@2986: Note: Currently, building this library is not possible when the yann@2986: gdbserver is built statically. This is a limitation in yann@2986: crosstool-NG, so do not bug upstream about it... yann@2986: yann@1849: endif # GDB_GDBSERVER yann@1849: yann@1269: if BARE_METAL yann@1269: comment "In bare-metal, you'll need to " yann@1269: comment "provide your own gdbserver stub." yann@1269: endif # BARE_METAL