config/debug/gdb.in.native
author Johannes Stezenbach <js@sig21.net>
Sun Oct 14 23:46:15 2012 +0000 (2012-10-14)
changeset 3082 39ec9e913d79
parent 2484 d1a8c2ae7946
permissions -rw-r--r--
scripts: move backtrace marker to CT_WORK_DIR

Avoid error when commands in scripts/crosstool-NG.sh fail
before CT_BUILD_DIR is set.

So we need to remove the backtrace marker of a potential previous
build. Previously, it was implicitly removed because we did remove
the directory it was in, which is no longer the case.

Signed-off-by: Johannes Stezenbach <js@sig21.net>
[yann.morin.1998@free.fr: remove backtrace marker on start of build]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <20121015094615.GA18673@sig21.net>
Patchwork-Id: 191498
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