config/debug/gdb.in.gdbserver
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 17:54:21 2011 +0200 (2011-07-17)
changeset 2888 dd71df95903a
parent 1849 73f76483a389
child 2986 c301df1af7cb
permissions -rw-r--r--
cc/gcc: pass the companion libs prefix to cc_core

In case of canadian-cross, the companion libraries are not the same for
the core cc (they run on 'build') as they are for the final cc (they run
on 'host').

Prepare for this differentiation (coming later), while retaining the
current behavior (to use the same compblibs).

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