config/debug/gdb.in.gdbserver
author Darcy Watkins <dwatkins@tranzeo.com>
Thu Aug 05 18:19:07 2010 +0200 (2010-08-05)
branch1.8
changeset 2073 a3b7a63dce01
parent 1844 4d6a56579d9d
child 2484 d1a8c2ae7946
permissions -rw-r--r--
cc/gcc: with static ppl, correctly link with libm

On some Fedora boxen (at least FC13), it is also required
to link with libm when static ppl is used.
(transplanted from bcd33fce4db9c18223b59ecdc96f10bf6dd574de)
     1 # Menu for the native gdbserver
     2 
     3 config GDB_GDBSERVER
     4     bool
     5     prompt "gdbserver"
     6     default n
     7     depends on ! BARE_METAL
     8     help
     9       Build and install a gdbserver for the target, to run on the target.
    10 
    11 if GDB_GDBSERVER
    12 
    13 config GDB_GDBSERVER_STATIC
    14     bool
    15     prompt "Build a static gdbserver"
    16     default y
    17     help
    18       In case you have trouble with dynamic loading of shared libraries,
    19       you will find that a static gdbserver comes in handy.
    20 
    21 endif # GDB_GDBSERVER
    22 
    23 if BARE_METAL
    24 comment "In bare-metal, you'll need to   "
    25 comment "provide your own gdbserver stub."
    26 endif # BARE_METAL