config/debug/gdb.in.gdbserver
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Aug 31 11:00:35 2011 +0200 (2011-08-31)
changeset 2669 0e00e4fda2ea
parent 1849 73f76483a389
child 2986 c301df1af7cb
permissions -rw-r--r--
libc/uClibc: add patch to fix fork in threads with ARM EABI

uClibc-0.9.32 requires libgcc_eh.a (for ARM EABI), but only when libubacktrace
is enabled. As this is not the default, provide a workaround to disable linking
with libgcc_eh.a if libubacktrace is not selected.

This will however still break if uClibc is configured to enable libubacktrace,
but it requires a fix in gcc, and we can take care of that later.

Reported-by: Grant Edwards <grant.b.edwards@gmail.com>
Reported-by: Tor Krill <tor@codeknot.com>
Tested-by: Tor Krill <tor@codeknot.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@1849
     1
# Menu for the native gdbserver
yann@622
     2
yann@583
     3
config GDB_GDBSERVER
yann@583
     4
    bool
yann@583
     5
    prompt "gdbserver"
yann@850
     6
    depends on ! BARE_METAL
yann@583
     7
    help
yann@583
     8
      Build and install a gdbserver for the target, to run on the target.
yann@583
     9
yann@1849
    10
if GDB_GDBSERVER
yann@1849
    11
yann@583
    12
config GDB_GDBSERVER_STATIC
yann@175
    13
    bool
yann@175
    14
    prompt "Build a static gdbserver"
yann@622
    15
    default y
yann@175
    16
    help
yann@175
    17
      In case you have trouble with dynamic loading of shared libraries,
yann@175
    18
      you will find that a static gdbserver comes in handy.
yann@175
    19
yann@1849
    20
endif # GDB_GDBSERVER
yann@1849
    21
yann@1269
    22
if BARE_METAL
yann@1269
    23
comment "In bare-metal, you'll need to   "
yann@1269
    24
comment "provide your own gdbserver stub."
yann@1269
    25
endif # BARE_METAL