config/debug/gdb.in.native
author Jongsung Kim <neidhard.kim@lge.com>
Thu May 02 23:31:33 2013 +0000 (2013-05-02)
changeset 3209 33f265e3e79d
parent 2484 d1a8c2ae7946
permissions -rw-r--r--
cc/gcc: modify to build gcc-4.8-based cross-tools

Building cross-tool based on gcc-4.8 fails while "Installing
pass-2 core C compiler", because building libgcc.mvars needs
libbacktrace.a that gcc.sh doesn't build. This patch inserts
a few lines configuring, and making libbacktrace into gcc.sh
to build gcc-4.8-based cross-tools successfully.

Reported-by: Plotnikov Dmitry <leitz@ispras.ru>
Signed-off-by: Jongsung Kim <neidhard.kim@lge.com>
Message-Id: <201305031831.33395.neidhard.kim@lge.com>
Patchwork-Id: 241258
yann@1849
     1
# Menu for the native GDB
yann@821
     2
yann@583
     3
config GDB_NATIVE
yann@583
     4
    bool
yann@583
     5
    prompt "Native gdb"
yann@850
     6
    depends on ! BARE_METAL
yann@1844
     7
    depends on ! BACKEND
yann@583
     8
    help
yann@583
     9
      Build and install a native gdb for the target, to run on the target.
yann@583
    10
yann@1849
    11
if GDB_NATIVE
yann@1849
    12
yann@1850
    13
config GDB_NATIVE_STATIC
yann@1850
    14
    bool
yann@1850
    15
    prompt "Build a static native gdb"
yann@1850
    16
    help
yann@1850
    17
      In case you have trouble with dynamic loading of shared libraries,
yann@1850
    18
      you will find that a static gdb comes in handy.
yann@1850
    19
yann@1849
    20
endif # GDB_NATIVE