config/debug/gdb.in.native
author Michael Hope <michael.hope@linaro.org>
Tue Nov 13 15:06:18 2012 +0000 (2012-11-13)
changeset 3111 a9130ff13b19
parent 2484 d1a8c2ae7946
permissions -rw-r--r--
scripts: set default CFLAGS to optimise.

The extra CFLAGS override the product defaults, causing the product to
be built without optimisation or debug. Be explicit and add these in.

Reported-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: Michael Hope <michael.hope@linaro.org>
Message-Id: <CANLjY-=3Gbio6nzUPhhevDHV7cUN=6Vigooe9nSf-RnGCqnjog@mail.gmail.com>
Patchwork-Id: 198808
     1 # Menu for the native GDB
     2 
     3 config GDB_NATIVE
     4     bool
     5     prompt "Native gdb"
     6     depends on ! BARE_METAL
     7     depends on ! BACKEND
     8     help
     9       Build and install a native gdb for the target, to run on the target.
    10 
    11 if GDB_NATIVE
    12 
    13 config GDB_NATIVE_STATIC
    14     bool
    15     prompt "Build a static native gdb"
    16     help
    17       In case you have trouble with dynamic loading of shared libraries,
    18       you will find that a static gdb comes in handy.
    19 
    20 endif # GDB_NATIVE