config/libc/none.in
author Titus von Boxberg <titus@v9g.de>
Sat Aug 21 16:46:24 2010 +0200 (2010-08-21)
changeset 2090 e3771cd6e420
child 2444 896cb0d36c1a
permissions -rw-r--r--
libc/glibc: repair debugging with gdb (glibc 2.9)

Without this patch, crosstool-ng-built glibc-2.9 prevents
debugging any exeutable with gdb.
gdb says:
[Thread debugging using libthread_db enabled]
find_new_threads_callback: cannot get thread info: generic error
See also https://bugzilla.redhat.com/show_bug.cgi?id=487212
for a discussion of the bug and the solution.
yann@1591
     1
# Dummy config file to not use a C library *at all*
yann@1591
     2
# depends on BARE_METAL
yann@1591
     3
yann@1591
     4
config LIBC_none
yann@1591
     5
    help
yann@1591
     6
      Do not use a C library.
yann@1591
     7
      
yann@1591
     8
      This is usefull if your project is self-contained, does not rely on
yann@1591
     9
      an external C library, and provides all the necessary bits.
yann@1591
    10
      
yann@1591
    11
      Most probably usefull to bootloaders, as they generally don't depend
yann@1591
    12
      on the C library.
yann@1591
    13
      
yann@1591
    14
      If unsure: do *not* choose that, and use another option in the choice.