config/debug/gdb.in.gdbserver
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 15:48:27 2011 +0200 (2011-07-17)
changeset 2886 f1ad0445325c
parent 1849 73f76483a389
child 2986 c301df1af7cb
permissions -rw-r--r--
cc/gcc: simplify calls to core backend

The core backend is going to have more parameters in the upcoming
patches, so it will be a bit complex to handle.

Introduce an array-variable that is filled by the different code-paths
with the required values.

This makes the code easier to read and maintain.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 # Menu for the native gdbserver
     2 
     3 config GDB_GDBSERVER
     4     bool
     5     prompt "gdbserver"
     6     depends on ! BARE_METAL
     7     help
     8       Build and install a gdbserver for the target, to run on the target.
     9 
    10 if GDB_GDBSERVER
    11 
    12 config GDB_GDBSERVER_STATIC
    13     bool
    14     prompt "Build a static gdbserver"
    15     default y
    16     help
    17       In case you have trouble with dynamic loading of shared libraries,
    18       you will find that a static gdbserver comes in handy.
    19 
    20 endif # GDB_GDBSERVER
    21 
    22 if BARE_METAL
    23 comment "In bare-metal, you'll need to   "
    24 comment "provide your own gdbserver stub."
    25 endif # BARE_METAL