config/debug/gdb.in.gdbserver
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 1849 73f76483a389
child 2986 c301df1af7cb
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>
yann@1849
     1
# Menu for the native gdbserver
yann@622
     2
yann@583
     3
config GDB_GDBSERVER
yann@583
     4
    bool
yann@583
     5
    prompt "gdbserver"
yann@850
     6
    depends on ! BARE_METAL
yann@583
     7
    help
yann@583
     8
      Build and install a gdbserver for the target, to run on the target.
yann@583
     9
yann@1849
    10
if GDB_GDBSERVER
yann@1849
    11
yann@583
    12
config GDB_GDBSERVER_STATIC
yann@175
    13
    bool
yann@175
    14
    prompt "Build a static gdbserver"
yann@622
    15
    default y
yann@175
    16
    help
yann@175
    17
      In case you have trouble with dynamic loading of shared libraries,
yann@175
    18
      you will find that a static gdbserver comes in handy.
yann@175
    19
yann@1849
    20
endif # GDB_GDBSERVER
yann@1849
    21
yann@1269
    22
if BARE_METAL
yann@1269
    23
comment "In bare-metal, you'll need to   "
yann@1269
    24
comment "provide your own gdbserver stub."
yann@1269
    25
endif # BARE_METAL