config/debug/gdb.in.gdbserver
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Oct 11 22:21:48 2011 +0200 (2011-10-11)
branch1.12
changeset 2711 c5c8fd92fde9
parent 1849 73f76483a389
child 2986 c301df1af7cb
permissions -rw-r--r--
libc/glibc: run ./configure in CONFIG_SHELL

Tremendously helps when running on at least Ubuntu, with dash as
the system shell (ie. /bin/sh points to dash).

Reported by a few people, of which:
leming, ccct and ccole on IRC

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 30c89d1f74a4fee73517b4ed67e843be6885447e)
     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