config/debug/gdb.in.gdbserver
author Kévin PETIT <kpet@free.fr>
Sun Aug 28 20:12:26 2011 +0200 (2011-08-28)
changeset 2647 cb0f31fe2535
parent 1849 73f76483a389
child 2986 c301df1af7cb
permissions -rw-r--r--
libc/newlib: add a config option allowing to disable builtin syscalls

Allows to choose if one wants to keep or not the syscalls that are provided with
newlib. It passes the --disable-newlib-supplied-syscalls or
--enable-newlib-supplied-syscalls to the configure script. If one chooses to
disable the builtin syscalls, he/she will have to write his/her own. This can
be usefull to port newlib to a new platform/board.

Signed-off-by: Kévin PETIT <kpet@free.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