config/debug/gdb.in.native
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Aug 15 21:42:28 2011 +0200 (2011-08-15)
changeset 2932 c1f65d6a9a13
parent 2484 d1a8c2ae7946
permissions -rw-r--r--
cc/gcc: add language helper function

Add a function that prepares the language configure option.
It is needed in at least two places, some commonalisation is needed. ;-)

Unfortunately, it is no longer possible to print warnings about experimental
languages any more. Anyway, the experimental status is clearly indicated
in the menuconfig. so it should not be a surprise if the build breaks. :-/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 # Menu for the native GDB
     2 
     3 config GDB_NATIVE
     4     bool
     5     prompt "Native gdb"
     6     depends on ! BARE_METAL
     7     depends on ! BACKEND
     8     help
     9       Build and install a native gdb for the target, to run on the target.
    10 
    11 if GDB_NATIVE
    12 
    13 config GDB_NATIVE_STATIC
    14     bool
    15     prompt "Build a static native gdb"
    16     help
    17       In case you have trouble with dynamic loading of shared libraries,
    18       you will find that a static gdb comes in handy.
    19 
    20 endif # GDB_NATIVE