yann@1849: # Menu for the cross GDB yann@96: yann@2209: config STATIC_TOOLCHAIN yann@2209: select GDB_CROSS_STATIC if GDB_CROSS yann@2209: yann@96: config GDB_CROSS yann@96: bool yann@96: prompt "Cross-gdb" yann@96: default y yann@850: select GDB_GDBSERVER if ! BARE_METAL yann@96: help yann@583: Build and install a cross-gdb for the target, to run on host. yann@96: yann@1849: if GDB_CROSS yann@1849: yann@1915: config GDB_CROSS_STATIC yann@1915: bool yann@1915: prompt "Build a static cross gdb" yann@2717: select WANTS_STATIC_LINK yann@1915: help yann@1915: A static cross gdb can be usefull if you debug on a machine that is yann@1915: not the one that is used to compile the toolchain. yann@1915: yann@1915: That way, you can share the cross-gdb without installing a toolchain yann@1915: on every machine that will be used to debug target programs. yann@1915: zhenqiang@2856: config GDB_CROSS_SIM zhenqiang@2856: bool zhenqiang@2856: prompt "Enable 'sim'" zhenqiang@2856: depends on EXPERIMENTAL zhenqiang@2856: help zhenqiang@2856: Say 'y' here if you want to build the 'sim' emulator. zhenqiang@2856: You probably don't want it, unless you are building for bare-metal. zhenqiang@2856: The default is 'n'. zhenqiang@2856: yann@2703: config GDB_CROSS_PYTHON yann@2703: bool yann@2703: prompt "Enable python scripting" yann@2703: depends on ! GDB_CROSS_STATIC yann@2703: default y yann@2703: help yann@2703: Say 'y' if you want to use Python scripting inside gdb. yann@2703: Say 'n' if you do not want to. yann@2703: yann@2703: Beware that enabling Python scripting could render the gdb yann@2703: executable non-functional if you move it to another machine. yann@2703: Building a static gdb can help in this regard, although there yann@2703: have been reports of problems when linking gdb to the static yann@2703: libpython.a. This should be fixed in gdb >=7.3. YMMV. zhenqiang@2784: zhenqiang@2784: config GDB_CROSS_EXTRA_CONFIG_ARRAY zhenqiang@2784: string zhenqiang@2784: prompt "Cross-gdb extra config" zhenqiang@2784: default "" zhenqiang@2784: help zhenqiang@2784: Extra flags to pass onto ./configure when configuring the gdb cross. zhenqiang@2784: yann@1849: endif # GDB_CROSS