config/debug/gdb.in.gdbserver
author Samuel Martin <smartin@aldebaran-robotics.com>
Sat Apr 13 19:41:36 2013 +0200 (2013-04-13)
changeset 3206 7fe58a4f79f8
parent 2484 d1a8c2ae7946
permissions -rw-r--r--
complibs/ppl: only add -fpermissive flag to CXXFLAGS

-fpermissive is not a valid option to gcc.

Adding it to the CFLAGS make the ppl checks fail with the following
error:

[ALL ] Making check in tests
[ALL ] cc1: warnings being treated as errors
[ERROR] cc1: error: command line option "-fpermissive" is valid for C++/ObjC++ but not for C
[ALL ] cc1: warnings being treated as errors
[ERROR] cc1: error: command line option "-fpermissive" is valid for C++/ObjC++ but not for C
[ERROR] make[7]: *** [formatted_output.o] Error 1

Signed-off-by: "Samuel Martin" <smartin@aldebaran-robotics.com>
Message-Id: <bba2482a06a11415207e.1365876457@smartin-de-2.aldebaran.lan>
Patchwork-Id: 236383
     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_HAS_IPA_LIB
    13     bool
    14     depends on GDB_7_2_or_later
    15     default y
    16 
    17 config GDB_GDBSERVER_STATIC
    18     bool
    19     prompt "Build a static gdbserver"
    20     default y
    21     help
    22       In case you have trouble with dynamic loading of shared libraries,
    23       you will find that a static gdbserver comes in handy.
    24 
    25 config GDB_GDBSERVER_BUILD_IPA_LIB
    26     bool
    27     prompt "Build the IPA library"
    28     depends on GDB_GDBSERVER_HAS_IPA_LIB && !GDB_GDBSERVER_STATIC
    29     help
    30       gdbserver >= 7.2 comes with an optional library to use tracepoints,
    31       the In Process Agent (IPA) library, libinproctrace.so.
    32       
    33       Say 'y' if you indend to use tracepoints when debugging your
    34       programs with gdbserver.
    35       
    36       Note: Currently, building this library is not possible when the
    37             gdbserver is built statically. This is a limitation in
    38             crosstool-NG, so do not bug upstream about it...
    39 
    40 endif # GDB_GDBSERVER
    41 
    42 if BARE_METAL
    43 comment "In bare-metal, you'll need to   "
    44 comment "provide your own gdbserver stub."
    45 endif # BARE_METAL